Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_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.001687/0.001687, allocations: 172.5 kB / 7.647 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.43/1.43, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0009931/0.0009933, allocations: 90.28 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4856/0.4856, allocations: 78.93 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.94e-05, allocations: 4 kB / 486 MB, free: 3.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3772, allocations: 69.52 MB / 0.5425 GB, free: 21.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5076, allocations: 96.9 MB / 0.6372 GB, free: 6.785 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.508, allocations: 75.97 kB / 0.6372 GB, free: 6.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06327/0.5712, allocations: 23.25 MB / 0.6599 GB, free: 15.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5713, allocations: 0 / 0.6599 GB, free: 15.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.5714, allocations: 19.94 kB / 0.6599 GB, free: 15.28 MB / 490.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.005155/0.5766, allocations: 1.597 MB / 0.6615 GB, free: 13.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5766, allocations: 8.031 kB / 0.6615 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.5801, allocations: 0.5332 MB / 0.662 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.5819, allocations: 0.6681 MB / 0.6627 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.5822, allocations: 236.1 kB / 0.6629 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.5825, allocations: 36 kB / 0.6629 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001664/0.5842, allocations: 0.7537 MB / 0.6637 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.5857, allocations: 0.6946 MB / 0.6644 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.5857, allocations: 0 / 0.6644 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.5858, allocations: 3.984 kB / 0.6644 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5859, allocations: 16 kB / 0.6644 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/0.592, allocations: 3.108 MB / 0.6674 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.5935, allocations: 1.106 MB / 0.6685 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/0.5944, allocations: 0.5081 MB / 0.669 GB, free: 5.617 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.5945, allocations: 16.77 kB / 0.669 GB, free: 5.598 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5945, allocations: 47.28 kB / 0.6691 GB, free: 5.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 2.786e-06/0.5945, allocations: 0 / 0.6691 GB, free: 5.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.0125/0.607, allocations: 3.914 MB / 0.6729 GB, free: 1.617 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.6071, allocations: 60.19 kB / 0.6729 GB, free: 1.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.6082, allocations: 0.6105 MB / 0.6735 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/0.6083, allocations: 25.7 kB / 0.6736 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.6087, allocations: 448.2 kB / 0.674 GB, free: 468 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.609, allocations: 271.8 kB / 0.6742 GB, free: 192 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.6091, allocations: 0 / 0.6742 GB, free: 192 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.3472/0.9563, allocations: 340.7 kB / 0.6746 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.9576, allocations: 388.4 kB / 0.6749 GB, free: 106.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.9588, allocations: 490.4 kB / 0.6754 GB, free: 106.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.9599, allocations: 429.6 kB / 0.6758 GB, free: 106.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.9599, allocations: 1.375 kB / 0.6758 GB, free: 106.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01465/0.9746, allocations: 3.976 MB / 0.6797 GB, free: 106.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.9747, allocations: 6 kB / 0.6797 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.9747, allocations: 4.109 kB / 0.6797 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00613/0.9808, allocations: 1.685 MB / 0.6814 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.9816, allocations: 123.9 kB / 0.6815 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.9963, allocations: 7.064 MB / 0.6884 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.9976, allocations: 156.7 kB / 0.6885 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.9977, allocations: 28.25 kB / 0.6885 GB, free: 104.6 MB / 490.7 MB 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.0002865/0.998, allocations: 124.7 kB / 0.6887 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01075/1.009, allocations: 3.916 MB / 0.6925 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/1.009, allocations: 97.47 kB / 0.6926 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.02, allocations: 4.016 MB / 0.6965 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.02, allocations: 10.38 kB / 0.6965 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.02, allocations: 0 / 0.6965 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.02, allocations: 3.188 kB / 0.6965 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.033, allocations: 5.426 MB / 0.7018 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.034, allocations: 3 kB / 0.7018 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/1.034, allocations: 98.36 kB / 0.7019 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004784/1.039, allocations: 1.668 MB / 0.7035 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.039, allocations: 3.875 kB / 0.7035 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.051, allocations: 6.193 MB / 0.7096 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.051, allocations: 0 / 0.7096 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.063, allocations: 4.696 MB / 0.7142 GB, free: 91.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/1.064, allocations: 188.9 kB / 0.7144 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/1.064, allocations: 7.797 kB / 0.7144 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.065, allocations: 118.8 kB / 0.7145 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006188/1.066, allocations: 196 kB / 0.7147 GB, free: 91.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/1.066, allocations: 20 kB / 0.7147 GB, free: 91.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007024/1.067, allocations: 489.3 kB / 0.7151 GB, free: 90.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.067, allocations: 1.969 kB / 0.7152 GB, free: 90.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001565/1.068, allocations: 357 kB / 0.7155 GB, free: 90.62 MB / 490.7 MB 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.01217/1.08, allocations: 5.273 MB / 0.7206 GB, free: 86.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004737/1.085, allocations: 1.845 MB / 0.7224 GB, free: 84.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.085, allocations: 4.125 kB / 0.7224 GB, free: 84.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003732/1.089, allocations: 1.399 MB / 0.7238 GB, free: 83.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/1.09, allocations: 58.39 kB / 0.7239 GB, free: 82.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/1.093, allocations: 1.342 MB / 0.7252 GB, free: 81.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/1.093, allocations: 1.048 MB / 0.7262 GB, free: 80.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002806/1.094, allocations: 68.73 kB / 0.7263 GB, free: 80.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.094, allocations: 355.3 kB / 0.7266 GB, free: 80.13 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/1.094, allocations: 0 / 0.7266 GB, free: 80.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/1.144, allocations: 25.12 MB / 0.7511 GB, free: 55.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.144, allocations: 128.1 kB / 0.7513 GB, free: 55.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.944, allocations: 7.938 kB / 0.7513 GB, free: 55.07 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)