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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_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.001148/0.001147, 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.366/1.366, allocations: 222.9 MB / 239.3 MB, free: 4.656 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.001508/0.001508, allocations: 199.9 kB / 289.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4838/0.4838, allocations: 78.53 MB / 418.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 75.88 kB / 497.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1433, allocations: 68.18 MB / 0.5525 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2697/0.413, allocations: 13.76 MB / 0.5659 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.421, allocations: 3.493 MB / 0.5693 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.4245, allocations: 32.28 kB / 0.5694 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.4264, allocations: 0.5571 MB / 0.5699 GB, free: 30 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.4315, allocations: 1.432 MB / 0.5713 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.435, allocations: 1.521 MB / 0.5728 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005047/0.44, allocations: 3.754 MB / 0.5765 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.4413, allocations: 0.8994 MB / 0.5773 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.4435, allocations: 1.541 MB / 0.5788 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.4454, allocations: 1.992 MB / 0.5808 GB, free: 27.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.4458, allocations: 290.9 kB / 0.5811 GB, free: 27.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009187/0.4468, allocations: 438.3 kB / 0.5815 GB, free: 26.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.4474, allocations: 0.7738 MB / 0.5822 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.4487, allocations: 1.655 MB / 0.5838 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.4522, allocations: 3.967 MB / 0.5877 GB, free: 23.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4522, allocations: 0 / 0.5877 GB, free: 23.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4522, allocations: 0 / 0.5877 GB, free: 23.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.399e-05/0.4523, allocations: 1.031 kB / 0.5877 GB, free: 23.52 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.02377/0.4761, allocations: 6.649 MB / 0.5942 GB, free: 20.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.4761, allocations: 8.719 kB / 0.5942 GB, free: 20.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/0.4766, allocations: 300.8 kB / 0.5945 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.4917, allocations: 2.278 MB / 0.5967 GB, free: 20.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.4961, allocations: 1.891 MB / 0.5986 GB, free: 19.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/0.4968, allocations: 0.7315 MB / 0.5993 GB, free: 18.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/0.4973, allocations: 223.9 kB / 0.5995 GB, free: 18.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006581/0.5039, allocations: 3.041 MB / 0.6025 GB, free: 17.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.504, allocations: 1.375 kB / 0.6025 GB, free: 17.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.5042, allocations: 85.14 kB / 0.6026 GB, free: 17.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/0.5043, allocations: 53.5 kB / 0.6026 GB, free: 17.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006649/0.5109, allocations: 2.797 MB / 0.6053 GB, free: 16.17 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.02011/0.5311, allocations: 9.935 MB / 0.615 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.542, allocations: 4.204 MB / 0.6192 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004282/0.5463, allocations: 1.974 MB / 0.6211 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.5466, allocations: 44.42 kB / 0.6211 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004378/0.551, allocations: 2.246 MB / 0.6233 GB, free: 6.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.358e-06/0.551, allocations: 0 / 0.6233 GB, free: 6.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1157/0.6667, allocations: 27.42 MB / 0.6501 GB, free: 10.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.667, allocations: 192.3 kB / 0.6503 GB, free: 10.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.6712, allocations: 2.305 MB / 0.6525 GB, free: 7.992 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008786/0.6721, allocations: 69.7 kB / 0.6526 GB, free: 7.918 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000963/0.6731, allocations: 1.18 MB / 0.6537 GB, free: 6.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.6743, allocations: 0.878 MB / 0.6546 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.6754, allocations: 0.5736 MB / 0.6552 GB, free: 5.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6755, allocations: 305.1 kB / 0.6555 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/0.6798, allocations: 1.97 MB / 0.6574 GB, free: 2.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004514/0.6843, allocations: 2.342 MB / 0.6597 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05579/0.7401, allocations: 14.3 MB / 0.6736 GB, free: 2.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.7402, allocations: 3.938 kB / 0.6736 GB, free: 2.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0425/0.7827, allocations: 12.54 MB / 0.6859 GB, free: 5.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.7829, allocations: 124 kB / 0.686 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.7829, allocations: 12 kB / 0.686 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/0.8011, allocations: 5.257 MB / 0.6911 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.8046, allocations: 0.5857 MB / 0.6917 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05934/0.864, allocations: 23.2 MB / 0.7144 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005258/0.8693, allocations: 489.1 kB / 0.7148 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008233/0.8701, allocations: 120 kB / 0.715 GB, free: 7.461 MB / 0.5137 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.002063/0.8722, allocations: 0.5475 MB / 0.7155 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009859/0.8732, allocations: 304.3 kB / 0.7158 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04042/0.9136, allocations: 11.93 MB / 0.7274 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/0.9137, allocations: 25.69 kB / 0.7274 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-05/0.9138, allocations: 20.69 kB / 0.7275 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.509e-05/0.9138, allocations: 11.95 kB / 0.7275 GB, free: 10.51 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.04951/0.9634, allocations: 15.56 MB / 0.7427 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.9634, allocations: 3.938 kB / 0.7427 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.9653, allocations: 248.1 kB / 0.7429 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01924/0.9845, allocations: 5.305 MB / 0.7481 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008762/0.9854, allocations: 51.98 kB / 0.7481 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3235/1.309, allocations: 24.96 MB / 0.7725 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.309, allocations: 3.969 kB / 0.7725 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04374/1.353, allocations: 14.3 MB / 0.7865 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.354, allocations: 415.7 kB / 0.7869 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.355, allocations: 46.12 kB / 0.7869 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.358, allocations: 301 kB / 0.7872 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002041/1.36, allocations: 0.5778 MB / 0.7878 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.36, allocations: 64.78 kB / 0.7878 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002384/1.362, allocations: 1.534 MB / 0.7893 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.362, allocations: 1.406 kB / 0.7893 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004418/1.367, allocations: 1.18 MB / 0.7905 GB, free: 162.7 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.04807/1.415, allocations: 14.94 MB / 0.8051 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0222/1.437, allocations: 6.77 MB / 0.8117 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.437, allocations: 0 / 0.8117 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/1.45, allocations: 4.443 MB / 0.816 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.453, allocations: 266.5 kB / 0.8163 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/1.557, allocations: 46.42 MB / 0.8616 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.558, allocations: 1.815 MB / 0.8634 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001309/1.559, allocations: 269.7 kB / 0.8636 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.56, allocations: 1.237 MB / 0.8649 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.56, allocations: 0 / 0.8649 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.684, allocations: 87.45 MB / 0.9503 GB, free: 25.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.37, allocations: 7.5 kB / 0.9503 GB, free: 25.12 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)