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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 101.8 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6773/0.6773, allocations: 78.48 MB / 418.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.91 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 68.13 MB / 0.5523 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01557/0.3789, allocations: 14.55 MB / 0.5665 GB, free: 5.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00692/0.3859, allocations: 3.64 MB / 0.5701 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.3873, allocations: 35.94 kB / 0.5701 GB, free: 1.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009106/0.3882, allocations: 441.1 kB / 0.5705 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.3908, allocations: 1.248 MB / 0.5717 GB, free: 284 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.3934, allocations: 1.415 MB / 0.5731 GB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.3967, allocations: 3.624 MB / 0.5767 GB, free: 11.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009795/0.3976, allocations: 0.8002 MB / 0.5774 GB, free: 10.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.3991, allocations: 1.423 MB / 0.5788 GB, free: 8.965 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.4008, allocations: 1.89 MB / 0.5807 GB, free: 7.066 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.4011, allocations: 180 kB / 0.5809 GB, free: 6.891 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.4018, allocations: 307.9 kB / 0.5811 GB, free: 6.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.4023, allocations: 0.6685 MB / 0.5818 GB, free: 5.918 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.4035, allocations: 1.541 MB / 0.5833 GB, free: 4.367 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.4063, allocations: 3.853 MB / 0.5871 GB, free: 0.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4063, allocations: 0 / 0.5871 GB, free: 0.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4063, allocations: 4 kB / 0.5871 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.349e-05/0.4064, allocations: 0 / 0.5871 GB, free: 0.4961 MB / 394.7 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.02186/0.4282, allocations: 6.645 MB / 0.5936 GB, free: 9.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4283, allocations: 8.031 kB / 0.5936 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.4422, allocations: 2.275 MB / 0.5958 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.4452, allocations: 1.898 MB / 0.5976 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006016/0.4458, allocations: 0.7289 MB / 0.5984 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.4462, allocations: 219.9 kB / 0.5986 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.4518, allocations: 3.051 MB / 0.6015 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.4519, allocations: 0 / 0.6015 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.4521, allocations: 83.94 kB / 0.6016 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.4522, allocations: 52 kB / 0.6017 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005593/0.4577, allocations: 2.799 MB / 0.6044 GB, free: 14.36 MB / 426.7 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.01611/0.4739, allocations: 9.938 MB / 0.6141 GB, free: 4.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.4846, allocations: 4.203 MB / 0.6182 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003842/0.4885, allocations: 1.976 MB / 0.6201 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.4888, allocations: 49.89 kB / 0.6202 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004354/0.4931, allocations: 2.236 MB / 0.6224 GB, free: 11.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.398e-06/0.4932, allocations: 0 / 0.6224 GB, free: 11.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1179/0.611, allocations: 27.42 MB / 0.6492 GB, free: 15.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.6111, allocations: 188.2 kB / 0.6493 GB, free: 15.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.6142, allocations: 2.305 MB / 0.6516 GB, free: 13.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.6146, allocations: 77.77 kB / 0.6517 GB, free: 13.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/0.6154, allocations: 1.184 MB / 0.6528 GB, free: 12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007834/0.6162, allocations: 0.8741 MB / 0.6537 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.6172, allocations: 0.562 MB / 0.6542 GB, free: 10.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.6173, allocations: 309.1 kB / 0.6545 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/0.6214, allocations: 1.97 MB / 0.6564 GB, free: 8.266 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004377/0.6258, allocations: 2.346 MB / 0.6587 GB, free: 5.828 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05737/0.6832, allocations: 14.25 MB / 0.6726 GB, free: 7.348 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.6832, allocations: 4 kB / 0.6727 GB, free: 7.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.2427/0.926, allocations: 12.55 MB / 0.6849 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.9261, allocations: 111.1 kB / 0.685 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.9261, allocations: 6.812 kB / 0.685 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/0.9444, allocations: 5.262 MB / 0.6902 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.9474, allocations: 0.5856 MB / 0.6907 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05134/0.9988, allocations: 21.32 MB / 0.7115 GB, free: 97.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/1.003, allocations: 492.7 kB / 0.712 GB, free: 97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/1.003, allocations: 116 kB / 0.7121 GB, free: 96.89 MB / 490.7 MB 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.001036/1.004, allocations: 0.5356 MB / 0.7127 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/1.005, allocations: 291.9 kB / 0.7129 GB, free: 96.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0376/1.042, allocations: 11.93 MB / 0.7246 GB, free: 84.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.042, allocations: 28 kB / 0.7246 GB, free: 84.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.043, allocations: 17.42 kB / 0.7246 GB, free: 84.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/1.043, allocations: 31.81 kB / 0.7247 GB, free: 84.02 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.04041/1.083, allocations: 15.56 MB / 0.7398 GB, free: 68.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.083, allocations: 4 kB / 0.7398 GB, free: 68.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.084, allocations: 251.6 kB / 0.7401 GB, free: 68.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.1, allocations: 5.292 MB / 0.7453 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003429/1.101, allocations: 63.97 kB / 0.7453 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04909/1.15, allocations: 22.67 MB / 0.7675 GB, free: 39.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.15, allocations: 0 / 0.7675 GB, free: 39.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2667/1.417, allocations: 93.48 MB / 0.8587 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/1.417, allocations: 420.8 kB / 0.8591 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/1.418, allocations: 54.17 kB / 0.8592 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/1.421, allocations: 299.6 kB / 0.8595 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002023/1.423, allocations: 0.5722 MB / 0.86 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.423, allocations: 67.92 kB / 0.8601 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002109/1.425, allocations: 1.531 MB / 0.8616 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/1.425, allocations: 0 / 0.8616 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004197/1.429, allocations: 1.651 MB / 0.8632 GB, free: 4.84 MB / 0.5417 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.000389/1.43, allocations: 173.6 kB / 0.8634 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01769/1.447, allocations: 6.653 MB / 0.8699 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.447, allocations: 0 / 0.8699 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01371/1.461, allocations: 4.427 MB / 0.8742 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/1.463, allocations: 276.4 kB / 0.8745 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.484, allocations: 10.19 MB / 0.8844 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.486, allocations: 1.928 MB / 0.8863 GB, free: 12.89 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001195/1.487, allocations: 274.6 kB / 0.8866 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/1.487, allocations: 171.4 kB / 0.8867 GB, free: 12.45 MB / 0.573 GB Notification: Performance of SimCode: time 4.5e-07/1.487, allocations: 4 kB / 0.8867 GB, free: 12.45 MB / 0.573 GB Notification: Performance of Templates: time 0.3258/1.813, allocations: 86.77 MB / 0.9715 GB, free: 140.2 MB / 0.573 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)