Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.002066/0.002066, allocations: 180.1 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.067/1.067, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0008441/0.0008438, allocations: 100.4 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3665/0.3665, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.118/0.4845, allocations: 75.5 MB / 484.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.742, allocations: 69.33 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.8433, allocations: 96.12 MB / 0.6347 GB, free: 8.785 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.8436, allocations: 79.95 kB / 0.6348 GB, free: 8.707 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.05714/0.9007, allocations: 22.46 MB / 0.6567 GB, free: 2.043 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9008, allocations: 8 kB / 0.6567 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.9035, allocations: 498 kB / 0.6572 GB, free: 1.547 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.9043, allocations: 0.5887 MB / 0.6578 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.9045, allocations: 160.1 kB / 0.6579 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.9046, allocations: 36 kB / 0.658 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001211/0.9058, allocations: 0.7056 MB / 0.6586 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.907, allocations: 0.652 MB / 0.6593 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.907, allocations: 0 / 0.6593 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.9071, allocations: 0 / 0.6593 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.9071, allocations: 19.91 kB / 0.6593 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.9111, allocations: 2.416 MB / 0.6617 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.9122, allocations: 0.6133 MB / 0.6623 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006852/0.9129, allocations: 493.4 kB / 0.6627 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.913, allocations: 16.78 kB / 0.6627 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.913, allocations: 43.33 kB / 0.6628 GB, free: 11.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.094e-06/0.913, allocations: 3.938 kB / 0.6628 GB, free: 11.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01094/0.9239, allocations: 3.671 MB / 0.6664 GB, free: 7.949 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.924, allocations: 60.19 kB / 0.6664 GB, free: 7.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.9247, allocations: 0.575 MB / 0.667 GB, free: 7.297 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.9248, allocations: 25.7 kB / 0.667 GB, free: 7.266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.925, allocations: 256.7 kB / 0.6673 GB, free: 7.012 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.9252, allocations: 279.8 kB / 0.6675 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.9253, allocations: 0 / 0.6675 GB, free: 6.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9254, allocations: 341.9 kB / 0.6679 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.926, allocations: 381.5 kB / 0.6682 GB, free: 6.023 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.9267, allocations: 457.8 kB / 0.6687 GB, free: 5.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.9274, allocations: 429.9 kB / 0.6691 GB, free: 5.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9274, allocations: 0 / 0.6691 GB, free: 5.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0111/0.9385, allocations: 3.725 MB / 0.6727 GB, free: 1.391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9385, allocations: 4 kB / 0.6727 GB, free: 1.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9385, allocations: 4 kB / 0.6727 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1473/1.086, allocations: 1.536 MB / 0.6742 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/1.086, allocations: 119.7 kB / 0.6743 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.098, allocations: 6.083 MB / 0.6803 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.099, allocations: 152.2 kB / 0.6804 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/1.099, allocations: 26.8 kB / 0.6804 GB, free: 142.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv protected = true ) 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.099, allocations: 111.4 kB / 0.6805 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.099, allocations: 102.6 kB / 0.6806 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.109, allocations: 3.742 MB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.11, allocations: 14.62 kB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.11, allocations: 2.781 kB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.11, allocations: 4.312 kB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.121, allocations: 5.004 MB / 0.6892 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.121, allocations: 0 / 0.6892 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/1.122, allocations: 106.9 kB / 0.6893 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004786/1.126, allocations: 1.511 MB / 0.6908 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/1.127, allocations: 11.67 kB / 0.6908 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.137, allocations: 5.288 MB / 0.696 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.137, allocations: 1.5 kB / 0.696 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01165/1.148, allocations: 4.4 MB / 0.7003 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01243/1.161, allocations: 5.441 MB / 0.7056 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/1.161, allocations: 183.3 kB / 0.7057 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/1.161, allocations: 4.781 kB / 0.7058 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/1.162, allocations: 118.7 kB / 0.7059 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/1.162, allocations: 93.83 kB / 0.706 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/1.163, allocations: 27.42 kB / 0.706 GB, free: 139 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004851/1.163, allocations: 462.8 kB / 0.7064 GB, free: 138.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001445/1.165, allocations: 338.2 kB / 0.7067 GB, free: 138.9 MB / 490.7 MB 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,mixed.x,mixed.y) * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002127/1.165, allocations: 129 kB / 0.7069 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003816/1.169, allocations: 1.673 MB / 0.7085 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.169, allocations: 0 / 0.7085 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003039/1.172, allocations: 1.214 MB / 0.7097 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/1.172, allocations: 66.58 kB / 0.7098 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/1.175, allocations: 1.315 MB / 0.711 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/1.175, allocations: 1.087 MB / 0.7121 GB, free: 136.7 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/1.175, allocations: 0 / 0.7121 GB, free: 136.7 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)