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.0009903/0.0009906, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.244/1.244, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009253, allocations: 94.75 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4614/0.4614, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.42e-05, allocations: 4 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3441, allocations: 69.34 MB / 0.5481 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4742, allocations: 96.72 MB / 0.6425 GB, free: 3.695 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4745, allocations: 79.95 kB / 0.6426 GB, free: 3.617 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05717/0.5317, allocations: 21.04 MB / 0.6631 GB, free: 14.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5317, allocations: 0 / 0.6631 GB, free: 14.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.832e-05/0.5318, allocations: 16 kB / 0.6631 GB, free: 14.41 MB / 490.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.004422/0.5362, allocations: 1.469 MB / 0.6646 GB, free: 12.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.5363, allocations: 11.97 kB / 0.6646 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002985/0.5366, allocations: 106.5 kB / 0.6647 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.5395, allocations: 470.2 kB / 0.6651 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.5409, allocations: 0.6021 MB / 0.6657 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.5411, allocations: 192 kB / 0.6659 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.5413, allocations: 55.91 kB / 0.666 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5427, allocations: 0.7016 MB / 0.6667 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5427, allocations: 4 kB / 0.6667 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.5428, allocations: 24 kB / 0.6667 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5428, allocations: 12 kB / 0.6667 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5442, allocations: 0.712 MB / 0.6674 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.5487, allocations: 2.424 MB / 0.6698 GB, free: 7.406 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5498, allocations: 0.8867 MB / 0.6706 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.5506, allocations: 499.6 kB / 0.6711 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.552e-05/0.5507, allocations: 12.78 kB / 0.6711 GB, free: 5.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5508, allocations: 35.34 kB / 0.6711 GB, free: 5.887 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.986e-06/0.5508, allocations: 0 / 0.6711 GB, free: 5.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009776/0.5605, allocations: 3.301 MB / 0.6744 GB, free: 2.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.5606, allocations: 64.12 kB / 0.6744 GB, free: 2.496 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5616, allocations: 0.6297 MB / 0.675 GB, free: 1.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.5618, allocations: 45.64 kB / 0.6751 GB, free: 1.809 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.5621, allocations: 408.7 kB / 0.6755 GB, free: 1.402 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.5624, allocations: 268.1 kB / 0.6757 GB, free: 1.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.5625, allocations: 16 kB / 0.6757 GB, free: 1.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5627, allocations: 333.9 kB / 0.6761 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.5634, allocations: 369.5 kB / 0.6764 GB, free: 436 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3129/0.8763, allocations: 450.4 kB / 0.6768 GB, free: 107.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.8777, allocations: 410.3 kB / 0.6772 GB, free: 107.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.8777, allocations: 0.9375 kB / 0.6772 GB, free: 107.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01196/0.8897, allocations: 3.397 MB / 0.6806 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.8898, allocations: 5.969 kB / 0.6806 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.8898, allocations: 5.797 kB / 0.6806 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/0.8959, allocations: 1.399 MB / 0.6819 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.8967, allocations: 118.6 kB / 0.682 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.9088, allocations: 6.168 MB / 0.6881 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.9102, allocations: 155.8 kB / 0.6882 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.9103, allocations: 27.58 kB / 0.6882 GB, free: 106.2 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.0002329/0.9106, allocations: 137.5 kB / 0.6884 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.9108, allocations: 99.72 kB / 0.6885 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/0.9198, allocations: 3.396 MB / 0.6918 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.9199, allocations: 7.562 kB / 0.6918 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9199, allocations: 0 / 0.6918 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.9199, allocations: 3.562 kB / 0.6918 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.931, allocations: 4.732 MB / 0.6964 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.931, allocations: 3.406 kB / 0.6964 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.9317, allocations: 109.2 kB / 0.6965 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003945/0.9356, allocations: 1.35 MB / 0.6978 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.9358, allocations: 16.72 kB / 0.6979 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009753/0.9455, allocations: 5.325 MB / 0.7031 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9456, allocations: 0 / 0.7031 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.9556, allocations: 4.081 MB / 0.707 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.956, allocations: 184.3 kB / 0.7072 GB, free: 96.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.9563, allocations: 12 kB / 0.7072 GB, free: 96.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/0.9572, allocations: 121.7 kB / 0.7074 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005205/0.9578, allocations: 165.5 kB / 0.7075 GB, free: 96.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.9578, allocations: 24 kB / 0.7075 GB, free: 96.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006328/0.9585, allocations: 0.4933 MB / 0.708 GB, free: 96.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9585, allocations: 0 / 0.708 GB, free: 96.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001117/0.9596, allocations: 348.6 kB / 0.7083 GB, free: 95.94 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.01026/0.9699, allocations: 4.661 MB / 0.7129 GB, free: 91.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.974, allocations: 1.667 MB / 0.7145 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9741, allocations: 3.938 kB / 0.7145 GB, free: 90.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00307/0.9771, allocations: 1.217 MB / 0.7157 GB, free: 89.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.9779, allocations: 75.2 kB / 0.7158 GB, free: 89.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.9811, allocations: 1.392 MB / 0.7171 GB, free: 88.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.9816, allocations: 1.027 MB / 0.7182 GB, free: 87.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.982, allocations: 75.47 kB / 0.7182 GB, free: 87.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.9824, allocations: 330.2 kB / 0.7185 GB, free: 86.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9824, allocations: 4 kB / 0.7185 GB, free: 86.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/1.021, allocations: 23.74 MB / 0.7417 GB, free: 64.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/1.021, allocations: 163 kB / 0.7419 GB, free: 64.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.442, allocations: 0 / 0.7419 GB, free: 64.04 MB / 490.7 MB (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)