Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_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.01063/0.01063, allocations: 170.9 kB / 15.11 MB, free: 5.973 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.493/1.493, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008686/0.0008685, allocations: 102.9 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.54/0.54, allocations: 78.6 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004223, allocations: 12 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3547, allocations: 69.34 MB / 0.5559 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4948, allocations: 96.82 MB / 0.6504 GB, free: 9.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4951, allocations: 83.95 kB / 0.6505 GB, free: 9.578 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06295/0.5581, allocations: 23.03 MB / 0.673 GB, free: 2.434 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5581, allocations: 0 / 0.673 GB, free: 2.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.729e-05/0.5582, allocations: 16 kB / 0.673 GB, free: 2.418 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008335/0.5666, allocations: 1.764 MB / 0.6747 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.087e-05/0.5667, allocations: 12.03 kB / 0.6747 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007877/0.5675, allocations: 118.5 kB / 0.6748 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005508/0.573, allocations: 0.5409 MB / 0.6754 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.5756, allocations: 0.668 MB / 0.676 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.576, allocations: 259.5 kB / 0.6763 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003761/0.5764, allocations: 75.86 kB / 0.6763 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.5799, allocations: 1.006 MB / 0.6773 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5799, allocations: 0 / 0.6773 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.5801, allocations: 28 kB / 0.6773 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.5801, allocations: 16 kB / 0.6774 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.5835, allocations: 1.051 MB / 0.6784 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008427/0.5919, allocations: 3.19 MB / 0.6815 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.5951, allocations: 1.381 MB / 0.6829 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.5952, allocations: 16.64 kB / 0.6829 GB, free: 7.879 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5953, allocations: 39.22 kB / 0.6829 GB, free: 7.832 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 3.647e-06/0.5953, allocations: 0 / 0.6829 GB, free: 7.832 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.03773/0.633, allocations: 7.765 MB / 0.6905 GB, free: 36 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.6332, allocations: 60.06 kB / 0.6905 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.6347, allocations: 0.6649 MB / 0.6912 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.6349, allocations: 33.7 kB / 0.6912 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.6353, allocations: 444.3 kB / 0.6917 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.6358, allocations: 287.8 kB / 0.6919 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.6359, allocations: 20 kB / 0.6919 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6361, allocations: 330 kB / 0.6923 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.6381, allocations: 0.6227 MB / 0.6929 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.6402, allocations: 0.7258 MB / 0.6936 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.6424, allocations: 0.6599 MB / 0.6942 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.6424, allocations: 4 kB / 0.6942 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0203/0.6627, allocations: 4.719 MB / 0.6988 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.6628, allocations: 5.562 kB / 0.6988 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.6628, allocations: 4 kB / 0.6988 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009556/0.6724, allocations: 2.193 MB / 0.701 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/0.6733, allocations: 115.8 kB / 0.7011 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/0.7004, allocations: 9.777 MB / 0.7106 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.7018, allocations: 171.2 kB / 0.7108 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.7019, allocations: 31.98 kB / 0.7108 GB, free: 10.96 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.0005683/0.7024, allocations: 221.6 kB / 0.711 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.7027, allocations: 102.7 kB / 0.7111 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.7163, allocations: 4.743 MB / 0.7158 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.7164, allocations: 8 kB / 0.7158 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7164, allocations: 4 kB / 0.7158 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.7165, allocations: 3.984 kB / 0.7158 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.7326, allocations: 6.214 MB / 0.7219 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.7326, allocations: 0 / 0.7219 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.7332, allocations: 91.89 kB / 0.7219 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006269/0.7395, allocations: 2.051 MB / 0.724 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.7398, allocations: 20 kB / 0.724 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.7598, allocations: 8.651 MB / 0.7324 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7598, allocations: 3.953 kB / 0.7324 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/0.7756, allocations: 5.661 MB / 0.738 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.7761, allocations: 179.7 kB / 0.7381 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.7763, allocations: 16 kB / 0.7381 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009787/0.7773, allocations: 132 kB / 0.7383 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006162/0.7779, allocations: 196.6 kB / 0.7385 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.778, allocations: 20 kB / 0.7385 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006706/0.7787, allocations: 0.5185 MB / 0.739 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7787, allocations: 0 / 0.739 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00121/0.7799, allocations: 395.5 kB / 0.7394 GB, free: 13.41 MB / 0.5417 GB 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 () * Number of clocked 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.0156/0.7955, allocations: 6.237 MB / 0.7454 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006553/0.8021, allocations: 2.396 MB / 0.7478 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.8021, allocations: 0 / 0.7478 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/0.8069, allocations: 1.69 MB / 0.7494 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.8076, allocations: 62.05 kB / 0.7495 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/0.8305, allocations: 11.39 MB / 0.7606 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.8312, allocations: 1.044 MB / 0.7616 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.8315, allocations: 57.16 kB / 0.7617 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.832, allocations: 363.3 kB / 0.762 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.193e-06/0.832, allocations: 0 / 0.762 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2752/1.107, allocations: 26.49 MB / 0.7879 GB, free: 150.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.107, allocations: 200.7 kB / 0.7881 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.975, allocations: 3 kB / 0.7881 GB, free: 149.9 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)