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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001795/0.001795, allocations: 188.5 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5224/0.5224, allocations: 91.9 MB / 431.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 79.88 kB / 0.502 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.426, allocations: 71.27 MB / 0.5716 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01039/0.4365, allocations: 13.8 MB / 0.5851 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.4434, allocations: 3.515 MB / 0.5885 GB, free: 24.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.4461, allocations: 27.31 kB / 0.5885 GB, free: 24.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.4477, allocations: 0.565 MB / 0.5891 GB, free: 24.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.4528, allocations: 1.439 MB / 0.5905 GB, free: 23.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.4562, allocations: 1.516 MB / 0.592 GB, free: 22.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.4612, allocations: 3.749 MB / 0.5956 GB, free: 20.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.463, allocations: 0.8916 MB / 0.5965 GB, free: 20.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.4662, allocations: 1.549 MB / 0.598 GB, free: 19.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.4697, allocations: 1.984 MB / 0.5999 GB, free: 18.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.4712, allocations: 291.4 kB / 0.6002 GB, free: 18.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.4734, allocations: 445.9 kB / 0.6006 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.4748, allocations: 0.7711 MB / 0.6014 GB, free: 18.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.4769, allocations: 1.654 MB / 0.603 GB, free: 17.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.4813, allocations: 3.959 MB / 0.6069 GB, free: 15.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4813, allocations: 4 kB / 0.6069 GB, free: 15.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4813, allocations: 0.75 kB / 0.6069 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001797/0.4815, allocations: 1.219 kB / 0.6069 GB, free: 15.24 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.02749/0.509, allocations: 6.652 MB / 0.6134 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5091, allocations: 18.12 kB / 0.6134 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004576/0.5095, allocations: 300 kB / 0.6137 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.5255, allocations: 2.269 MB / 0.6159 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006235/0.5318, allocations: 1.893 MB / 0.6177 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008463/0.5327, allocations: 0.7349 MB / 0.6185 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.534, allocations: 218.4 kB / 0.6187 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008582/0.5426, allocations: 3.046 MB / 0.6216 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.5428, allocations: 1.672 kB / 0.6216 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.5431, allocations: 86.22 kB / 0.6217 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.718e-05/0.5432, allocations: 48.88 kB / 0.6218 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007882/0.551, allocations: 2.802 MB / 0.6245 GB, free: 7.598 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.01996/0.571, allocations: 9.926 MB / 0.6342 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.5826, allocations: 4.211 MB / 0.6383 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005101/0.5878, allocations: 1.976 MB / 0.6402 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/0.5882, allocations: 37.97 kB / 0.6403 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005403/0.5936, allocations: 2.255 MB / 0.6425 GB, free: 5.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.841e-06/0.5936, allocations: 0 / 0.6425 GB, free: 5.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1211/0.7147, allocations: 27.42 MB / 0.6693 GB, free: 9.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.7149, allocations: 184.2 kB / 0.6694 GB, free: 9.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004013/0.7189, allocations: 2.313 MB / 0.6717 GB, free: 6.938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008356/0.7198, allocations: 69.7 kB / 0.6718 GB, free: 6.863 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.7209, allocations: 1.176 MB / 0.6729 GB, free: 5.676 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/0.7224, allocations: 0.8819 MB / 0.6738 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.7238, allocations: 0.5735 MB / 0.6743 GB, free: 4.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7239, allocations: 309.1 kB / 0.6746 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/0.7284, allocations: 1.97 MB / 0.6765 GB, free: 1.922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/0.7333, allocations: 2.338 MB / 0.6788 GB, free: 15.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05809/0.7914, allocations: 14.29 MB / 0.6928 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.7915, allocations: 3.938 kB / 0.6928 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04428/0.8357, allocations: 12.55 MB / 0.705 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.8359, allocations: 122.8 kB / 0.7052 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.836, allocations: 4 kB / 0.7052 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01895/0.8549, allocations: 5.269 MB / 0.7103 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/0.8586, allocations: 0.5812 MB / 0.7109 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06796/0.9266, allocations: 23.2 MB / 0.7335 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/0.9324, allocations: 489 kB / 0.734 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/0.9335, allocations: 120 kB / 0.7341 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.002769/0.9363, allocations: 0.5446 MB / 0.7346 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/0.9379, allocations: 308.3 kB / 0.7349 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04417/0.9821, allocations: 11.93 MB / 0.7466 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.9822, allocations: 28 kB / 0.7466 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001274/0.9824, allocations: 16 kB / 0.7466 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001548/0.9825, allocations: 11.95 kB / 0.7466 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.05578/1.038, allocations: 15.56 MB / 0.7618 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/1.038, allocations: 0 / 0.7618 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.04, allocations: 255.6 kB / 0.7621 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01944/1.06, allocations: 5.312 MB / 0.7673 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009454/1.061, allocations: 47.98 kB / 0.7673 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3247/1.385, allocations: 24.95 MB / 0.7917 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.386, allocations: 4.906 kB / 0.7917 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04782/1.433, allocations: 14.31 MB / 0.8057 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.435, allocations: 407.7 kB / 0.806 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009072/1.436, allocations: 48.41 kB / 0.8061 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/1.439, allocations: 302.2 kB / 0.8064 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/1.441, allocations: 0.5814 MB / 0.8069 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.441, allocations: 64.12 kB / 0.807 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002464/1.444, allocations: 1.533 MB / 0.8085 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.444, allocations: 1.125 kB / 0.8085 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004243/1.448, allocations: 1.185 MB / 0.8097 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.04191/1.49, allocations: 14.94 MB / 0.8243 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02021/1.51, allocations: 6.773 MB / 0.8309 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/1.51, allocations: 0 / 0.8309 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0128/1.523, allocations: 4.427 MB / 0.8352 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.526, allocations: 276.1 kB / 0.8355 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/1.633, allocations: 46.42 MB / 0.8808 GB, free: 85.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.634, allocations: 1.814 MB / 0.8826 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001522/1.635, allocations: 266.6 kB / 0.8828 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.637, allocations: 1.241 MB / 0.884 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/1.637, allocations: 0 / 0.884 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/1.813, allocations: 87.44 MB / 0.9694 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/17.11, allocations: 13.86 kB / 0.9694 GB, free: 11.43 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)