Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.001462/0.001462, allocations: 108 kB / 15.61 MB, free: 148 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.421/1.421, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001732/0.001732, allocations: 192.5 kB / 289.6 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5488/0.5488, allocations: 91.9 MB / 431.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 75.88 kB / 0.502 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3718, allocations: 71.27 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01666/0.3885, allocations: 21.97 MB / 0.593 GB, free: 21.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.4039, allocations: 4.936 MB / 0.5978 GB, free: 17.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006223/0.4102, allocations: 42.56 kB / 0.5979 GB, free: 17.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.4139, allocations: 0.8823 MB / 0.5987 GB, free: 17.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009228/0.4232, allocations: 2.048 MB / 0.6007 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006537/0.4297, allocations: 2.07 MB / 0.6028 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.44, allocations: 5.767 MB / 0.6084 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.444, allocations: 1.314 MB / 0.6097 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.4499, allocations: 2.35 MB / 0.612 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00638/0.4563, allocations: 2.991 MB / 0.6149 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002983/0.4593, allocations: 447.6 kB / 0.6153 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.4634, allocations: 0.5809 MB / 0.6159 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.4662, allocations: 1.167 MB / 0.617 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008202/0.4744, allocations: 2.641 MB / 0.6196 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.4876, allocations: 6.222 MB / 0.6257 GB, free: 3.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4876, allocations: 4 kB / 0.6257 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4876, allocations: 3.938 kB / 0.6257 GB, free: 3.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003052/0.4879, allocations: 1.094 kB / 0.6257 GB, free: 3.027 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03965/0.5276, allocations: 9.249 MB / 0.6347 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.5277, allocations: 11.97 kB / 0.6347 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001352/0.529, allocations: 488.9 kB / 0.6352 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02847/0.5575, allocations: 4.016 MB / 0.6391 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007077/0.5646, allocations: 2.686 MB / 0.6418 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/0.5657, allocations: 0.9574 MB / 0.6427 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.5673, allocations: 348 kB / 0.643 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.578, allocations: 4.758 MB / 0.6477 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/0.5781, allocations: 0 / 0.6477 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.5786, allocations: 140 kB / 0.6478 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/0.5786, allocations: 87.98 kB / 0.6479 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009609/0.5882, allocations: 4.263 MB / 0.652 GB, free: 11.87 MB / 462.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.04301/0.6313, allocations: 18.41 MB / 0.67 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.6454, allocations: 5.037 MB / 0.6749 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006946/0.6524, allocations: 2.798 MB / 0.6777 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/0.6532, allocations: 78.91 kB / 0.6778 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008461/0.6617, allocations: 3.185 MB / 0.6809 GB, free: 13.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 8.556e-06/0.6618, allocations: 4 kB / 0.6809 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3052/0.967, allocations: 66.82 MB / 0.7461 GB, free: 10.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.9671, allocations: 145.8 kB / 0.7463 GB, free: 9.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005612/0.9728, allocations: 3.266 MB / 0.7494 GB, free: 6.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/0.9741, allocations: 93.69 kB / 0.7495 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.9758, allocations: 1.979 MB / 0.7515 GB, free: 4.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002481/0.9783, allocations: 1.321 MB / 0.7528 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/0.9801, allocations: 0.6823 MB / 0.7534 GB, free: 2.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9803, allocations: 309.1 kB / 0.7537 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006265/0.9865, allocations: 2.616 MB / 0.7563 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00743/0.994, allocations: 3.257 MB / 0.7595 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3855/1.38, allocations: 19.19 MB / 0.7782 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/1.38, allocations: 10.02 kB / 0.7782 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05978/1.439, allocations: 17.24 MB / 0.795 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.129e-05/1.44, allocations: 64.05 kB / 0.7951 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-05/1.44, allocations: 15.11 kB / 0.7951 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02817/1.468, allocations: 7.324 MB / 0.8023 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/1.472, allocations: 0.6747 MB / 0.8029 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08339/1.555, allocations: 33.9 MB / 0.836 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/1.562, allocations: 0.6257 MB / 0.8366 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.563, allocations: 156 kB / 0.8368 GB, free: 131.7 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002494/1.566, allocations: 0.6712 MB / 0.8374 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/1.567, allocations: 458.3 kB / 0.8379 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05204/1.619, allocations: 16.9 MB / 0.8544 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/1.619, allocations: 38.62 kB / 0.8544 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.965e-05/1.619, allocations: 28 kB / 0.8544 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/1.62, allocations: 15.94 kB / 0.8545 GB, free: 113.5 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.05951/1.679, allocations: 21.91 MB / 0.8759 GB, free: 91.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.679, allocations: 0 / 0.8759 GB, free: 91.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.682, allocations: 395.5 kB / 0.8762 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02464/1.706, allocations: 7.36 MB / 0.8834 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001257/1.708, allocations: 71.98 kB / 0.8835 GB, free: 83.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07422/1.782, allocations: 31.88 MB / 0.9146 GB, free: 51.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.782, allocations: 0 / 0.9146 GB, free: 51.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05906/1.841, allocations: 20.29 MB / 0.9344 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.843, allocations: 0.5609 MB / 0.935 GB, free: 30.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/1.844, allocations: 68 kB / 0.9351 GB, free: 30.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004687/1.849, allocations: 379.5 kB / 0.9354 GB, free: 30.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003021/1.852, allocations: 0.7844 MB / 0.9362 GB, free: 29.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/1.852, allocations: 91.98 kB / 0.9363 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00286/1.855, allocations: 2.149 MB / 0.9384 GB, free: 27.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.855, allocations: 0 / 0.9384 GB, free: 27.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005755/1.861, allocations: 1.81 MB / 0.9401 GB, free: 25.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05883/1.92, allocations: 20.96 MB / 0.9606 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03391/1.954, allocations: 9.505 MB / 0.9699 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.954, allocations: 4.25 kB / 0.9699 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02275/1.977, allocations: 6.201 MB / 0.9759 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006178/1.983, allocations: 383 kB / 0.9763 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4126/2.395, allocations: 68.92 MB / 1.044 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/2.397, allocations: 2.453 MB / 1.046 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001936/2.399, allocations: 377.8 kB / 1.046 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002097/2.401, allocations: 1.998 MB / 1.048 GB, free: 170 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/2.401, allocations: 0 / 1.048 GB, free: 170 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/2.58, allocations: 129.2 MB / 1.174 GB, free: 42.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/19.01, allocations: 11.7 kB / 1.174 GB, free: 42.34 MB / 0.5919 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)