Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001018/0.001018, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.0008168, allocations: 86.39 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4229/0.4229, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.746e-05, allocations: 4 kB / 492.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2966, allocations: 69.51 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.4045, allocations: 97.34 MB / 0.6443 GB, free: 2.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4048, allocations: 79.89 kB / 0.6443 GB, free: 2.199 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05666/0.4614, allocations: 23.22 MB / 0.667 GB, free: 10.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4615, allocations: 4 kB / 0.667 GB, free: 10.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.632e-05/0.4615, allocations: 19.94 kB / 0.667 GB, free: 10.79 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003879/0.4654, allocations: 1.586 MB / 0.6686 GB, free: 9.152 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4655, allocations: 15.97 kB / 0.6686 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.4656, allocations: 118.5 kB / 0.6687 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/0.4686, allocations: 0.5332 MB / 0.6692 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.4697, allocations: 0.6602 MB / 0.6699 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.47, allocations: 259.4 kB / 0.6701 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.4701, allocations: 67.95 kB / 0.6702 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.4714, allocations: 0.7718 MB / 0.6709 GB, free: 6.637 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4714, allocations: 0 / 0.6709 GB, free: 6.637 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.4715, allocations: 24 kB / 0.671 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4715, allocations: 23.98 kB / 0.671 GB, free: 6.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.4728, allocations: 0.7745 MB / 0.6717 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004903/0.4777, allocations: 3.19 MB / 0.6749 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.479, allocations: 1.144 MB / 0.676 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007313/0.4797, allocations: 0.5349 MB / 0.6765 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.4798, allocations: 12.77 kB / 0.6765 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4799, allocations: 43.34 kB / 0.6766 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.655e-06/0.4799, allocations: 0 / 0.6766 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.2879/0.7678, allocations: 3.954 MB / 0.6804 GB, free: 106.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.7679, allocations: 61.16 kB / 0.6805 GB, free: 106.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.7689, allocations: 0.6594 MB / 0.6811 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.7691, allocations: 43.52 kB / 0.6812 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.7694, allocations: 435.4 kB / 0.6816 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.7696, allocations: 288.5 kB / 0.6819 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.7697, allocations: 13.66 kB / 0.6819 GB, free: 106.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.7698, allocations: 332.7 kB / 0.6822 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.7705, allocations: 402.8 kB / 0.6826 GB, free: 106.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.7714, allocations: 0.49 MB / 0.683 GB, free: 106 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.7722, allocations: 443.6 kB / 0.6835 GB, free: 106 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7722, allocations: 1.156 kB / 0.6835 GB, free: 106 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01169/0.7839, allocations: 4.063 MB / 0.6874 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.7839, allocations: 7.781 kB / 0.6874 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.784, allocations: 0 / 0.6874 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/0.7891, allocations: 1.812 MB / 0.6892 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.7897, allocations: 115.8 kB / 0.6893 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.8022, allocations: 7.095 MB / 0.6963 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8035, allocations: 181.3 kB / 0.6964 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.8036, allocations: 27.25 kB / 0.6965 GB, free: 102.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0001901/0.8038, allocations: 137.2 kB / 0.6966 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.8039, allocations: 101 kB / 0.6967 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.8148, allocations: 4.097 MB / 0.7007 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.8149, allocations: 6.25 kB / 0.7007 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.8149, allocations: 0 / 0.7007 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.8149, allocations: 8.281 kB / 0.7007 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.827, allocations: 5.553 MB / 0.7061 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.827, allocations: 3.875 kB / 0.7061 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.8275, allocations: 98 kB / 0.7062 GB, free: 97.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004665/0.8322, allocations: 1.677 MB / 0.7079 GB, free: 96.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/0.8323, allocations: 8 kB / 0.7079 GB, free: 96.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.843, allocations: 6.339 MB / 0.7141 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8431, allocations: 4 kB / 0.7141 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.8544, allocations: 4.758 MB / 0.7187 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.8547, allocations: 195 kB / 0.7189 GB, free: 86.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.8548, allocations: 12 kB / 0.7189 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.8557, allocations: 125.2 kB / 0.719 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/0.8562, allocations: 203.2 kB / 0.7192 GB, free: 86.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.8563, allocations: 20 kB / 0.7192 GB, free: 86.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005659/0.8569, allocations: 0.515 MB / 0.7197 GB, free: 85.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8569, allocations: 0 / 0.7197 GB, free: 85.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008969/0.8578, allocations: 389.4 kB / 0.7201 GB, free: 85.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.01154/0.8693, allocations: 5.348 MB / 0.7253 GB, free: 80.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004426/0.8738, allocations: 1.907 MB / 0.7272 GB, free: 78.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8738, allocations: 0 / 0.7272 GB, free: 78.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003589/0.8774, allocations: 1.429 MB / 0.7286 GB, free: 77.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.878, allocations: 75.25 kB / 0.7287 GB, free: 77.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.8802, allocations: 1.325 MB / 0.73 GB, free: 75.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.8806, allocations: 1.044 MB / 0.731 GB, free: 74.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.8808, allocations: 61.09 kB / 0.731 GB, free: 74.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.8812, allocations: 359.3 kB / 0.7314 GB, free: 74.21 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/0.8812, allocations: 0 / 0.7314 GB, free: 74.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.9185, allocations: 26.45 MB / 0.7572 GB, free: 48.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.9187, allocations: 173.9 kB / 0.7574 GB, free: 47.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.611, allocations: 0 / 0.7574 GB, free: 47.97 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)