Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.2 MB / 218.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008864, allocations: 86.66 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07226/0.07226, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2863/0.2863, allocations: 78.03 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.875e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1266, allocations: 69.24 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5818, allocations: 101 MB / 0.6876 GB, free: 15.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5821, allocations: 81.33 kB / 0.6876 GB, free: 15.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06612/0.6482, allocations: 24.63 MB / 0.7117 GB, free: 10.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6482, allocations: 0 / 0.7117 GB, free: 10.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.436e-05/0.6483, allocations: 20 kB / 0.7117 GB, free: 10.45 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004055/0.6524, allocations: 1.628 MB / 0.7133 GB, free: 8.883 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.6524, allocations: 19.98 kB / 0.7133 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.6526, allocations: 128 kB / 0.7134 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.6552, allocations: 489.3 kB / 0.7139 GB, free: 8.332 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6564, allocations: 0.6872 MB / 0.7146 GB, free: 7.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.6567, allocations: 219.7 kB / 0.7148 GB, free: 7.512 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.6568, allocations: 73.28 kB / 0.7149 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6583, allocations: 0.9141 MB / 0.7158 GB, free: 6.852 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6584, allocations: 7.938 kB / 0.7158 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.6584, allocations: 34.06 kB / 0.7158 GB, free: 6.832 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.6585, allocations: 20 kB / 0.7158 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.6598, allocations: 0.8044 MB / 0.7166 GB, free: 6.305 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.6648, allocations: 3 MB / 0.7195 GB, free: 3.906 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.6661, allocations: 1.037 MB / 0.7205 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.6669, allocations: 0.5389 MB / 0.7211 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.906e-05/0.667, allocations: 16.7 kB / 0.7211 GB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.667, allocations: 50.03 kB / 0.7211 GB, free: 2.723 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.575e-06/0.667, allocations: 0 / 0.7211 GB, free: 2.723 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01047/0.6775, allocations: 3.515 MB / 0.7246 GB, free: 15.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.6776, allocations: 93.84 kB / 0.7247 GB, free: 15.58 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.6788, allocations: 0.7367 MB / 0.7254 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.679, allocations: 41.33 kB / 0.7254 GB, free: 14.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.6793, allocations: 475.5 kB / 0.7259 GB, free: 14.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.6796, allocations: 313.9 kB / 0.7262 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.6797, allocations: 16.81 kB / 0.7262 GB, free: 14.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6798, allocations: 335.4 kB / 0.7265 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.6805, allocations: 413.6 kB / 0.7269 GB, free: 13.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/0.6813, allocations: 0.5159 MB / 0.7274 GB, free: 13.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/0.6821, allocations: 442.1 kB / 0.7278 GB, free: 13.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6821, allocations: 0 / 0.7278 GB, free: 13.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01065/0.6928, allocations: 3.661 MB / 0.7314 GB, free: 10.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.6932, allocations: 0.8839 MB / 0.7323 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6932, allocations: 0 / 0.7323 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.6983, allocations: 1.533 MB / 0.7338 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.699, allocations: 134.5 kB / 0.7339 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.7023, allocations: 1.773 MB / 0.7356 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.7036, allocations: 192.3 kB / 0.7358 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.7037, allocations: 27.56 kB / 0.7358 GB, free: 6.227 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7038, allocations: 4 kB / 0.7358 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01028/0.714, allocations: 3.508 MB / 0.7393 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.7141, allocations: 4 kB / 0.7393 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004915/0.719, allocations: 1.515 MB / 0.7407 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.7199, allocations: 150.5 kB / 0.7409 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.7339, allocations: 6.963 MB / 0.7477 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7354, allocations: 171.2 kB / 0.7478 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.7355, allocations: 28 kB / 0.7479 GB, free: 11.77 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: 10 * Number of states: 0 () * Number of discrete variables: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.7359, allocations: 158.3 kB / 0.748 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.7361, allocations: 110.6 kB / 0.7481 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.7467, allocations: 3.631 MB / 0.7517 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.7467, allocations: 8 kB / 0.7517 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7468, allocations: 0 / 0.7517 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.7468, allocations: 3.984 kB / 0.7517 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.7598, allocations: 5.071 MB / 0.7566 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.7599, allocations: 0 / 0.7566 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.7607, allocations: 123.9 kB / 0.7568 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004876/0.7656, allocations: 1.464 MB / 0.7582 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.7658, allocations: 19.98 kB / 0.7582 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.7781, allocations: 6.169 MB / 0.7642 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7782, allocations: 0 / 0.7642 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.7902, allocations: 4.355 MB / 0.7685 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.7908, allocations: 199.5 kB / 0.7687 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.791, allocations: 16 kB / 0.7687 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.792, allocations: 139.9 kB / 0.7688 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006081/0.7926, allocations: 192.4 kB / 0.769 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.7927, allocations: 16 kB / 0.769 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008922/0.7936, allocations: 0.5885 MB / 0.7696 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.763e-06/0.7936, allocations: 4 kB / 0.7696 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001609/0.7952, allocations: 0.5654 MB / 0.7702 GB, free: 4.617 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,thLoad.firstOrder.state,thLoad.Limiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0123/0.8075, allocations: 4.953 MB / 0.775 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008291/0.8159, allocations: 2.979 MB / 0.7779 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8159, allocations: 0 / 0.7779 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003776/0.8197, allocations: 1.391 MB / 0.7793 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.8205, allocations: 88.3 kB / 0.7793 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.8245, allocations: 1.747 MB / 0.781 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.8252, allocations: 1.103 MB / 0.7821 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006956/0.8259, allocations: 180.3 kB / 0.7823 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.8264, allocations: 399.3 kB / 0.7827 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.8264, allocations: 0 / 0.7827 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05702/0.8834, allocations: 33.22 MB / 0.8151 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.8837, allocations: 170.8 kB / 0.8153 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.823, allocations: 3.938 kB / 0.8153 GB, free: 6.293 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)