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.001095/0.001095, allocations: 180.9 kB / 7.65 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.42/1.42, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009695/0.0009695, allocations: 89.8 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4824/0.4824, allocations: 78.06 MB / 409.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.93e-05, allocations: 7.938 kB / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 69.35 MB / 0.5414 GB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5702, allocations: 96.1 MB / 0.6352 GB, free: 3.363 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.5705, allocations: 77.33 kB / 0.6353 GB, free: 3.289 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05849/0.629, allocations: 22.63 MB / 0.6574 GB, free: 12.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.629, allocations: 0 / 0.6574 GB, free: 12.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.838e-05/0.6291, allocations: 16 kB / 0.6574 GB, free: 12.69 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.004269/0.6333, allocations: 1.585 MB / 0.659 GB, free: 11.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6334, allocations: 8.031 kB / 0.659 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.6366, allocations: 0.5371 MB / 0.6595 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.638, allocations: 0.6602 MB / 0.6601 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.6383, allocations: 235.5 kB / 0.6604 GB, free: 9.547 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.6385, allocations: 36 kB / 0.6604 GB, free: 9.512 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/0.6398, allocations: 0.7446 MB / 0.6611 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6411, allocations: 0.6795 MB / 0.6618 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.6411, allocations: 1.75 kB / 0.6618 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.6412, allocations: 4 kB / 0.6618 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.6412, allocations: 16 kB / 0.6618 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006094/0.6473, allocations: 3.087 MB / 0.6648 GB, free: 4.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.6489, allocations: 1.115 MB / 0.6659 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.6496, allocations: 0.5115 MB / 0.6664 GB, free: 3.086 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.6498, allocations: 12.77 kB / 0.6664 GB, free: 3.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.6498, allocations: 43.34 kB / 0.6665 GB, free: 3.023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 6.022e-06/0.6498, allocations: 0 / 0.6665 GB, free: 3.023 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.01243/0.6622, allocations: 3.906 MB / 0.6703 GB, free: 15.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.6623, allocations: 60.19 kB / 0.6703 GB, free: 15.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/0.6633, allocations: 0.6025 MB / 0.6709 GB, free: 14.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.6635, allocations: 29.7 kB / 0.6709 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.6639, allocations: 432.3 kB / 0.6714 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.6642, allocations: 271.9 kB / 0.6716 GB, free: 13.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.6643, allocations: 0 / 0.6716 GB, free: 13.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6644, allocations: 341.9 kB / 0.6719 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.6651, allocations: 389.5 kB / 0.6723 GB, free: 12.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/0.6658, allocations: 487.6 kB / 0.6728 GB, free: 12.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.6665, allocations: 421.2 kB / 0.6732 GB, free: 12.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6665, allocations: 0 / 0.6732 GB, free: 12.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01225/0.6787, allocations: 4 MB / 0.6771 GB, free: 8.039 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6788, allocations: 5.312 kB / 0.6771 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6788, allocations: 4 kB / 0.6771 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005514/0.6844, allocations: 1.685 MB / 0.6787 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.6851, allocations: 111.9 kB / 0.6789 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.699, allocations: 6.893 MB / 0.6856 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.7003, allocations: 155.3 kB / 0.6857 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.7004, allocations: 28 kB / 0.6858 GB, free: 15.04 MB / 0.4948 GB 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.0002864/0.7007, allocations: 119.6 kB / 0.6859 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01198/0.7127, allocations: 3.914 MB / 0.6897 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/0.7134, allocations: 98.78 kB / 0.6898 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.7261, allocations: 4.004 MB / 0.6937 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.7262, allocations: 8 kB / 0.6937 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7263, allocations: 0.9375 kB / 0.6937 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/0.7263, allocations: 3.984 kB / 0.6937 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.7403, allocations: 5.399 MB / 0.699 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.7404, allocations: 0 / 0.699 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.741, allocations: 103.8 kB / 0.6991 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/0.7463, allocations: 1.664 MB / 0.7007 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.7465, allocations: 0 / 0.7007 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.7599, allocations: 6.198 MB / 0.7068 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.76, allocations: 7.984 kB / 0.7068 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.7733, allocations: 4.689 MB / 0.7113 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.7738, allocations: 192.2 kB / 0.7115 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.7739, allocations: 12.05 kB / 0.7115 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.7749, allocations: 107.9 kB / 0.7116 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005818/0.7755, allocations: 208.4 kB / 0.7118 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.7755, allocations: 20 kB / 0.7119 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006296/0.7762, allocations: 471.2 kB / 0.7123 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7762, allocations: 0.6562 kB / 0.7123 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001182/0.7774, allocations: 355.5 kB / 0.7126 GB, free: 3.18 MB / 0.5105 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 () * 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.01479/0.7922, allocations: 5.258 MB / 0.7178 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005157/0.7974, allocations: 1.836 MB / 0.7196 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7974, allocations: 0 / 0.7196 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/0.8016, allocations: 1.388 MB / 0.7209 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.8023, allocations: 58.34 kB / 0.721 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.8052, allocations: 1.271 MB / 0.7222 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.8058, allocations: 1.044 MB / 0.7232 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002492/0.8061, allocations: 57.05 kB / 0.7233 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.8065, allocations: 355.3 kB / 0.7236 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/0.8065, allocations: 0 / 0.7236 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05035/0.8569, allocations: 24.68 MB / 0.7477 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.8571, allocations: 120.1 kB / 0.7479 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.545, allocations: 4.031 kB / 0.7479 GB, free: 15.13 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)