Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0008499/0.0008498, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.362/1.362, allocations: 223.3 MB / 239.1 MB, free: 5.586 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.001311/0.001311, allocations: 172.6 kB / 290.3 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5464/0.5464, allocations: 78.56 MB / 419.9 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005523/0.0005524, allocations: 16 kB / 499.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1855, allocations: 69.37 MB / 0.5558 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2704/0.4559, allocations: 12.92 MB / 0.5684 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00767/0.4636, allocations: 3.471 MB / 0.5718 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.4664, allocations: 37.28 kB / 0.5719 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.4678, allocations: 392.7 kB / 0.5722 GB, free: 32.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.4717, allocations: 1.198 MB / 0.5734 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.4746, allocations: 1.288 MB / 0.5747 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.4787, allocations: 3.383 MB / 0.578 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.4798, allocations: 0.6971 MB / 0.5786 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.4818, allocations: 1.316 MB / 0.5799 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.4834, allocations: 1.747 MB / 0.5816 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.4837, allocations: 144.4 kB / 0.5818 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.4844, allocations: 276.5 kB / 0.582 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.4849, allocations: 0.5918 MB / 0.5826 GB, free: 27.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.4854, allocations: 0.5251 MB / 0.5831 GB, free: 27.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.4875, allocations: 2.985 MB / 0.586 GB, free: 26.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4875, allocations: 0 / 0.586 GB, free: 26.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4875, allocations: 0 / 0.586 GB, free: 26.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.37e-05/0.4876, allocations: 0 / 0.586 GB, free: 26.38 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.01909/0.5066, allocations: 6.221 MB / 0.5921 GB, free: 24.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5067, allocations: 9.844 kB / 0.5921 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.5212, allocations: 2.304 MB / 0.5944 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/0.5256, allocations: 1.791 MB / 0.5961 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006156/0.5262, allocations: 0.7514 MB / 0.5969 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.5266, allocations: 224.8 kB / 0.5971 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006767/0.5334, allocations: 3.227 MB / 0.6002 GB, free: 20.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.5335, allocations: 0.6094 kB / 0.6002 GB, free: 20.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.5337, allocations: 82.89 kB / 0.6003 GB, free: 20.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.5337, allocations: 49.28 kB / 0.6003 GB, free: 20.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005916/0.5397, allocations: 2.981 MB / 0.6033 GB, free: 19.68 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.02051/0.5602, allocations: 10.19 MB / 0.6132 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.571, allocations: 4.869 MB / 0.618 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004015/0.5751, allocations: 2.173 MB / 0.6201 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.5754, allocations: 37.97 kB / 0.6201 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004403/0.5798, allocations: 2.44 MB / 0.6225 GB, free: 9.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.799e-06/0.5799, allocations: 4 kB / 0.6225 GB, free: 9.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1082/0.688, allocations: 33.41 MB / 0.6551 GB, free: 7.852 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.6882, allocations: 188.2 kB / 0.6553 GB, free: 7.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.6921, allocations: 2.294 MB / 0.6576 GB, free: 5.316 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009206/0.693, allocations: 69.69 kB / 0.6576 GB, free: 5.242 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009855/0.694, allocations: 1.184 MB / 0.6588 GB, free: 4.047 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/0.6953, allocations: 0.8741 MB / 0.6596 GB, free: 3.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.6956, allocations: 68 kB / 0.6597 GB, free: 3.094 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6958, allocations: 428.9 kB / 0.6601 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/0.6999, allocations: 2.162 MB / 0.6622 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004254/0.7041, allocations: 2.529 MB / 0.6647 GB, free: 13.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/0.7084, allocations: 2.431 MB / 0.6671 GB, free: 11.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.7085, allocations: 3.938 kB / 0.6671 GB, free: 11.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03882/0.7473, allocations: 15.21 MB / 0.6819 GB, free: 12.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.7474, allocations: 118.8 kB / 0.682 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.7475, allocations: 8 kB / 0.682 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01822/0.7657, allocations: 6.431 MB / 0.6883 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.769, allocations: 0.5851 MB / 0.6889 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05668/0.8257, allocations: 25.16 MB / 0.7135 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/0.8308, allocations: 0.587 MB / 0.714 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/0.8313, allocations: 116 kB / 0.7141 GB, free: 10.98 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.8328, allocations: 0.5364 MB / 0.7147 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/0.8334, allocations: 296.3 kB / 0.7149 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03879/0.8722, allocations: 14.76 MB / 0.7294 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.8723, allocations: 28 kB / 0.7294 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/0.8723, allocations: 16 kB / 0.7294 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.042e-05/0.8724, allocations: 15.95 kB / 0.7294 GB, free: 11.22 MB / 0.5294 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.04383/0.9162, allocations: 18.38 MB / 0.7474 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/0.9163, allocations: 1.406 kB / 0.7474 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.9181, allocations: 251.6 kB / 0.7476 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/0.9358, allocations: 6.282 MB / 0.7537 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009787/0.9369, allocations: 51.98 kB / 0.7538 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3501/1.287, allocations: 25.49 MB / 0.7787 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.287, allocations: 2.656 kB / 0.7787 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04529/1.332, allocations: 17.33 MB / 0.7956 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.334, allocations: 426.8 kB / 0.796 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009109/1.335, allocations: 44.66 kB / 0.7961 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.338, allocations: 406.4 kB / 0.7964 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002646/1.341, allocations: 0.579 MB / 0.797 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.341, allocations: 65.98 kB / 0.7971 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00291/1.344, allocations: 1.508 MB / 0.7985 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/1.344, allocations: 0 / 0.7985 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005999/1.35, allocations: 1.192 MB / 0.7997 GB, free: 162.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000598/1.351, allocations: 174.2 kB / 0.7999 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01982/1.371, allocations: 7.53 MB / 0.8072 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.371, allocations: 0 / 0.8072 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01464/1.385, allocations: 5.12 MB / 0.8122 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.388, allocations: 259.4 kB / 0.8125 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/1.398, allocations: 6.389 MB / 0.8187 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/1.4, allocations: 1.82 MB / 0.8205 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00142/1.401, allocations: 266.2 kB / 0.8207 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/1.402, allocations: 165.3 kB / 0.8209 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.402, allocations: 0 / 0.8209 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0825/1.484, allocations: 57.01 MB / 0.8766 GB, free: 104.1 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: