Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.0009494/0.0009494, 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.46/1.46, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009676/0.0009675, allocations: 90.95 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5198/0.5198, allocations: 78.07 MB / 409.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.93e-05, allocations: 7.938 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 69.36 MB / 0.5414 GB, free: 6.719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.6104, allocations: 96.05 MB / 0.6352 GB, free: 3.355 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.6107, allocations: 80.48 kB / 0.6353 GB, free: 3.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05425/0.6649, allocations: 20.77 MB / 0.6555 GB, free: 14.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.665, allocations: 0 / 0.6555 GB, free: 14.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.583e-05/0.665, allocations: 21.31 kB / 0.6556 GB, free: 14.57 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004105/0.6691, allocations: 1.477 MB / 0.657 GB, free: 13.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6692, allocations: 8.031 kB / 0.657 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.6719, allocations: 466.2 kB / 0.6575 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.673, allocations: 0.5983 MB / 0.658 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.6732, allocations: 164.1 kB / 0.6582 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6733, allocations: 35.91 kB / 0.6582 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001157/0.6745, allocations: 0.6781 MB / 0.6589 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6756, allocations: 0.6209 MB / 0.6595 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6756, allocations: 7.938 kB / 0.6595 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.6757, allocations: 7.984 kB / 0.6595 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6757, allocations: 12 kB / 0.6595 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.6796, allocations: 2.305 MB / 0.6618 GB, free: 8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.6806, allocations: 0.8601 MB / 0.6626 GB, free: 7.051 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.6812, allocations: 476.8 kB / 0.6631 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.6813, allocations: 16.77 kB / 0.6631 GB, free: 6.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.6814, allocations: 35.34 kB / 0.6631 GB, free: 6.527 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.6814, allocations: 0 / 0.6631 GB, free: 6.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.009651/0.691, allocations: 3.251 MB / 0.6663 GB, free: 3.262 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.6911, allocations: 60.19 kB / 0.6664 GB, free: 3.191 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.6921, allocations: 0.575 MB / 0.6669 GB, free: 2.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.6922, allocations: 25.7 kB / 0.6669 GB, free: 2.578 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.6926, allocations: 417 kB / 0.6673 GB, free: 2.168 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.6929, allocations: 256.1 kB / 0.6676 GB, free: 1.914 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.693, allocations: 0 / 0.6676 GB, free: 1.914 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6931, allocations: 334 kB / 0.6679 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.6937, allocations: 357.5 kB / 0.6682 GB, free: 1.234 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.6943, allocations: 437.8 kB / 0.6687 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/0.6949, allocations: 389.2 kB / 0.669 GB, free: 416 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6949, allocations: 0 / 0.669 GB, free: 416 kB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.009909/0.7048, allocations: 3.345 MB / 0.6723 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7049, allocations: 4 kB / 0.6723 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7049, allocations: 4 kB / 0.6723 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/0.7095, allocations: 1.355 MB / 0.6736 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.7102, allocations: 127.8 kB / 0.6737 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.7215, allocations: 6.013 MB / 0.6796 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.7228, allocations: 131.4 kB / 0.6797 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.7229, allocations: 29.02 kB / 0.6798 GB, free: 5.27 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.7232, allocations: 113.7 kB / 0.6799 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009406/0.7326, allocations: 3.251 MB / 0.6831 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.7329, allocations: 94.88 kB / 0.6831 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009595/0.7425, allocations: 3.321 MB / 0.6864 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.7425, allocations: 11.95 kB / 0.6864 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7425, allocations: 0 / 0.6864 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.7425, allocations: 3.984 kB / 0.6864 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.7538, allocations: 4.59 MB / 0.6909 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.7538, allocations: 0 / 0.6909 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.7544, allocations: 103.9 kB / 0.691 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004143/0.7586, allocations: 1.328 MB / 0.6923 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/0.7587, allocations: 3.984 kB / 0.6923 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009844/0.7685, allocations: 5.212 MB / 0.6974 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7685, allocations: 0 / 0.6974 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.7796, allocations: 4.015 MB / 0.7013 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.78, allocations: 175.8 kB / 0.7015 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7801, allocations: 0 / 0.7015 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.781, allocations: 108.6 kB / 0.7016 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/0.7815, allocations: 160.6 kB / 0.7017 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.7816, allocations: 23.98 kB / 0.7017 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000583/0.7822, allocations: 459.1 kB / 0.7022 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7822, allocations: 0 / 0.7022 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009688/0.7831, allocations: 307.5 kB / 0.7025 GB, free: 13.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/0.7942, allocations: 4.606 MB / 0.707 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004172/0.7984, allocations: 1.597 MB / 0.7085 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7984, allocations: 0 / 0.7085 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.8017, allocations: 1.191 MB / 0.7097 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.8025, allocations: 51.89 kB / 0.7097 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.8053, allocations: 1.312 MB / 0.711 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.806, allocations: 1.036 MB / 0.712 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.8063, allocations: 80.78 kB / 0.7121 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.8067, allocations: 323.3 kB / 0.7124 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.8067, allocations: 0 / 0.7124 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.853, allocations: 22.13 MB / 0.734 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.8533, allocations: 111.4 kB / 0.7341 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.513, allocations: 0 / 0.7341 GB, free: 13.33 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)