Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.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 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.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.001322/0.001323, allocations: 173.9 kB / 7.648 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.401/1.401, allocations: 221.5 MB / 229.6 MB, free: 7.523 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.000906/0.0009059, allocations: 93.78 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5638/0.5638, allocations: 78.13 MB / 409.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.138e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 69.36 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.6132, allocations: 96.3 MB / 0.6355 GB, free: 3.348 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.6136, allocations: 79.95 kB / 0.6355 GB, free: 3.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06018/0.6738, allocations: 22.96 MB / 0.658 GB, free: 12.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6738, allocations: 0 / 0.658 GB, free: 12.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.266e-05/0.6739, allocations: 16 kB / 0.658 GB, free: 12.35 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004174/0.678, allocations: 1.597 MB / 0.6595 GB, free: 10.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6781, allocations: 8.031 kB / 0.6596 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.6813, allocations: 0.541 MB / 0.6601 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6825, allocations: 0.6719 MB / 0.6607 GB, free: 9.441 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.6828, allocations: 236.2 kB / 0.661 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6829, allocations: 36 kB / 0.661 GB, free: 9.137 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/0.6842, allocations: 0.7498 MB / 0.6617 GB, free: 8.387 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.6854, allocations: 0.6946 MB / 0.6624 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6854, allocations: 0 / 0.6624 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.6855, allocations: 0 / 0.6624 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.6855, allocations: 16 kB / 0.6624 GB, free: 7.672 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005297/0.6908, allocations: 3.112 MB / 0.6655 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.6921, allocations: 1.099 MB / 0.6665 GB, free: 3.199 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/0.6928, allocations: 0.5159 MB / 0.667 GB, free: 2.684 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.6929, allocations: 16.72 kB / 0.6671 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.693, allocations: 44.59 kB / 0.6671 GB, free: 2.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/0.693, allocations: 0 / 0.6671 GB, free: 2.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.01197/0.7049, allocations: 3.914 MB / 0.6709 GB, free: 14.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.705, allocations: 64.12 kB / 0.671 GB, free: 14.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/0.706, allocations: 0.6066 MB / 0.6716 GB, free: 14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.7061, allocations: 25.7 kB / 0.6716 GB, free: 13.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.7064, allocations: 448.2 kB / 0.672 GB, free: 13.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.7067, allocations: 275.8 kB / 0.6723 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.7068, allocations: 4 kB / 0.6723 GB, free: 13.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7069, allocations: 337.9 kB / 0.6726 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/0.7075, allocations: 393.5 kB / 0.673 GB, free: 12.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/0.7082, allocations: 487.6 kB / 0.6735 GB, free: 12.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.7089, allocations: 434.4 kB / 0.6739 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7089, allocations: 0 / 0.6739 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01207/0.721, allocations: 3.976 MB / 0.6777 GB, free: 7.609 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.721, allocations: 5.719 kB / 0.6778 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.721, allocations: 4 kB / 0.6778 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/0.7268, allocations: 1.688 MB / 0.6794 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.7275, allocations: 123.8 kB / 0.6795 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.7416, allocations: 7.06 MB / 0.6864 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.743, allocations: 159.2 kB / 0.6866 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.7431, allocations: 28 kB / 0.6866 GB, free: 14.43 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.7434, allocations: 114.7 kB / 0.6867 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01233/0.7557, allocations: 3.918 MB / 0.6905 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/0.7564, allocations: 103.3 kB / 0.6906 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.7686, allocations: 4.008 MB / 0.6945 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.7686, allocations: 8 kB / 0.6946 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7686, allocations: 4 kB / 0.6946 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.7687, allocations: 3.984 kB / 0.6946 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.7826, allocations: 5.414 MB / 0.6998 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.7827, allocations: 0.6562 kB / 0.6998 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.7834, allocations: 95.89 kB / 0.6999 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005287/0.7887, allocations: 1.669 MB / 0.7016 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.7888, allocations: 15.92 kB / 0.7016 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/0.8014, allocations: 6.187 MB / 0.7076 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.8014, allocations: 5.109 kB / 0.7076 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/0.8149, allocations: 4.701 MB / 0.7122 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/0.8154, allocations: 188.4 kB / 0.7124 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.8155, allocations: 7.984 kB / 0.7124 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.8166, allocations: 111.9 kB / 0.7125 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/0.8172, allocations: 208.3 kB / 0.7127 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.8173, allocations: 20 kB / 0.7127 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006629/0.8179, allocations: 483.1 kB / 0.7132 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8179, allocations: 0 / 0.7132 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001311/0.8193, allocations: 360.3 kB / 0.7135 GB, free: 2.512 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01396/0.8332, allocations: 5.278 MB / 0.7187 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005316/0.8386, allocations: 1.852 MB / 0.7205 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8386, allocations: 0 / 0.7205 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.8429, allocations: 1.391 MB / 0.7219 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.8437, allocations: 55.23 kB / 0.7219 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.8473, allocations: 1.341 MB / 0.7232 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/0.848, allocations: 1.056 MB / 0.7243 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.8484, allocations: 65.14 kB / 0.7243 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.8489, allocations: 355.3 kB / 0.7247 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/0.8489, allocations: 0 / 0.7247 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05698/0.9059, allocations: 25.11 MB / 0.7492 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.9062, allocations: 126.9 kB / 0.7493 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/3.756, allocations: 0 / 0.7493 GB, free: 13.93 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)