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.006205/0.006205, allocations: 95.22 kB / 15.73 MB, free: 6.043 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.472/1.472, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001823/0.001823, allocations: 188.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5407/0.5407, allocations: 91.91 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.94 kB / 0.5728 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1674, allocations: 71.29 MB / 0.6424 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01298/0.1804, allocations: 13.81 MB / 0.6559 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008262/0.1887, allocations: 3.503 MB / 0.6593 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.192, allocations: 28 kB / 0.6593 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.1938, allocations: 0.5576 MB / 0.6599 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.1993, allocations: 1.45 MB / 0.6613 GB, free: 148 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.2032, allocations: 1.511 MB / 0.6628 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006141/0.2093, allocations: 3.784 MB / 0.6665 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.2109, allocations: 0.8935 MB / 0.6673 GB, free: 9.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.2135, allocations: 1.548 MB / 0.6688 GB, free: 8.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.2163, allocations: 1.991 MB / 0.6708 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006551/0.2169, allocations: 292 kB / 0.6711 GB, free: 6.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.218, allocations: 431.9 kB / 0.6715 GB, free: 5.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006456/0.2186, allocations: 0.774 MB / 0.6722 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.2203, allocations: 1.65 MB / 0.6738 GB, free: 3.211 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.2253, allocations: 4.037 MB / 0.6778 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.807e-05/0.2254, allocations: 4 kB / 0.6778 GB, free: 15.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2254, allocations: 0 / 0.6778 GB, free: 15.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000143/0.2255, allocations: 0 / 0.6778 GB, free: 15.15 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02385/0.2494, allocations: 6.744 MB / 0.6844 GB, free: 8.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2495, allocations: 12.03 kB / 0.6844 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.2645, allocations: 2.296 MB / 0.6866 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.2689, allocations: 1.924 MB / 0.6885 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007736/0.2697, allocations: 0.7252 MB / 0.6892 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000666/0.2704, allocations: 216 kB / 0.6894 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006344/0.2767, allocations: 3.047 MB / 0.6924 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.2768, allocations: 0 / 0.6924 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.2771, allocations: 91.94 kB / 0.6925 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.2771, allocations: 52 kB / 0.6925 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.2832, allocations: 2.788 MB / 0.6953 GB, free: 12.89 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.01906/0.3022, allocations: 9.878 MB / 0.7049 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.3132, allocations: 4.211 MB / 0.709 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/0.3178, allocations: 1.972 MB / 0.7109 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.3182, allocations: 41.97 kB / 0.711 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004868/0.323, allocations: 2.244 MB / 0.7132 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.739e-06/0.3231, allocations: 0 / 0.7132 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1172/0.4403, allocations: 27.44 MB / 0.74 GB, free: 14.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4404, allocations: 180.2 kB / 0.7401 GB, free: 14.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/0.4441, allocations: 2.313 MB / 0.7424 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006827/0.4448, allocations: 77.77 kB / 0.7425 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.4457, allocations: 1.193 MB / 0.7436 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/0.447, allocations: 0.9296 MB / 0.7446 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.4482, allocations: 0.5698 MB / 0.7451 GB, free: 9.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.4483, allocations: 301.1 kB / 0.7454 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004564/0.4529, allocations: 1.974 MB / 0.7473 GB, free: 6.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/0.4581, allocations: 2.338 MB / 0.7496 GB, free: 4.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05771/0.5158, allocations: 14.23 MB / 0.7635 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.5159, allocations: 4 kB / 0.7635 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.4547/0.9706, allocations: 12.56 MB / 0.7758 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.9708, allocations: 117.1 kB / 0.7759 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.9708, allocations: 5.875 kB / 0.7759 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/0.9895, allocations: 5.264 MB / 0.781 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.9929, allocations: 0.5834 MB / 0.7816 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05376/1.047, allocations: 23.2 MB / 0.8043 GB, free: 98.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/1.051, allocations: 0.4894 MB / 0.8047 GB, free: 98.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005038/1.052, allocations: 116 kB / 0.8048 GB, free: 98.61 MB / 0.5606 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.001216/1.053, allocations: 0.5386 MB / 0.8054 GB, free: 98.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/1.054, allocations: 321.2 kB / 0.8057 GB, free: 97.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03646/1.09, allocations: 11.92 MB / 0.8173 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.09, allocations: 28 kB / 0.8173 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.35e-05/1.09, allocations: 16 kB / 0.8174 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-05/1.09, allocations: 19.94 kB / 0.8174 GB, free: 85.7 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.04036/1.131, allocations: 15.56 MB / 0.8326 GB, free: 70.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.131, allocations: 4 kB / 0.8326 GB, free: 70.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.132, allocations: 239.7 kB / 0.8328 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.016/1.148, allocations: 5.305 MB / 0.838 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007215/1.149, allocations: 56.61 kB / 0.838 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0527/1.202, allocations: 24.96 MB / 0.8624 GB, free: 39.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.202, allocations: 4 kB / 0.8624 GB, free: 39.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04124/1.243, allocations: 14.33 MB / 0.8764 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.244, allocations: 432.7 kB / 0.8768 GB, free: 24.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.245, allocations: 48 kB / 0.8769 GB, free: 24.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/1.249, allocations: 299.6 kB / 0.8772 GB, free: 23.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002207/1.251, allocations: 0.5855 MB / 0.8777 GB, free: 23.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.251, allocations: 66.14 kB / 0.8778 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002357/1.253, allocations: 1.535 MB / 0.8793 GB, free: 21.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.253, allocations: 0 / 0.8793 GB, free: 21.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004145/1.258, allocations: 1.178 MB / 0.8804 GB, free: 20.55 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.0005152/1.258, allocations: 173.7 kB / 0.8806 GB, free: 20.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01668/1.275, allocations: 6.675 MB / 0.8871 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.275, allocations: 0 / 0.8871 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01229/1.287, allocations: 4.442 MB / 0.8915 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/1.29, allocations: 283.9 kB / 0.8917 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009949/1.3, allocations: 5.525 MB / 0.8971 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/1.301, allocations: 1.815 MB / 0.8989 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001362/1.303, allocations: 262.6 kB / 0.8991 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/1.303, allocations: 175.4 kB / 0.8993 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/1.303, allocations: 0 / 0.8993 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.1082/1.412, allocations: 64.18 MB / 0.962 GB, free: 0.875 MB / 0.6231 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)