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.001259/0.001259, allocations: 180.2 kB / 7.651 MB, free: 1.414 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.384/1.384, allocations: 221.5 MB / 229.6 MB, free: 3.195 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.001087/0.001087, allocations: 97.77 kB / 280.5 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5108/0.5108, allocations: 78.94 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.35e-05, allocations: 7.984 kB / 486 MB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3666, allocations: 69.52 MB / 0.5425 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.4963, allocations: 96.63 MB / 0.6369 GB, free: 7.035 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4966, allocations: 79.95 kB / 0.637 GB, free: 6.957 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05757/0.5542, allocations: 20.99 MB / 0.6575 GB, free: 1.816 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5542, allocations: 7.938 kB / 0.6575 GB, free: 1.809 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.87e-05/0.5543, allocations: 20 kB / 0.6575 GB, free: 1.789 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.004247/0.5586, allocations: 1.465 MB / 0.6589 GB, free: 284 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5587, allocations: 8.031 kB / 0.6589 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/0.5616, allocations: 470.3 kB / 0.6594 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5632, allocations: 0.5943 MB / 0.66 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.5634, allocations: 172 kB / 0.6601 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.5636, allocations: 39.84 kB / 0.6602 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001389/0.565, allocations: 0.6743 MB / 0.6608 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5663, allocations: 0.6247 MB / 0.6614 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.5663, allocations: 0 / 0.6614 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.5664, allocations: 4 kB / 0.6614 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.5665, allocations: 12 kB / 0.6615 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.5712, allocations: 2.309 MB / 0.6637 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5723, allocations: 0.8679 MB / 0.6646 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.573, allocations: 472.3 kB / 0.665 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.5731, allocations: 20.75 kB / 0.665 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5731, allocations: 39.34 kB / 0.6651 GB, free: 9.738 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.565e-06/0.5731, allocations: 0 / 0.6651 GB, free: 9.738 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009881/0.583, allocations: 3.235 MB / 0.6682 GB, free: 6.488 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.5831, allocations: 64.12 kB / 0.6683 GB, free: 6.414 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5842, allocations: 0.5789 MB / 0.6688 GB, free: 5.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.5844, allocations: 25.7 kB / 0.6689 GB, free: 5.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.5847, allocations: 408.5 kB / 0.6693 GB, free: 5.395 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.5851, allocations: 264 kB / 0.6695 GB, free: 5.133 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.5852, allocations: 0 / 0.6695 GB, free: 5.133 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5853, allocations: 338 kB / 0.6698 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.586, allocations: 357.5 kB / 0.6702 GB, free: 4.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.5866, allocations: 437.8 kB / 0.6706 GB, free: 3.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.5873, allocations: 384.5 kB / 0.671 GB, free: 3.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5873, allocations: 0 / 0.671 GB, free: 3.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.009901/0.5972, allocations: 3.344 MB / 0.6742 GB, free: 268 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.5973, allocations: 4 kB / 0.6742 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5973, allocations: 4 kB / 0.6742 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3388/0.9361, allocations: 1.355 MB / 0.6756 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.9369, allocations: 121.9 kB / 0.6757 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.9495, allocations: 6.002 MB / 0.6815 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.9507, allocations: 141.3 kB / 0.6817 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.9508, allocations: 26.53 kB / 0.6817 GB, free: 106 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.0002409/0.951, allocations: 121.7 kB / 0.6818 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009635/0.9607, allocations: 3.243 MB / 0.685 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.9611, allocations: 91.47 kB / 0.6851 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009404/0.9705, allocations: 3.327 MB / 0.6883 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.9706, allocations: 12.16 kB / 0.6883 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9706, allocations: 1.219 kB / 0.6883 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.9706, allocations: 3.234 kB / 0.6883 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.9809, allocations: 4.593 MB / 0.6928 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.981, allocations: 3.953 kB / 0.6928 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.9815, allocations: 98.86 kB / 0.6929 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003758/0.9853, allocations: 1.334 MB / 0.6942 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.9854, allocations: 5.672 kB / 0.6942 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008684/0.9941, allocations: 5.199 MB / 0.6993 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.9941, allocations: 2.875 kB / 0.6993 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009842/1.004, allocations: 4.022 MB / 0.7032 GB, free: 99.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/1.004, allocations: 182.7 kB / 0.7034 GB, free: 99.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.004, allocations: 0 / 0.7034 GB, free: 99.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/1.005, allocations: 104.9 kB / 0.7035 GB, free: 99.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/1.006, allocations: 169 kB / 0.7037 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/1.006, allocations: 18.53 kB / 0.7037 GB, free: 99.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004967/1.006, allocations: 458.7 kB / 0.7041 GB, free: 99.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.006, allocations: 0 / 0.7041 GB, free: 99.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001063/1.007, allocations: 309.9 kB / 0.7044 GB, free: 99.42 MB / 490.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 () * 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.009812/1.017, allocations: 4.59 MB / 0.7089 GB, free: 96.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003829/1.021, allocations: 1.601 MB / 0.7105 GB, free: 95.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.021, allocations: 0 / 0.7105 GB, free: 95.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/1.024, allocations: 1.195 MB / 0.7116 GB, free: 94.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/1.025, allocations: 47.31 kB / 0.7117 GB, free: 93.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/1.027, allocations: 1.331 MB / 0.713 GB, free: 92.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.028, allocations: 1.027 MB / 0.714 GB, free: 91.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002852/1.028, allocations: 79.47 kB / 0.7141 GB, free: 91.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.028, allocations: 330.2 kB / 0.7144 GB, free: 91.52 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/1.028, allocations: 0 / 0.7144 GB, free: 91.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04191/1.07, allocations: 22.14 MB / 0.736 GB, free: 71.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.071, allocations: 125.9 kB / 0.7361 GB, free: 70.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.686, allocations: 1.625 kB / 0.7361 GB, free: 70.89 MB / 490.7 MB (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)