Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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 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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009848, allocations: 103.8 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5052/0.5052, allocations: 78.07 MB / 409.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.998e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 69.36 MB / 0.5414 GB, free: 6.766 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.6127, allocations: 97.85 MB / 0.6369 GB, free: 1.578 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.6129, allocations: 80.86 kB / 0.637 GB, free: 1.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08459/0.6975, allocations: 30.91 MB / 0.6672 GB, free: 2.625 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6976, allocations: 0.75 kB / 0.6672 GB, free: 2.625 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.687e-05/0.6977, allocations: 20 kB / 0.6672 GB, free: 2.605 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004166/0.7018, allocations: 1.695 MB / 0.6689 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.7019, allocations: 12.03 kB / 0.6689 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.7055, allocations: 0.5641 MB / 0.6694 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.7071, allocations: 0.7626 MB / 0.6702 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.7074, allocations: 228.2 kB / 0.6704 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.7076, allocations: 59.83 kB / 0.6705 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/0.7091, allocations: 0.7973 MB / 0.6712 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.7105, allocations: 0.8212 MB / 0.672 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.7105, allocations: 0 / 0.672 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.7106, allocations: 0 / 0.672 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.7106, allocations: 20 kB / 0.6721 GB, free: 13.49 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006557/0.7172, allocations: 3.662 MB / 0.6756 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007119/0.7243, allocations: 2.608 MB / 0.6782 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008915/0.7253, allocations: 0.5195 MB / 0.6787 GB, free: 6.441 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.7254, allocations: 20.75 kB / 0.6787 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009994/0.7264, allocations: 0.6382 MB / 0.6793 GB, free: 5.766 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.264e-06/0.7264, allocations: 0 / 0.6793 GB, free: 5.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.012/0.7384, allocations: 3.934 MB / 0.6832 GB, free: 1.816 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.7385, allocations: 112 kB / 0.6833 GB, free: 1.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.7399, allocations: 0.8148 MB / 0.6841 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.7402, allocations: 29.7 kB / 0.6841 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.7405, allocations: 0.5127 MB / 0.6846 GB, free: 304 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.7409, allocations: 323.1 kB / 0.6849 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.741, allocations: 4 kB / 0.6849 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7411, allocations: 349.9 kB / 0.6853 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.7418, allocations: 438.6 kB / 0.6857 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/0.7426, allocations: 0.5458 MB / 0.6862 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.7434, allocations: 498 kB / 0.6867 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.7434, allocations: 4 kB / 0.6867 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01206/0.7555, allocations: 3.954 MB / 0.6905 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.7556, allocations: 63.39 kB / 0.6906 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7556, allocations: 4 kB / 0.6906 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005475/0.7611, allocations: 1.506 MB / 0.6921 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.7622, allocations: 183.8 kB / 0.6923 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.7763, allocations: 6.591 MB / 0.6987 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.7783, allocations: 183 kB / 0.6989 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.7784, allocations: 43.92 kB / 0.6989 GB, free: 1.445 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.7788, allocations: 153.5 kB / 0.6991 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01171/0.7905, allocations: 3.935 MB / 0.7029 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/0.7912, allocations: 126.4 kB / 0.703 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.803, allocations: 4.032 MB / 0.707 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.8031, allocations: 12 kB / 0.707 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.8031, allocations: 8 kB / 0.707 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/0.8032, allocations: 10.53 kB / 0.707 GB, free: 9.129 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01447/0.8176, allocations: 5.497 MB / 0.7124 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.8177, allocations: 0 / 0.7124 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.8184, allocations: 103.9 kB / 0.7124 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004819/0.8233, allocations: 1.489 MB / 0.7139 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.8236, allocations: 11.98 kB / 0.7139 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.8375, allocations: 7.523 MB / 0.7213 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.8375, allocations: 0 / 0.7213 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.8507, allocations: 4.778 MB / 0.7259 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.8513, allocations: 219.4 kB / 0.7261 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.8515, allocations: 4 kB / 0.7261 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.8528, allocations: 131.9 kB / 0.7263 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006262/0.8534, allocations: 196.9 kB / 0.7265 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.922e-05/0.8535, allocations: 31.98 kB / 0.7265 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000938/0.8544, allocations: 0.6216 MB / 0.7271 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8544, allocations: 0.8438 kB / 0.7271 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001369/0.8558, allocations: 391.5 kB / 0.7275 GB, free: 3.758 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01345/0.8693, allocations: 5.43 MB / 0.7328 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004933/0.8743, allocations: 1.994 MB / 0.7347 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8743, allocations: 0 / 0.7347 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.8782, allocations: 1.539 MB / 0.7362 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.8795, allocations: 88.69 kB / 0.7363 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.8842, allocations: 1.798 MB / 0.7381 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.885, allocations: 1.151 MB / 0.7392 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004467/0.8855, allocations: 94.67 kB / 0.7393 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.8861, allocations: 471.3 kB / 0.7397 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/0.8861, allocations: 4 kB / 0.7397 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/1.215, allocations: 28.65 MB / 0.7677 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.215, allocations: 147.6 kB / 0.7678 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/4.183, allocations: 0 / 0.7678 GB, free: 145.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)