Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_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.006146/0.006146, allocations: 170.8 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.363/1.363, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008555/0.0008556, allocations: 101.3 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4907/0.4907, allocations: 78.53 MB / 419.8 MB, free: 43.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005234, allocations: 19.98 kB / 499.8 MB, free: 2.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.44, allocations: 69.34 MB / 0.5558 GB, free: 38.47 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.5861, allocations: 96.83 MB / 0.6504 GB, free: 9.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5864, allocations: 75.97 kB / 0.6504 GB, free: 9.336 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06184/0.6482, allocations: 23.03 MB / 0.6729 GB, free: 2.191 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6483, allocations: 0 / 0.6729 GB, free: 2.191 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.6483, allocations: 20 kB / 0.6729 GB, free: 2.172 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.004723/0.6531, allocations: 1.764 MB / 0.6747 GB, free: 364 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6531, allocations: 8.031 kB / 0.6747 GB, free: 356 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.6533, allocations: 114.5 kB / 0.6748 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.6565, allocations: 0.5448 MB / 0.6753 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6579, allocations: 0.668 MB / 0.676 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.6582, allocations: 255.5 kB / 0.6762 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6584, allocations: 71.86 kB / 0.6763 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.6605, allocations: 1.01 MB / 0.6773 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6605, allocations: 0 / 0.6773 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.6606, allocations: 24 kB / 0.6773 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.6606, allocations: 16 kB / 0.6773 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.6628, allocations: 1.051 MB / 0.6783 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/0.6683, allocations: 3.194 MB / 0.6814 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.6705, allocations: 1.381 MB / 0.6828 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/0.6706, allocations: 12.66 kB / 0.6828 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.6707, allocations: 43.2 kB / 0.6829 GB, free: 7.594 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.365e-06/0.6707, allocations: 0 / 0.6829 GB, free: 7.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.02566/0.6964, allocations: 7.769 MB / 0.6904 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.6965, allocations: 60.06 kB / 0.6905 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6976, allocations: 0.661 MB / 0.6911 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.6978, allocations: 41.7 kB / 0.6912 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.6982, allocations: 436.3 kB / 0.6916 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.6985, allocations: 279.8 kB / 0.6919 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.6986, allocations: 19.94 kB / 0.6919 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6988, allocations: 334 kB / 0.6922 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.7001, allocations: 0.6266 MB / 0.6928 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.7016, allocations: 0.7336 MB / 0.6935 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.703, allocations: 0.656 MB / 0.6942 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.703, allocations: 0 / 0.6942 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01371/0.7167, allocations: 4.723 MB / 0.6988 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.7168, allocations: 8 kB / 0.6988 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.7168, allocations: 0 / 0.6988 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/0.7237, allocations: 2.185 MB / 0.7009 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.7244, allocations: 119.8 kB / 0.701 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/0.7481, allocations: 9.79 MB / 0.7106 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.7497, allocations: 171.2 kB / 0.7108 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/0.7498, allocations: 28 kB / 0.7108 GB, free: 10.72 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.0006477/0.7504, allocations: 221.6 kB / 0.711 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.7506, allocations: 102.7 kB / 0.7111 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.7648, allocations: 4.735 MB / 0.7157 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.7649, allocations: 12 kB / 0.7157 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7649, allocations: 0 / 0.7157 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.7649, allocations: 3.984 kB / 0.7157 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.7803, allocations: 6.218 MB / 0.7218 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.7804, allocations: 0 / 0.7218 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/0.781, allocations: 91.89 kB / 0.7219 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006108/0.7871, allocations: 2.051 MB / 0.7239 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.7874, allocations: 12 kB / 0.7239 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.806, allocations: 8.659 MB / 0.7324 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8061, allocations: 3.953 kB / 0.7324 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.8215, allocations: 5.645 MB / 0.7379 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.8221, allocations: 187.7 kB / 0.7381 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.8222, allocations: 19.98 kB / 0.7381 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009531/0.8232, allocations: 124 kB / 0.7382 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006908/0.8239, allocations: 200.6 kB / 0.7384 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.824, allocations: 32 kB / 0.7384 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007669/0.8248, allocations: 0.5146 MB / 0.7389 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8248, allocations: 4 kB / 0.7389 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001394/0.8262, allocations: 391.5 kB / 0.7393 GB, free: 13.17 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.01557/0.8418, allocations: 6.241 MB / 0.7454 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006437/0.8483, allocations: 2.4 MB / 0.7477 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.8483, allocations: 0 / 0.7477 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00455/0.8529, allocations: 1.689 MB / 0.7494 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/0.8536, allocations: 63.3 kB / 0.7494 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/0.8765, allocations: 11.38 MB / 0.7606 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.8772, allocations: 1.044 MB / 0.7616 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.8775, allocations: 53.16 kB / 0.7616 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.8781, allocations: 359.3 kB / 0.762 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of SimCode: time 1.864e-06/0.8782, allocations: 0 / 0.762 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/1.209, allocations: 26.49 MB / 0.7878 GB, free: 150.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.209, allocations: 190.4 kB / 0.788 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/4.074, allocations: 2.344 kB / 0.788 GB, free: 149.9 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)