Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_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.003593/0.003593, allocations: 182.9 kB / 7.461 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.551/1.551, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0008832/0.0008831, allocations: 101 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.463/0.463, allocations: 78.06 MB / 409 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1759/0.639, allocations: 75.49 MB / 484.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/1.016, allocations: 69.35 MB / 0.5408 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/1.143, allocations: 96.12 MB / 0.6347 GB, free: 8.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.143, allocations: 79.95 kB / 0.6348 GB, free: 8.594 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.06638/1.21, allocations: 22.45 MB / 0.6567 GB, free: 1.941 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.21, allocations: 12 kB / 0.6567 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/1.213, allocations: 490 kB / 0.6572 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/1.215, allocations: 0.5887 MB / 0.6577 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/1.215, allocations: 156.1 kB / 0.6579 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/1.215, allocations: 36 kB / 0.6579 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/1.217, allocations: 0.7095 MB / 0.6586 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.218, allocations: 0.6482 MB / 0.6592 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.218, allocations: 0 / 0.6592 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/1.218, allocations: 0 / 0.6592 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.218, allocations: 19.91 kB / 0.6593 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/1.224, allocations: 2.424 MB / 0.6616 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.226, allocations: 0.6097 MB / 0.6622 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/1.227, allocations: 0.4895 MB / 0.6627 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/1.227, allocations: 16.77 kB / 0.6627 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.227, allocations: 43.28 kB / 0.6628 GB, free: 11.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 4.819e-06/1.227, allocations: 3.984 kB / 0.6628 GB, free: 11.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01224/1.239, allocations: 3.671 MB / 0.6664 GB, free: 7.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.239, allocations: 60.19 kB / 0.6664 GB, free: 7.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.24, allocations: 0.575 MB / 0.667 GB, free: 7.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/1.24, allocations: 25.7 kB / 0.667 GB, free: 7.156 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/1.241, allocations: 260.7 kB / 0.6672 GB, free: 6.898 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/1.241, allocations: 275.8 kB / 0.6675 GB, free: 6.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.241, allocations: 4 kB / 0.6675 GB, free: 6.621 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/1.242, allocations: 341.8 kB / 0.6678 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/1.242, allocations: 381.5 kB / 0.6682 GB, free: 5.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/1.243, allocations: 461.8 kB / 0.6686 GB, free: 5.434 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/1.244, allocations: 426 kB / 0.669 GB, free: 5.023 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.244, allocations: 0 / 0.669 GB, free: 5.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01231/1.256, allocations: 3.725 MB / 0.6727 GB, free: 1.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.256, allocations: 4 kB / 0.6727 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.256, allocations: 8.188 kB / 0.6727 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2366/1.493, allocations: 1.522 MB / 0.6742 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/1.494, allocations: 124 kB / 0.6743 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/1.507, allocations: 6.08 MB / 0.6802 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.508, allocations: 154.9 kB / 0.6804 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/1.508, allocations: 26.94 kB / 0.6804 GB, free: 142.8 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.0002848/1.509, allocations: 114 kB / 0.6805 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.509, allocations: 98.41 kB / 0.6806 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.52, allocations: 3.748 MB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/1.52, allocations: 11.62 kB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.52, allocations: 0 / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.52, allocations: 6.797 kB / 0.6843 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.532, allocations: 5.009 MB / 0.6892 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.532, allocations: 0 / 0.6892 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/1.533, allocations: 105.1 kB / 0.6893 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005323/1.538, allocations: 1.503 MB / 0.6908 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/1.538, allocations: 8.484 kB / 0.6908 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.55, allocations: 5.299 MB / 0.6959 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.55, allocations: 0 / 0.6959 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01244/1.562, allocations: 4.405 MB / 0.7002 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01331/1.576, allocations: 5.437 MB / 0.7055 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/1.576, allocations: 184.8 kB / 0.7057 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.576, allocations: 0 / 0.7057 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/1.577, allocations: 114.7 kB / 0.7058 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/1.578, allocations: 97.02 kB / 0.7059 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/1.578, allocations: 20.5 kB / 0.7059 GB, free: 139 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004989/1.578, allocations: 465.3 kB / 0.7064 GB, free: 139 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00161/1.58, allocations: 338.8 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.0002748/1.58, allocations: 130.1 kB / 0.7068 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004216/1.584, allocations: 1.671 MB / 0.7085 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.584, allocations: 4.062 kB / 0.7085 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003264/1.588, allocations: 1.214 MB / 0.7097 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/1.588, allocations: 60.17 kB / 0.7097 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/1.592, 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.0007208/1.593, allocations: 1.087 MB / 0.7121 GB, free: 136.7 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/1.593, allocations: 4 kB / 0.7121 GB, free: 136.7 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)