Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004537/0.004537, allocations: 170.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008513, allocations: 90.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06269/0.06269, allocations: 12.21 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4349/0.4349, allocations: 78.52 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 17.44 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.301, allocations: 98.55 MB / 0.6919 GB, free: 1.594 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.3014, allocations: 79.97 kB / 0.692 GB, free: 1.516 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3549/0.6563, allocations: 22.62 MB / 0.714 GB, free: 94.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6564, allocations: 0 / 0.714 GB, free: 94.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.495e-05/0.6565, allocations: 19.78 kB / 0.7141 GB, free: 94.47 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.005695/0.6622, allocations: 1.784 MB / 0.7158 GB, free: 93.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6623, allocations: 18.27 kB / 0.7158 GB, free: 93.27 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003976/0.6627, allocations: 117.2 kB / 0.7159 GB, free: 93.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.6662, allocations: 0.5442 MB / 0.7165 GB, free: 92.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.668, allocations: 0.6767 MB / 0.7171 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.6683, allocations: 264.6 kB / 0.7174 GB, free: 92.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.6685, allocations: 61.72 kB / 0.7174 GB, free: 92.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.6705, allocations: 1.019 MB / 0.7184 GB, free: 91.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6705, allocations: 7.984 kB / 0.7184 GB, free: 91.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.6706, allocations: 26.69 kB / 0.7185 GB, free: 91.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.6706, allocations: 15.16 kB / 0.7185 GB, free: 91.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.6726, allocations: 1.058 MB / 0.7195 GB, free: 91.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.6778, allocations: 3.23 MB / 0.7227 GB, free: 88.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.6795, allocations: 1.363 MB / 0.724 GB, free: 86.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.6796, allocations: 12.64 kB / 0.724 GB, free: 86.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.6796, allocations: 47.16 kB / 0.7241 GB, free: 86.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/0.6796, allocations: 0 / 0.7241 GB, free: 86.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.02474/0.7044, allocations: 8.197 MB / 0.7321 GB, free: 78.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.7045, allocations: 68 kB / 0.7321 GB, free: 78.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.7057, allocations: 0.6692 MB / 0.7328 GB, free: 77.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.7059, allocations: 37.7 kB / 0.7328 GB, free: 77.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.7062, allocations: 436.3 kB / 0.7332 GB, free: 77.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.7065, allocations: 287.8 kB / 0.7335 GB, free: 77.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.7066, allocations: 12 kB / 0.7335 GB, free: 77.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.7067, allocations: 338 kB / 0.7338 GB, free: 76.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.7079, allocations: 0.6344 MB / 0.7345 GB, free: 76.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.7091, allocations: 0.7219 MB / 0.7352 GB, free: 75.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.7104, allocations: 0.6755 MB / 0.7358 GB, free: 74.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.7104, allocations: 3.938 kB / 0.7358 GB, free: 74.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01249/0.7229, allocations: 4.704 MB / 0.7404 GB, free: 70.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.723, allocations: 8 kB / 0.7404 GB, free: 70.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.723, allocations: 4 kB / 0.7404 GB, free: 70.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.7289, allocations: 2.108 MB / 0.7425 GB, free: 67.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.7296, allocations: 127.8 kB / 0.7426 GB, free: 67.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.7494, allocations: 9.98 MB / 0.7524 GB, free: 57.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.7509, allocations: 183.2 kB / 0.7525 GB, free: 57.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.751, allocations: 27.92 kB / 0.7526 GB, free: 57.45 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0005907/0.7516, allocations: 224.3 kB / 0.7528 GB, free: 57.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/0.752, allocations: 102.8 kB / 0.7529 GB, free: 57.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.7645, allocations: 4.743 MB / 0.7575 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.7646, allocations: 8 kB / 0.7575 GB, free: 52.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.7646, allocations: 0 / 0.7575 GB, free: 52.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.7646, allocations: 3.984 kB / 0.7575 GB, free: 52.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.7786, allocations: 6.234 MB / 0.7636 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7786, allocations: 0 / 0.7636 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.7792, allocations: 99.83 kB / 0.7637 GB, free: 45.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005428/0.7846, allocations: 2.063 MB / 0.7657 GB, free: 43.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/0.7847, allocations: 16 kB / 0.7657 GB, free: 43.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.8016, allocations: 8.664 MB / 0.7742 GB, free: 34.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8016, allocations: 0 / 0.7742 GB, free: 34.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.8152, allocations: 5.661 MB / 0.7797 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.8158, allocations: 191.6 kB / 0.7799 GB, free: 29.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.816, allocations: 19.94 kB / 0.7799 GB, free: 29.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8171, allocations: 127.9 kB / 0.78 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/0.8177, allocations: 196.7 kB / 0.7802 GB, free: 28.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.8178, allocations: 16 kB / 0.7802 GB, free: 28.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007662/0.8186, allocations: 0.5343 MB / 0.7808 GB, free: 28.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8186, allocations: 0 / 0.7808 GB, free: 28.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001473/0.8201, allocations: 391.6 kB / 0.7811 GB, free: 27.81 MB / 474.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 () * Number of clocked 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.01374/0.8338, allocations: 6.264 MB / 0.7873 GB, free: 21.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005696/0.8396, allocations: 2.4 MB / 0.7896 GB, free: 19.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8396, allocations: 0 / 0.7896 GB, free: 19.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.8438, allocations: 1.689 MB / 0.7913 GB, free: 17.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/0.8446, allocations: 70.95 kB / 0.7913 GB, free: 17.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/0.8655, allocations: 11.51 MB / 0.8026 GB, free: 5.559 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.8661, allocations: 1.052 MB / 0.8036 GB, free: 4.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.8664, allocations: 61.14 kB / 0.8036 GB, free: 4.418 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.8669, allocations: 359.3 kB / 0.804 GB, free: 4.066 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8669, allocations: 0 / 0.804 GB, free: 4.066 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.9244, allocations: 26.97 MB / 0.8303 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.9246, allocations: 193.2 kB / 0.8305 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.687, allocations: 8 kB / 0.8305 GB, free: 8.988 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)