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.006293/0.006293, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.491/1.491, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001842/0.001842, allocations: 184.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5489/0.5489, allocations: 78.54 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 87.81 kB / 0.5532 GB, free: 1.422 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4119, allocations: 68.17 MB / 0.6198 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.0124/0.4244, allocations: 13.76 MB / 0.6332 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009741/0.4342, allocations: 3.503 MB / 0.6366 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/0.4378, allocations: 28 kB / 0.6367 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.44, allocations: 0.5615 MB / 0.6372 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.4467, allocations: 1.433 MB / 0.6386 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.4511, allocations: 1.519 MB / 0.6401 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006554/0.4576, allocations: 3.78 MB / 0.6438 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.4591, allocations: 0.9008 MB / 0.6447 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.4621, allocations: 1.544 MB / 0.6462 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.4652, allocations: 1.991 MB / 0.6481 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.4658, allocations: 292 kB / 0.6484 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.4668, allocations: 439.7 kB / 0.6488 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007788/0.4676, allocations: 0.7702 MB / 0.6496 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.4695, allocations: 1.65 MB / 0.6512 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.4748, allocations: 4.042 MB / 0.6551 GB, free: 5.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.4748, allocations: 4 kB / 0.6551 GB, free: 5.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4748, allocations: 0 / 0.6551 GB, free: 5.801 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.188e-05/0.4749, allocations: 0 / 0.6551 GB, free: 5.801 MB / 462.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.02505/0.4999, allocations: 6.74 MB / 0.6617 GB, free: 14.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.5, allocations: 12.03 kB / 0.6617 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00047/0.5005, allocations: 311.2 kB / 0.662 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.5174, allocations: 2.292 MB / 0.6643 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/0.5223, allocations: 1.92 MB / 0.6661 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008678/0.5232, allocations: 0.7253 MB / 0.6668 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.5238, allocations: 220 kB / 0.6671 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/0.5305, allocations: 3.043 MB / 0.67 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.5306, allocations: 3.938 kB / 0.67 GB, free: 6.172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.5309, allocations: 95.98 kB / 0.6701 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/0.5309, allocations: 48 kB / 0.6702 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006399/0.5373, allocations: 2.792 MB / 0.6729 GB, free: 3.223 MB / 478.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.02005/0.5574, allocations: 9.878 MB / 0.6825 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.5692, allocations: 4.199 MB / 0.6866 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005034/0.5743, allocations: 1.979 MB / 0.6886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/0.5748, allocations: 49.94 kB / 0.6886 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006067/0.5809, allocations: 2.238 MB / 0.6908 GB, free: 308 kB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 7.624e-06/0.581, allocations: 0 / 0.6908 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1268/0.7078, allocations: 27.44 MB / 0.7176 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.708, allocations: 192.1 kB / 0.7178 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004922/0.7129, allocations: 2.317 MB / 0.7201 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007569/0.7137, allocations: 73.7 kB / 0.7201 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.715, allocations: 1.197 MB / 0.7213 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/0.7167, allocations: 0.9141 MB / 0.7222 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002549/0.7193, allocations: 0.566 MB / 0.7227 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7194, allocations: 301.1 kB / 0.723 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005241/0.7247, allocations: 1.974 MB / 0.725 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/0.7305, allocations: 2.35 MB / 0.7272 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06024/0.7907, allocations: 14.24 MB / 0.7411 GB, free: 12.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/0.7908, allocations: 8 kB / 0.7412 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04754/0.8384, allocations: 12.56 MB / 0.7534 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.8386, allocations: 118.8 kB / 0.7535 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.8386, allocations: 4 kB / 0.7535 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0199/0.8585, allocations: 5.257 MB / 0.7587 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/0.862, allocations: 0.589 MB / 0.7592 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4528/1.315, allocations: 23.19 MB / 0.7819 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004608/1.32, allocations: 498.4 kB / 0.7824 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/1.32, allocations: 117.1 kB / 0.7825 GB, free: 120.7 MB / 0.5606 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.001304/1.321, allocations: 0.5418 MB / 0.783 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/1.322, allocations: 312.9 kB / 0.7833 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03757/1.36, allocations: 11.93 MB / 0.795 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.36, allocations: 23.69 kB / 0.795 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/1.36, allocations: 19.75 kB / 0.795 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-05/1.36, allocations: 15.23 kB / 0.795 GB, free: 117.8 MB / 0.5606 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.04155/1.401, allocations: 15.56 MB / 0.8102 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.401, allocations: 0 / 0.8102 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.403, allocations: 255.3 kB / 0.8105 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/1.42, allocations: 5.292 MB / 0.8156 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008721/1.421, allocations: 51.98 kB / 0.8157 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05996/1.481, allocations: 24.96 MB / 0.84 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.481, allocations: 0 / 0.84 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04475/1.526, allocations: 14.34 MB / 0.854 GB, free: 62.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.527, allocations: 429.4 kB / 0.8545 GB, free: 62.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.528, allocations: 48 kB / 0.8545 GB, free: 62.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/1.532, allocations: 299.6 kB / 0.8548 GB, free: 62.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002508/1.535, allocations: 0.5802 MB / 0.8554 GB, free: 61.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005429/1.535, allocations: 67.98 kB / 0.8554 GB, free: 61.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002748/1.538, allocations: 1.531 MB / 0.8569 GB, free: 59.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.538, allocations: 0 / 0.8569 GB, free: 59.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004773/1.543, allocations: 1.182 MB / 0.8581 GB, free: 58.76 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.04462/1.587, allocations: 14.97 MB / 0.8727 GB, free: 43.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01932/1.607, allocations: 6.661 MB / 0.8792 GB, free: 36.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.607, allocations: 64 / 0.8792 GB, free: 36.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01425/1.621, allocations: 4.465 MB / 0.8836 GB, free: 32.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.625, allocations: 270.9 kB / 0.8838 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1225/1.748, allocations: 42.22 MB / 0.925 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/1.751, allocations: 1.811 MB / 0.9268 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001755/1.752, allocations: 262.6 kB / 0.9271 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/1.755, allocations: 1.245 MB / 0.9283 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.755, allocations: 4 kB / 0.9283 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1908/1.946, allocations: 88.47 MB / 1.015 GB, free: 9.848 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/20.7, allocations: 10.25 kB / 1.015 GB, free: 9.84 MB / 0.67 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)