Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.009434/0.009434, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.659/1.659, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009916/0.0009916, allocations: 102.8 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07095/0.07095, allocations: 12.19 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4419/0.4419, allocations: 78.53 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004975, allocations: 16.06 kB / 0.528 GB, free: 35.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.2592, allocations: 98.3 MB / 0.6916 GB, free: 1.824 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.2595, allocations: 83.95 kB / 0.6917 GB, free: 1.742 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/0.5608, allocations: 20.51 MB / 0.7118 GB, free: 95.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5608, allocations: 0 / 0.7118 GB, free: 95.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.639e-05/0.5609, allocations: 16.19 kB / 0.7118 GB, free: 95.82 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.005083/0.566, allocations: 1.651 MB / 0.7134 GB, free: 94.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5661, allocations: 12.61 kB / 0.7134 GB, free: 94.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002885/0.5664, allocations: 111.4 kB / 0.7135 GB, free: 94.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.5693, allocations: 477.7 kB / 0.714 GB, free: 94.39 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5705, allocations: 0.6163 MB / 0.7146 GB, free: 93.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.5707, allocations: 174.1 kB / 0.7147 GB, free: 93.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.5708, allocations: 66.73 kB / 0.7148 GB, free: 93.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.5725, allocations: 0.9095 MB / 0.7157 GB, free: 93.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5725, allocations: 0 / 0.7157 GB, free: 93.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.5726, allocations: 25.5 kB / 0.7157 GB, free: 93.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5726, allocations: 13.75 kB / 0.7157 GB, free: 93.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.5744, allocations: 0.9699 MB / 0.7167 GB, free: 92.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.5779, allocations: 2.417 MB / 0.719 GB, free: 90.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.5792, allocations: 1.096 MB / 0.7201 GB, free: 90.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.439e-05/0.5793, allocations: 8.188 kB / 0.7201 GB, free: 90.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.5793, allocations: 42.86 kB / 0.7201 GB, free: 90.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/0.5793, allocations: 0 / 0.7201 GB, free: 90.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01722/0.5965, allocations: 6.074 MB / 0.7261 GB, free: 84.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.5966, allocations: 60.06 kB / 0.7261 GB, free: 84.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007994/0.5974, allocations: 0.6413 MB / 0.7268 GB, free: 84.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.5975, allocations: 41.7 kB / 0.7268 GB, free: 84.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.5977, allocations: 404.7 kB / 0.7272 GB, free: 83.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.5979, allocations: 268.1 kB / 0.7274 GB, free: 83.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.598, allocations: 15.94 kB / 0.7274 GB, free: 83.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.5981, allocations: 337.8 kB / 0.7278 GB, free: 83.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/0.5991, allocations: 0.5681 MB / 0.7283 GB, free: 82.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009942/0.6001, allocations: 0.6574 MB / 0.729 GB, free: 81.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6011, allocations: 0.5967 MB / 0.7295 GB, free: 81.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6011, allocations: 0 / 0.7295 GB, free: 81.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.009848/0.611, allocations: 3.966 MB / 0.7334 GB, free: 77.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.611, allocations: 7.953 kB / 0.7334 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.611, allocations: 12.12 kB / 0.7334 GB, free: 77.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004667/0.6157, allocations: 1.696 MB / 0.7351 GB, free: 75.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.6164, allocations: 123.8 kB / 0.7352 GB, free: 75.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/0.6314, allocations: 8.333 MB / 0.7434 GB, free: 66.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.6326, allocations: 155.3 kB / 0.7435 GB, free: 66.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.6327, allocations: 31.98 kB / 0.7435 GB, free: 66.74 MB / 474.7 MB 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.0004293/0.6332, allocations: 214.9 kB / 0.7437 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6333, allocations: 94.78 kB / 0.7438 GB, free: 66.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009466/0.6428, allocations: 3.954 MB / 0.7477 GB, free: 62.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.6428, allocations: 11.95 kB / 0.7477 GB, free: 62.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6428, allocations: 0 / 0.7477 GB, free: 62.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6428, allocations: 3.984 kB / 0.7477 GB, free: 62.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.6538, allocations: 5.285 MB / 0.7529 GB, free: 57.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6538, allocations: 0 / 0.7529 GB, free: 57.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.6543, allocations: 107.8 kB / 0.753 GB, free: 56.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/0.6586, allocations: 1.645 MB / 0.7546 GB, free: 55.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.6587, allocations: 19.98 kB / 0.7546 GB, free: 55.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.6712, allocations: 7.188 MB / 0.7616 GB, free: 47.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6712, allocations: 4 kB / 0.7616 GB, free: 47.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/0.682, allocations: 4.838 MB / 0.7663 GB, free: 43.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.6824, allocations: 183.7 kB / 0.7665 GB, free: 42.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6825, allocations: 15.94 kB / 0.7665 GB, free: 42.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.6833, allocations: 119.9 kB / 0.7666 GB, free: 42.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.6837, allocations: 160.4 kB / 0.7668 GB, free: 42.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.6838, allocations: 20 kB / 0.7668 GB, free: 42.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005535/0.6844, allocations: 0.5068 MB / 0.7673 GB, free: 42.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6844, allocations: 0 / 0.7673 GB, free: 42.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009063/0.6853, allocations: 335.7 kB / 0.7676 GB, free: 41.75 MB / 474.7 MB 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.01115/0.6964, allocations: 5.441 MB / 0.7729 GB, free: 36.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.701, allocations: 2.087 MB / 0.775 GB, free: 34.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.701, allocations: 0 / 0.775 GB, free: 34.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.7044, allocations: 1.443 MB / 0.7764 GB, free: 32.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009828/0.7053, allocations: 74.64 kB / 0.7765 GB, free: 32.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.7225, allocations: 10.15 MB / 0.7864 GB, free: 22.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.7229, allocations: 1.032 MB / 0.7874 GB, free: 21.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.7232, allocations: 80.83 kB / 0.7875 GB, free: 21.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.7236, allocations: 327.3 kB / 0.7878 GB, free: 20.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7236, allocations: 7.938 kB / 0.7878 GB, free: 20.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.7596, allocations: 23.83 MB / 0.8111 GB, free: 13.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.7598, allocations: 190.3 kB / 0.8112 GB, free: 12.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.182, allocations: 0 / 0.8112 GB, free: 12.86 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)