Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 111.2 kB / 15.99 MB, free: 6.344 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.474/1.474, allocations: 222.9 MB / 239.6 MB, free: 4.73 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.001818/0.001818, allocations: 188.5 kB / 289.9 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5475/0.5475, allocations: 92.62 MB / 432.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 91.84 kB / 0.5029 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4282, allocations: 71.38 MB / 0.5726 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01068/0.4389, allocations: 14.61 MB / 0.5868 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007668/0.4466, allocations: 3.634 MB / 0.5904 GB, free: 23.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.4498, allocations: 31.16 kB / 0.5904 GB, free: 23.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.4517, allocations: 438.6 kB / 0.5908 GB, free: 23.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.457, allocations: 1.238 MB / 0.592 GB, free: 22.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.4606, allocations: 1.418 MB / 0.5934 GB, free: 22.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.466, allocations: 3.759 MB / 0.5971 GB, free: 20.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.4674, allocations: 0.8988 MB / 0.598 GB, free: 19.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.4702, allocations: 1.557 MB / 0.5995 GB, free: 19.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.4731, allocations: 1.984 MB / 0.6014 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008338/0.4739, allocations: 295 kB / 0.6017 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.4753, allocations: 437.7 kB / 0.6021 GB, free: 18.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.4759, allocations: 0.7722 MB / 0.6029 GB, free: 17.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.4778, allocations: 1.672 MB / 0.6045 GB, free: 16.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.4821, allocations: 3.108 MB / 0.6076 GB, free: 15.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4821, allocations: 0.9375 kB / 0.6076 GB, free: 15.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4821, allocations: 0 / 0.6076 GB, free: 15.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001437/0.4823, allocations: 0 / 0.6076 GB, free: 15.14 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02616/0.5084, allocations: 6.654 MB / 0.6141 GB, free: 12.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5085, allocations: 12.69 kB / 0.6141 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.5243, allocations: 2.27 MB / 0.6163 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/0.5298, allocations: 1.893 MB / 0.6181 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007738/0.5306, allocations: 0.7264 MB / 0.6188 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000962/0.5316, allocations: 220.4 kB / 0.6191 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007166/0.5388, allocations: 3.049 MB / 0.622 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.5389, allocations: 1.281 kB / 0.622 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.5391, allocations: 89.31 kB / 0.6221 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.5392, allocations: 49.66 kB / 0.6222 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006216/0.5454, allocations: 2.798 MB / 0.6249 GB, free: 7.727 MB / 430.1 MB 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.01813/0.5636, allocations: 9.931 MB / 0.6346 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.5753, allocations: 4.203 MB / 0.6387 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004916/0.5803, allocations: 1.979 MB / 0.6406 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.5806, allocations: 45.89 kB / 0.6407 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00549/0.5861, allocations: 2.242 MB / 0.6429 GB, free: 5.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 6.472e-06/0.5862, allocations: 0 / 0.6429 GB, free: 5.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1203/0.7064, allocations: 27.42 MB / 0.6697 GB, free: 9.504 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.7066, allocations: 192.2 kB / 0.6698 GB, free: 9.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004183/0.7108, allocations: 2.305 MB / 0.6721 GB, free: 6.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009421/0.7118, allocations: 73.69 kB / 0.6722 GB, free: 6.875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.7129, allocations: 1.18 MB / 0.6733 GB, free: 5.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/0.7147, allocations: 0.8819 MB / 0.6742 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.716, allocations: 0.5697 MB / 0.6747 GB, free: 4.211 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7162, allocations: 301.1 kB / 0.675 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004627/0.7208, allocations: 1.974 MB / 0.6769 GB, free: 1.938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/0.7259, allocations: 2.342 MB / 0.6792 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05863/0.7846, allocations: 14.29 MB / 0.6932 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.7846, allocations: 0 / 0.6932 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04311/0.8277, allocations: 12.55 MB / 0.7054 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.8279, allocations: 114.8 kB / 0.7055 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.8279, allocations: 15.98 kB / 0.7056 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01815/0.8461, allocations: 5.253 MB / 0.7107 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/0.8497, allocations: 0.5812 MB / 0.7113 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0618/0.9115, allocations: 23.21 MB / 0.7339 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/0.9169, allocations: 493 kB / 0.7344 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006505/0.9176, allocations: 116 kB / 0.7345 GB, free: 6.391 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001592/0.9192, allocations: 0.5411 MB / 0.735 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009952/0.9202, allocations: 304.3 kB / 0.7353 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04068/0.9609, allocations: 11.93 MB / 0.747 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/0.961, allocations: 28 kB / 0.747 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/0.961, allocations: 19.94 kB / 0.747 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-05/0.9611, allocations: 11.95 kB / 0.747 GB, free: 9.449 MB / 0.545 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.04669/1.008, allocations: 15.56 MB / 0.7622 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.008, allocations: 0 / 0.7622 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.01, allocations: 243.7 kB / 0.7625 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01832/1.028, allocations: 5.315 MB / 0.7676 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007939/1.029, allocations: 47.98 kB / 0.7677 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3472/1.376, allocations: 24.95 MB / 0.7921 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.376, allocations: 1.219 kB / 0.7921 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04895/1.425, allocations: 14.31 MB / 0.806 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.427, allocations: 408.8 kB / 0.8064 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007625/1.427, allocations: 47.92 kB / 0.8065 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.43, allocations: 301.9 kB / 0.8068 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00235/1.433, allocations: 0.5791 MB / 0.8073 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.433, allocations: 64.64 kB / 0.8074 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002442/1.435, allocations: 1.536 MB / 0.8089 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.072e-06/1.435, allocations: 0 / 0.8089 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004192/1.44, allocations: 1.182 MB / 0.81 GB, free: 153.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004727/1.44, allocations: 180.2 kB / 0.8102 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01861/1.459, allocations: 6.763 MB / 0.8168 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.459, allocations: 5.688 kB / 0.8168 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/1.471, allocations: 4.422 MB / 0.8211 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.473, allocations: 263.9 kB / 0.8214 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/1.483, allocations: 6.624 MB / 0.8279 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.484, allocations: 1.814 MB / 0.8296 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/1.485, allocations: 190.9 kB / 0.8298 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.485, allocations: 0 / 0.8298 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07543/1.56, allocations: 64.26 MB / 0.8926 GB, free: 75.55 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)