Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.006654/0.006654, allocations: 169.2 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.458/1.458, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008935/0.0008935, allocations: 100.9 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.477/0.477, allocations: 78.58 MB / 419.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 12 kB / 499.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3732, allocations: 69.34 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4968, allocations: 98.31 MB / 0.6519 GB, free: 8.109 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4972, allocations: 87.94 kB / 0.6519 GB, free: 8.023 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06901/0.5662, allocations: 25.49 MB / 0.6768 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5662, allocations: 0 / 0.6768 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.016e-05/0.5663, allocations: 20 kB / 0.6769 GB, free: 14.38 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00541/0.5717, allocations: 1.979 MB / 0.6788 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5718, allocations: 8.031 kB / 0.6788 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003243/0.5721, allocations: 130.8 kB / 0.6789 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.5755, allocations: 0.5681 MB / 0.6795 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5771, allocations: 0.7205 MB / 0.6802 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.5774, allocations: 268.2 kB / 0.6804 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.5776, allocations: 72 kB / 0.6805 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.58, allocations: 1.151 MB / 0.6816 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.58, allocations: 0 / 0.6816 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5801, allocations: 36 kB / 0.6817 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5802, allocations: 16 kB / 0.6817 GB, free: 9.273 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.5828, allocations: 1.241 MB / 0.6829 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006465/0.5892, allocations: 3.542 MB / 0.6864 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.5915, allocations: 1.494 MB / 0.6878 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.5917, allocations: 9 kB / 0.6878 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5917, allocations: 51.44 kB / 0.6879 GB, free: 2.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.626e-06/0.5918, allocations: 4 kB / 0.6879 GB, free: 2.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02801/0.6198, allocations: 8.259 MB / 0.6959 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.6199, allocations: 64.41 kB / 0.696 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.6212, allocations: 0.7457 MB / 0.6967 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.6214, allocations: 41.7 kB / 0.6968 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.6219, allocations: 0.4892 MB / 0.6972 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/0.6224, allocations: 339.1 kB / 0.6976 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6225, allocations: 16 kB / 0.6976 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6227, allocations: 341.9 kB / 0.6979 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.6244, allocations: 0.7047 MB / 0.6986 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.626, allocations: 0.8195 MB / 0.6994 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.6277, allocations: 0.7496 MB / 0.7001 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.6277, allocations: 0 / 0.7001 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01466/0.6424, allocations: 4.938 MB / 0.705 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.6425, allocations: 8 kB / 0.705 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6425, allocations: 4 kB / 0.705 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00689/0.6494, allocations: 2.166 MB / 0.7071 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/0.6504, allocations: 167.8 kB / 0.7072 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.6724, allocations: 9.789 MB / 0.7168 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.674, allocations: 211.1 kB / 0.717 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.6742, allocations: 27.94 kB / 0.717 GB, free: 4.539 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.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 (73): * Single equations (assignments): 72 * 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.0006535/0.6748, allocations: 234.3 kB / 0.7172 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.6752, allocations: 118.6 kB / 0.7174 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/0.6898, allocations: 4.963 MB / 0.7222 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.6898, allocations: 15.98 kB / 0.7222 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6898, allocations: 0 / 0.7222 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.6899, allocations: 3.984 kB / 0.7222 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.707, allocations: 6.558 MB / 0.7286 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.7071, allocations: 4 kB / 0.7286 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.7081, allocations: 151.8 kB / 0.7288 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006526/0.7146, allocations: 2.051 MB / 0.7308 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/0.7149, allocations: 16 kB / 0.7308 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/0.7344, allocations: 8.655 MB / 0.7393 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7344, allocations: 0 / 0.7393 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.751, allocations: 5.989 MB / 0.7451 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.7514, allocations: 203.5 kB / 0.7453 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.7517, allocations: 19.95 kB / 0.7453 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7529, allocations: 152.2 kB / 0.7455 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/0.7537, allocations: 216.6 kB / 0.7457 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.7538, allocations: 27.94 kB / 0.7457 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008656/0.7546, allocations: 0.5848 MB / 0.7463 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7546, allocations: 0 / 0.7463 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001351/0.756, allocations: 431.4 kB / 0.7467 GB, free: 5.816 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01677/0.7728, allocations: 6.573 MB / 0.7531 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007277/0.7801, allocations: 2.595 MB / 0.7556 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7802, allocations: 0 / 0.7556 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005081/0.7852, allocations: 1.791 MB / 0.7574 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.786, allocations: 82.34 kB / 0.7575 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.263/1.049, allocations: 12.48 MB / 0.7696 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/1.05, allocations: 1.112 MB / 0.7707 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005163/1.05, allocations: 65.73 kB / 0.7708 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005996/1.051, allocations: 432.7 kB / 0.7712 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.392e-06/1.051, allocations: 0 / 0.7712 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/1.116, allocations: 28.77 MB / 0.7993 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.116, allocations: 213.7 kB / 0.7995 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.926, allocations: 1.312 kB / 0.7995 GB, free: 145.8 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)