Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_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.007037/0.007037, allocations: 172 kB / 15.11 MB, free: 5.98 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.361/1.361, allocations: 223.2 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 97.7 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5393/0.5393, allocations: 78.52 MB / 419.8 MB, free: 36.29 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 15.98 kB / 499.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 69.36 MB / 0.5558 GB, free: 1.676 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.6327, allocations: 98.31 MB / 0.6518 GB, free: 3.895 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.633, allocations: 81.2 kB / 0.6519 GB, free: 3.852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06532/0.6983, allocations: 25.5 MB / 0.6768 GB, free: 10.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6983, allocations: 4 kB / 0.6768 GB, free: 10.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.221e-05/0.6984, allocations: 16 kB / 0.6768 GB, free: 10.81 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004983/0.7034, allocations: 1.977 MB / 0.6787 GB, free: 8.781 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.7035, allocations: 8.031 kB / 0.6787 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.7037, allocations: 130.8 kB / 0.6789 GB, free: 8.637 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.7068, allocations: 0.5603 MB / 0.6794 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7082, allocations: 0.7322 MB / 0.6801 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.7085, allocations: 264.2 kB / 0.6804 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.7086, allocations: 72 kB / 0.6805 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.7109, allocations: 1.151 MB / 0.6816 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.711, allocations: 0 / 0.6816 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.7111, allocations: 28 kB / 0.6816 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.7111, allocations: 20 kB / 0.6816 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.7136, allocations: 1.243 MB / 0.6828 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.7198, allocations: 3.538 MB / 0.6863 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.7221, allocations: 1.488 MB / 0.6877 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.7223, allocations: 28.92 kB / 0.6878 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.7223, allocations: 39.56 kB / 0.6878 GB, free: 15.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.328e-06/0.7223, allocations: 0.75 kB / 0.6878 GB, free: 15.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02854/0.7509, allocations: 8.259 MB / 0.6959 GB, free: 6.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.751, allocations: 64.34 kB / 0.6959 GB, free: 6.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.7523, allocations: 0.7535 MB / 0.6967 GB, free: 5.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.7526, allocations: 41.7 kB / 0.6967 GB, free: 5.918 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.753, allocations: 493 kB / 0.6972 GB, free: 5.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.7534, allocations: 339.1 kB / 0.6975 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.7534, allocations: 12 kB / 0.6975 GB, free: 5.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7536, allocations: 343.1 kB / 0.6978 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.7551, allocations: 0.7086 MB / 0.6985 GB, free: 4.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.7567, allocations: 0.8117 MB / 0.6993 GB, free: 3.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.7582, allocations: 0.7574 MB / 0.7001 GB, free: 2.438 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.7582, allocations: 0 / 0.7001 GB, free: 2.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01403/0.7723, allocations: 4.942 MB / 0.7049 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.7723, allocations: 12 kB / 0.7049 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7724, allocations: 0 / 0.7049 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006507/0.7789, allocations: 2.166 MB / 0.707 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.7798, allocations: 159.8 kB / 0.7072 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.8015, allocations: 9.789 MB / 0.7167 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.8033, allocations: 212 kB / 0.7169 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.8034, allocations: 28 kB / 0.717 GB, free: 1 MB / 0.4948 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.0007158/0.8042, allocations: 233.7 kB / 0.7172 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.8044, allocations: 118.5 kB / 0.7173 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.8185, allocations: 4.959 MB / 0.7221 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.8186, allocations: 15.3 kB / 0.7222 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8186, allocations: 0 / 0.7222 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.061e-05/0.8186, allocations: 7.922 kB / 0.7222 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/0.8364, allocations: 6.562 MB / 0.7286 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.8364, allocations: 0 / 0.7286 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.8373, allocations: 147.8 kB / 0.7287 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007311/0.8447, allocations: 2.055 MB / 0.7307 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/0.845, allocations: 20 kB / 0.7307 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.8654, allocations: 8.655 MB / 0.7392 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8654, allocations: 4.656 kB / 0.7392 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/0.882, allocations: 5.986 MB / 0.745 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/0.8825, allocations: 195.5 kB / 0.7452 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.8827, allocations: 23.89 kB / 0.7453 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8838, allocations: 156.2 kB / 0.7454 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007636/0.8846, allocations: 216.6 kB / 0.7456 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.8847, allocations: 28 kB / 0.7456 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008546/0.8855, allocations: 0.5828 MB / 0.7462 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8855, allocations: 0 / 0.7462 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001292/0.8868, allocations: 427.4 kB / 0.7466 GB, free: 2.281 MB / 0.5261 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.0166/0.9035, allocations: 6.581 MB / 0.753 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006876/0.9104, allocations: 2.588 MB / 0.7556 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9104, allocations: 0.5625 kB / 0.7556 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/0.9153, allocations: 1.795 MB / 0.7573 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.9161, allocations: 76.38 kB / 0.7574 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/0.9418, allocations: 12.5 MB / 0.7696 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008014/0.9427, allocations: 1.107 MB / 0.7707 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.9431, allocations: 69.48 kB / 0.7707 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.9436, allocations: 435.3 kB / 0.7712 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/0.9436, allocations: 0 / 0.7712 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3126/1.256, allocations: 28.74 MB / 0.7992 GB, free: 158.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.256, allocations: 205.5 kB / 0.7994 GB, free: 157.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/4.211, allocations: 8.188 kB / 0.7994 GB, free: 157.8 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)