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.00124/0.00124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.392/1.392, allocations: 222.9 MB / 239 MB, free: 4.738 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.001552/0.001552, allocations: 192.4 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.532/0.532, allocations: 91.9 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.88 kB / 0.5014 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3647, allocations: 71.26 MB / 0.571 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01038/0.3751, allocations: 14.59 MB / 0.5852 GB, free: 26.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007731/0.3829, allocations: 3.643 MB / 0.5888 GB, free: 24.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.3866, allocations: 30.78 kB / 0.5888 GB, free: 24.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.3889, allocations: 437.6 kB / 0.5892 GB, free: 24.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0061/0.395, allocations: 1.248 MB / 0.5904 GB, free: 23.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.399, allocations: 1.415 MB / 0.5918 GB, free: 22.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007216/0.4063, allocations: 3.754 MB / 0.5955 GB, free: 20.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.4083, allocations: 0.8911 MB / 0.5964 GB, free: 20.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.4112, allocations: 1.563 MB / 0.5979 GB, free: 19.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.4144, allocations: 1.988 MB / 0.5998 GB, free: 18.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.416, allocations: 290.8 kB / 0.6001 GB, free: 18.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.4181, allocations: 438 kB / 0.6005 GB, free: 18.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.4192, allocations: 0.7746 MB / 0.6013 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002534/0.4217, allocations: 1.664 MB / 0.6029 GB, free: 16.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.4274, allocations: 3.964 MB / 0.6068 GB, free: 14.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4274, allocations: 0.5156 kB / 0.6068 GB, free: 14.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4274, allocations: 0 / 0.6068 GB, free: 14.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001481/0.4276, allocations: 5.156 kB / 0.6068 GB, free: 14.93 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.02736/0.455, allocations: 6.649 MB / 0.6133 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.455, allocations: 9.156 kB / 0.6133 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.4712, allocations: 2.275 MB / 0.6155 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005842/0.4771, allocations: 1.891 MB / 0.6174 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000819/0.478, allocations: 0.731 MB / 0.6181 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008288/0.4788, allocations: 224.4 kB / 0.6183 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.4861, allocations: 3.046 MB / 0.6213 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.4861, allocations: 0 / 0.6213 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.4864, allocations: 90.83 kB / 0.6213 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.4865, allocations: 49.16 kB / 0.6214 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00678/0.4933, allocations: 2.797 MB / 0.6241 GB, free: 7.766 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.01863/0.5119, allocations: 9.929 MB / 0.6338 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.5233, allocations: 4.207 MB / 0.6379 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/0.528, allocations: 1.983 MB / 0.6399 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.5284, allocations: 37.97 kB / 0.6399 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005093/0.5335, allocations: 2.24 MB / 0.6421 GB, free: 5.039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.52e-06/0.5335, allocations: 0 / 0.6421 GB, free: 5.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1215/0.655, allocations: 27.42 MB / 0.6689 GB, free: 9.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6552, allocations: 184.2 kB / 0.669 GB, free: 9.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.6592, allocations: 2.313 MB / 0.6713 GB, free: 6.941 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009606/0.6602, allocations: 73.69 kB / 0.6714 GB, free: 6.863 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/0.6612, allocations: 1.18 MB / 0.6725 GB, free: 5.672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/0.6628, allocations: 0.878 MB / 0.6734 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.664, allocations: 0.5697 MB / 0.6739 GB, free: 4.203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6642, allocations: 301.1 kB / 0.6742 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/0.6684, allocations: 1.974 MB / 0.6762 GB, free: 1.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.673, allocations: 2.342 MB / 0.6784 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05807/0.7311, allocations: 14.29 MB / 0.6924 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.7311, allocations: 0 / 0.6924 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04289/0.774, allocations: 12.55 MB / 0.7047 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.7742, allocations: 121 kB / 0.7048 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.7742, allocations: 4 kB / 0.7048 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01889/0.7931, allocations: 5.265 MB / 0.7099 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/0.7968, allocations: 0.5851 MB / 0.7105 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06162/0.8585, allocations: 23.2 MB / 0.7332 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005509/0.864, allocations: 489 kB / 0.7336 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009026/0.865, allocations: 120 kB / 0.7337 GB, free: 6.375 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.002084/0.8671, allocations: 0.5359 MB / 0.7343 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.8682, allocations: 304.3 kB / 0.7345 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04049/0.9087, allocations: 11.93 MB / 0.7462 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/0.9088, allocations: 24 kB / 0.7462 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.133e-05/0.9088, allocations: 24 kB / 0.7462 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/0.9089, allocations: 11.95 kB / 0.7463 GB, free: 9.434 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.04917/0.9581, allocations: 15.57 MB / 0.7615 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.9582, allocations: 0 / 0.7615 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.96, allocations: 239.7 kB / 0.7617 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01809/0.9781, allocations: 5.312 MB / 0.7669 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008264/0.979, allocations: 47.98 kB / 0.7669 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3521/1.331, allocations: 24.95 MB / 0.7913 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.331, allocations: 1.219 kB / 0.7913 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05153/1.383, allocations: 14.31 MB / 0.8053 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.384, allocations: 408.1 kB / 0.8057 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.385, allocations: 48.91 kB / 0.8057 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003678/1.389, allocations: 305.9 kB / 0.806 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002645/1.392, allocations: 0.5775 MB / 0.8066 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004225/1.392, allocations: 69.38 kB / 0.8066 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003423/1.396, allocations: 1.525 MB / 0.8081 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.396, allocations: 0.9688 kB / 0.8081 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005842/1.401, allocations: 1.187 MB / 0.8093 GB, free: 153.5 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.0008911/1.402, allocations: 180.3 kB / 0.8094 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02141/1.424, allocations: 6.763 MB / 0.816 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.424, allocations: 3.781 kB / 0.816 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01471/1.439, allocations: 4.435 MB / 0.8204 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/1.444, allocations: 275.1 kB / 0.8206 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.459, allocations: 6.554 MB / 0.827 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/1.461, allocations: 1.814 MB / 0.8288 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001786/1.463, allocations: 270 kB / 0.8291 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009961/1.464, allocations: 169.6 kB / 0.8292 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.464, allocations: 5.969 kB / 0.8292 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.09329/1.557, allocations: 61.27 MB / 0.8891 GB, free: 79.21 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)