Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_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.008506/0.008506, allocations: 171.1 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.493/1.493, allocations: 223.2 MB / 239 MB, free: 88 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.0009053/0.0009053, allocations: 99.2 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5307/0.5307, allocations: 79.44 MB / 420.8 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 15.98 kB / 0.4891 GB, free: 6.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1932, allocations: 69.51 MB / 0.557 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.6777, allocations: 97.37 MB / 0.6521 GB, free: 3.801 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.678, allocations: 79.95 kB / 0.6522 GB, free: 3.723 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05712/0.7351, allocations: 21.35 MB / 0.673 GB, free: 14.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7352, allocations: 0 / 0.673 GB, free: 14.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.603e-05/0.7353, allocations: 20 kB / 0.673 GB, free: 14.45 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.005051/0.7403, allocations: 1.649 MB / 0.6747 GB, free: 12.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.7404, allocations: 12.03 kB / 0.6747 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003245/0.7407, allocations: 106.5 kB / 0.6748 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.7436, allocations: 462.2 kB / 0.6752 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.7455, allocations: 0.6215 MB / 0.6758 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/0.7457, allocations: 180.1 kB / 0.676 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.746, allocations: 60 kB / 0.676 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.7483, allocations: 0.9161 MB / 0.6769 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.7483, allocations: 0 / 0.6769 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.7484, allocations: 24 kB / 0.677 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.7484, allocations: 19.94 kB / 0.677 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.7507, allocations: 0.9655 MB / 0.6779 GB, free: 9.312 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.7557, allocations: 2.412 MB / 0.6803 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.7575, allocations: 1.092 MB / 0.6813 GB, free: 5.617 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.7576, allocations: 16.64 kB / 0.6814 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7576, allocations: 43.22 kB / 0.6814 GB, free: 5.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.7576, allocations: 0 / 0.6814 GB, free: 5.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.02063/0.7783, allocations: 6.071 MB / 0.6873 GB, free: 15.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.7784, allocations: 66.41 kB / 0.6874 GB, free: 15.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.7797, allocations: 0.6413 MB / 0.688 GB, free: 14.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.7798, allocations: 37.7 kB / 0.6881 GB, free: 14.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.7802, allocations: 412.6 kB / 0.6885 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.7806, allocations: 264.1 kB / 0.6887 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.7807, allocations: 16 kB / 0.6887 GB, free: 14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7808, allocations: 333.9 kB / 0.689 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.7823, allocations: 0.5681 MB / 0.6896 GB, free: 13.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7838, allocations: 0.6535 MB / 0.6902 GB, free: 12.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.7852, allocations: 0.5967 MB / 0.6908 GB, free: 11.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7853, allocations: 4 kB / 0.6908 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01163/0.7969, allocations: 3.96 MB / 0.6947 GB, free: 7.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.7969, allocations: 8 kB / 0.6947 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.797, allocations: 0 / 0.6947 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005377/0.8023, allocations: 1.707 MB / 0.6964 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.803, allocations: 119.9 kB / 0.6965 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.821, allocations: 8.35 MB / 0.7046 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8223, allocations: 151.3 kB / 0.7048 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.8225, allocations: 27.98 kB / 0.7048 GB, free: 13.35 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.0006139/0.8231, allocations: 214.3 kB / 0.705 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.8234, allocations: 95 kB / 0.7051 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.8348, allocations: 3.957 MB / 0.709 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.8348, allocations: 8 kB / 0.709 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8349, allocations: 0 / 0.709 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.8349, allocations: 3.984 kB / 0.709 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.8492, allocations: 5.288 MB / 0.7141 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.8492, allocations: 6.219 kB / 0.7141 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007505/0.85, allocations: 99.88 kB / 0.7142 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005073/0.8551, allocations: 1.652 MB / 0.7158 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.8553, allocations: 12 kB / 0.7159 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.8709, allocations: 7.189 MB / 0.7229 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8709, allocations: 4 kB / 0.7229 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.8841, allocations: 4.838 MB / 0.7276 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.8846, allocations: 187.7 kB / 0.7278 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/0.8849, allocations: 16 kB / 0.7278 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.886, allocations: 115.9 kB / 0.7279 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006073/0.8866, allocations: 164.4 kB / 0.7281 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.8867, allocations: 21.12 kB / 0.7281 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008368/0.8876, allocations: 0.5029 MB / 0.7286 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8876, allocations: 0 / 0.7286 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001362/0.8889, allocations: 343.6 kB / 0.7289 GB, free: 4.352 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 () * Number of clocked 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.01365/0.9026, allocations: 5.433 MB / 0.7342 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005812/0.9085, allocations: 2.095 MB / 0.7363 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9085, allocations: 0 / 0.7363 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004052/0.9126, allocations: 1.436 MB / 0.7377 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.9135, allocations: 72.23 kB / 0.7377 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.9352, allocations: 10.16 MB / 0.7477 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.9361, allocations: 1.032 MB / 0.7487 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000488/0.9366, allocations: 80.83 kB / 0.7487 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.9371, allocations: 327.3 kB / 0.7491 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.223e-06/0.9372, allocations: 0 / 0.7491 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.9876, allocations: 23.84 MB / 0.7723 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.9879, allocations: 196.7 kB / 0.7725 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.699, allocations: 0 / 0.7725 GB, free: 7.574 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)