Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.00123, allocations: 104 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.1 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 192.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5423/0.5423, allocations: 91.9 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 80.75 kB / 0.5734 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1378, allocations: 71.28 MB / 0.6431 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01326/0.1511, allocations: 13.63 MB / 0.6564 GB, free: 5.852 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.1614, allocations: 3.476 MB / 0.6598 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003143/0.1646, allocations: 31.94 kB / 0.6598 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1662, allocations: 0.5537 MB / 0.6603 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.1708, allocations: 1.41 MB / 0.6617 GB, free: 364 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.1744, allocations: 1.509 MB / 0.6632 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005381/0.1798, allocations: 3.725 MB / 0.6668 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.1811, allocations: 0.8934 MB / 0.6677 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.1837, allocations: 1.529 MB / 0.6692 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.1861, allocations: 1.952 MB / 0.6711 GB, free: 6.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004477/0.1866, allocations: 284 kB / 0.6714 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.1875, allocations: 431.9 kB / 0.6718 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006348/0.1881, allocations: 0.7624 MB / 0.6725 GB, free: 5.223 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.1897, allocations: 1.635 MB / 0.6741 GB, free: 3.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0045/0.1942, allocations: 3.974 MB / 0.678 GB, free: 15.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1942, allocations: 0 / 0.678 GB, free: 15.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1942, allocations: 0 / 0.678 GB, free: 15.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.1944, allocations: 0 / 0.678 GB, free: 15.59 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02343/0.2178, allocations: 6.571 MB / 0.6844 GB, free: 8.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2179, allocations: 8.031 kB / 0.6844 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.2327, allocations: 2.275 MB / 0.6866 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/0.2372, allocations: 1.874 MB / 0.6885 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007324/0.2379, allocations: 0.7213 MB / 0.6892 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/0.2385, allocations: 216 kB / 0.6894 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006174/0.2446, allocations: 3.035 MB / 0.6923 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.2447, allocations: 0 / 0.6923 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.2449, allocations: 87.94 kB / 0.6924 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.245, allocations: 52 kB / 0.6925 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005593/0.2506, allocations: 2.784 MB / 0.6952 GB, free: 13.59 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/0.2687, allocations: 9.805 MB / 0.7048 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.2792, allocations: 4.184 MB / 0.7089 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004131/0.2834, allocations: 1.956 MB / 0.7108 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.2837, allocations: 41.97 kB / 0.7108 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004645/0.2883, allocations: 2.236 MB / 0.713 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 4.649e-06/0.2883, allocations: 0 / 0.713 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=247): time 0.1244/0.4127, allocations: 29.45 MB / 0.7418 GB, free: 13.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.4129, allocations: 192.2 kB / 0.7419 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.4167, allocations: 2.277 MB / 0.7442 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008583/0.4176, allocations: 73.64 kB / 0.7442 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009968/0.4186, allocations: 1.179 MB / 0.7454 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.42, allocations: 0.8665 MB / 0.7462 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.4211, allocations: 0.5539 MB / 0.7468 GB, free: 7.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4213, allocations: 305.1 kB / 0.7471 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004055/0.4253, allocations: 1.947 MB / 0.749 GB, free: 5.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/0.4297, allocations: 2.306 MB / 0.7512 GB, free: 3.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05452/0.4842, allocations: 14 MB / 0.7649 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.4843, allocations: 0 / 0.7649 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.442/0.9264, allocations: 12.28 MB / 0.7769 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.9265, allocations: 120.6 kB / 0.777 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.9266, allocations: 6.75 kB / 0.777 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/0.9456, allocations: 5.319 MB / 0.7822 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/0.949, allocations: 0.5653 MB / 0.7828 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05342/1.002, allocations: 23.47 MB / 0.8057 GB, free: 98.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/1.007, allocations: 484 kB / 0.8061 GB, free: 98.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/1.008, allocations: 123.9 kB / 0.8062 GB, free: 98 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001275/1.009, allocations: 0.539 MB / 0.8068 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/1.01, allocations: 298.7 kB / 0.8071 GB, free: 97.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.036/1.046, allocations: 11.9 MB / 0.8187 GB, free: 85.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.046, allocations: 24 kB / 0.8187 GB, free: 85.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/1.046, allocations: 24 kB / 0.8187 GB, free: 85.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.555e-05/1.046, allocations: 11.95 kB / 0.8187 GB, free: 85.18 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04046/1.086, allocations: 15.49 MB / 0.8339 GB, free: 69.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.086, allocations: 0.5625 kB / 0.8339 GB, free: 69.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.088, allocations: 243.7 kB / 0.8341 GB, free: 69.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/1.104, allocations: 5.28 MB / 0.8393 GB, free: 64.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007008/1.105, allocations: 51.98 kB / 0.8393 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0514/1.156, allocations: 24.94 MB / 0.8637 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.156, allocations: 0 / 0.8637 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0408/1.197, allocations: 14.26 MB / 0.8776 GB, free: 24.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009187/1.198, allocations: 412.8 kB / 0.878 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/1.198, allocations: 44 kB / 0.878 GB, free: 23.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/1.201, allocations: 299.6 kB / 0.8783 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001979/1.203, allocations: 0.5841 MB / 0.8789 GB, free: 23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.203, allocations: 71.98 kB / 0.8789 GB, free: 22.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001873/1.205, allocations: 1.503 MB / 0.8804 GB, free: 21.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/1.205, allocations: 0 / 0.8804 GB, free: 21.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003146/1.209, allocations: 1.179 MB / 0.8816 GB, free: 20.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004003/1.209, allocations: 174.6 kB / 0.8817 GB, free: 20.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.225, allocations: 6.692 MB / 0.8883 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.225, allocations: 4.062 kB / 0.8883 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.237, allocations: 4.391 MB / 0.8926 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.24, allocations: 260.2 kB / 0.8928 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.251, allocations: 5.33 MB / 0.898 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.252, allocations: 1.81 MB / 0.8998 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.253, allocations: 187.4 kB / 0.9 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.253, allocations: 0 / 0.9 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of Templates: time 0.09065/1.344, allocations: 64.08 MB / 0.9625 GB, free: 1.113 MB / 0.6231 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)