Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 180.2 kB / 7.458 MB, free: 2.5 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.09/1.09, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0008632/0.0008631, allocations: 93.62 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3647/0.3647, allocations: 78.1 MB / 409 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1169/0.4816, allocations: 75.5 MB / 484.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.7077, allocations: 69.34 MB / 0.5408 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.8088, allocations: 95.98 MB / 0.6346 GB, free: 8.859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.8091, allocations: 79.95 kB / 0.6347 GB, free: 8.781 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.05597/0.865, allocations: 22.05 MB / 0.6562 GB, free: 2.516 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.8651, allocations: 8 kB / 0.6562 GB, free: 2.508 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.8678, allocations: 486.1 kB / 0.6567 GB, free: 2.031 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.8687, allocations: 0.6134 MB / 0.6573 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.8689, allocations: 160.1 kB / 0.6574 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.869, allocations: 36 kB / 0.6574 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/0.8702, allocations: 0.6821 MB / 0.6581 GB, free: 492 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8713, allocations: 0.6208 MB / 0.6587 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.8713, allocations: 0 / 0.6587 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.8714, allocations: 0 / 0.6587 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.8714, allocations: 19.91 kB / 0.6587 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.8753, allocations: 2.34 MB / 0.661 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.8761, allocations: 0.5235 MB / 0.6615 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.8768, allocations: 472.8 kB / 0.662 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.8769, allocations: 16.64 kB / 0.662 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.877, allocations: 43.22 kB / 0.662 GB, free: 12.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.123e-06/0.877, allocations: 0 / 0.662 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009967/0.8869, allocations: 3.446 MB / 0.6654 GB, free: 8.887 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.887, allocations: 64.06 kB / 0.6655 GB, free: 8.812 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.8878, allocations: 0.5827 MB / 0.666 GB, free: 8.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/0.8878, allocations: 25.7 kB / 0.6661 GB, free: 8.191 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.888, allocations: 264.5 kB / 0.6663 GB, free: 7.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.8883, allocations: 264.1 kB / 0.6666 GB, free: 7.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.8883, allocations: 0 / 0.6666 GB, free: 7.668 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.8884, allocations: 326 kB / 0.6669 GB, free: 7.344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.889, allocations: 365.5 kB / 0.6672 GB, free: 6.988 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.8897, allocations: 441.7 kB / 0.6676 GB, free: 6.527 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.8903, allocations: 395.1 kB / 0.668 GB, free: 6.145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8903, allocations: 3.984 kB / 0.668 GB, free: 6.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.009985/0.9003, allocations: 3.551 MB / 0.6715 GB, free: 2.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9004, allocations: 8 kB / 0.6715 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9004, allocations: 0 / 0.6715 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004573/0.9049, allocations: 1.418 MB / 0.6729 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.9055, allocations: 123.9 kB / 0.673 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1409/1.046, allocations: 5.474 MB / 0.6783 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.047, allocations: 158.8 kB / 0.6785 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/1.048, allocations: 27.11 kB / 0.6785 GB, free: 143.3 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.0001902/1.048, allocations: 115.1 kB / 0.6786 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.048, allocations: 95.03 kB / 0.6787 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/1.057, allocations: 3.519 MB / 0.6822 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/1.057, allocations: 7.438 kB / 0.6822 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.057, allocations: 3.844 kB / 0.6822 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.057, allocations: 7.406 kB / 0.6822 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/1.067, allocations: 4.654 MB / 0.6867 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.067, allocations: 0 / 0.6867 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/1.067, allocations: 107.5 kB / 0.6868 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/1.071, allocations: 1.388 MB / 0.6882 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/1.071, allocations: 3.75 kB / 0.6882 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008796/1.08, allocations: 4.792 MB / 0.6929 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.08, allocations: 0 / 0.6929 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0102/1.09, allocations: 4.198 MB / 0.697 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01167/1.102, allocations: 5.219 MB / 0.7021 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/1.102, allocations: 177.3 kB / 0.7022 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.103, allocations: 5.094 kB / 0.7022 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/1.104, allocations: 118.1 kB / 0.7023 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/1.104, allocations: 97.64 kB / 0.7024 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/1.104, allocations: 16.12 kB / 0.7025 GB, free: 139.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005002/1.104, allocations: 460.7 kB / 0.7029 GB, free: 139.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001397/1.106, allocations: 311.5 kB / 0.7032 GB, free: 139.6 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.000214/1.106, allocations: 132.5 kB / 0.7033 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003792/1.11, allocations: 1.607 MB / 0.7049 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.11, allocations: 0 / 0.7049 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002941/1.113, allocations: 1.183 MB / 0.706 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/1.113, allocations: 52.34 kB / 0.7061 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/1.116, allocations: 1.232 MB / 0.7073 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/1.116, allocations: 1.068 MB / 0.7083 GB, free: 138 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/1.116, allocations: 0 / 0.7083 GB, free: 138 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)