Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",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.002054/0.002054, allocations: 178.3 kB / 7.455 MB, free: 2.508 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.081/1.081, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0008169/0.0008169, allocations: 96.8 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.3755/0.3755, allocations: 78.11 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1238/0.4993, allocations: 75.49 MB / 484.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.7484, allocations: 69.33 MB / 0.5408 GB, free: 21.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.8506, allocations: 96.04 MB / 0.6346 GB, free: 8.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.8508, allocations: 79.95 kB / 0.6347 GB, free: 8.691 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.05842/0.9093, allocations: 22.28 MB / 0.6565 GB, free: 2.219 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.9093, allocations: 8 kB / 0.6565 GB, free: 2.211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.9121, allocations: 490 kB / 0.6569 GB, free: 1.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.9132, allocations: 0.5809 MB / 0.6575 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.9134, allocations: 164.1 kB / 0.6577 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.9135, allocations: 36 kB / 0.6577 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001365/0.9149, allocations: 0.7211 MB / 0.6584 GB, free: 172 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.9162, allocations: 0.6405 MB / 0.659 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.9162, allocations: 4 kB / 0.659 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.9163, allocations: 3.984 kB / 0.659 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.9163, allocations: 16 kB / 0.659 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.9205, allocations: 2.41 MB / 0.6614 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/0.9215, allocations: 0.5892 MB / 0.662 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.9222, allocations: 493.2 kB / 0.6624 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.827e-05/0.9224, allocations: 16.77 kB / 0.6625 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.9224, allocations: 51.33 kB / 0.6625 GB, free: 11.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.415e-06/0.9224, allocations: 0 / 0.6625 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01044/0.9328, allocations: 3.55 MB / 0.666 GB, free: 8.273 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.9329, allocations: 64.19 kB / 0.666 GB, free: 8.199 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.9336, allocations: 0.5789 MB / 0.6666 GB, free: 7.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.9337, allocations: 25.7 kB / 0.6666 GB, free: 7.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.9338, allocations: 256.7 kB / 0.6669 GB, free: 7.328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.9341, allocations: 287.7 kB / 0.6671 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.9342, allocations: 0 / 0.6671 GB, free: 7.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.9343, allocations: 334 kB / 0.6675 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.9349, allocations: 381.5 kB / 0.6678 GB, free: 6.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.9356, allocations: 469.8 kB / 0.6683 GB, free: 5.855 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.9363, allocations: 414 kB / 0.6687 GB, free: 5.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9363, allocations: 4 kB / 0.6687 GB, free: 5.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0108/0.9471, allocations: 3.667 MB / 0.6723 GB, free: 1.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9471, allocations: 4 kB / 0.6723 GB, free: 1.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.9472, allocations: 4 kB / 0.6723 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005232/0.9524, allocations: 1.48 MB / 0.6737 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.953, allocations: 131.8 kB / 0.6738 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2032/1.156, allocations: 6.09 MB / 0.6798 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.157, allocations: 154.9 kB / 0.6799 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/1.158, allocations: 29.22 kB / 0.68 GB, free: 77.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 exponentialRecovery.xq:VARIABLE(start = 0.0 protected = true ) type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 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 (60): * Single equations (assignments): 59 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002057/1.158, allocations: 119.1 kB / 0.6801 GB, free: 77.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.158, allocations: 97.25 kB / 0.6802 GB, free: 77.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009635/1.167, allocations: 3.636 MB / 0.6837 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.168, allocations: 6.781 kB / 0.6837 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/1.168, allocations: 0 / 0.6837 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.168, allocations: 11.08 kB / 0.6837 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.178, allocations: 4.839 MB / 0.6885 GB, free: 76.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.178, allocations: 3.906 kB / 0.6885 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/1.179, allocations: 109.9 kB / 0.6886 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/1.183, allocations: 1.447 MB / 0.69 GB, free: 76.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/1.183, allocations: 3.844 kB / 0.69 GB, free: 76.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.194, allocations: 5.357 MB / 0.6952 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.194, allocations: 3.891 kB / 0.6952 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01205/1.206, allocations: 4.382 MB / 0.6995 GB, free: 74.83 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01215/1.218, allocations: 5.436 MB / 0.7048 GB, free: 72.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/1.218, allocations: 184 kB / 0.705 GB, free: 72.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.218, allocations: 0 / 0.705 GB, free: 72.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/1.219, allocations: 114.6 kB / 0.7051 GB, free: 72.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/1.22, allocations: 101.9 kB / 0.7052 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/1.22, allocations: 19.62 kB / 0.7052 GB, free: 72.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005434/1.22, allocations: 463.6 kB / 0.7056 GB, free: 72.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001633/1.222, allocations: 332.8 kB / 0.706 GB, free: 72.09 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,exponentialRecovery.xp,exponentialRecovery.xq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002622/1.222, allocations: 128.4 kB / 0.7061 GB, free: 71.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00376/1.226, allocations: 1.672 MB / 0.7077 GB, free: 70.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.226, allocations: 0 / 0.7077 GB, free: 70.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002978/1.229, allocations: 1.213 MB / 0.7089 GB, free: 70 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/1.229, allocations: 49.83 kB / 0.709 GB, free: 69.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/1.232, allocations: 1.327 MB / 0.7102 GB, free: 68.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/1.233, allocations: 1.084 MB / 0.7113 GB, free: 68 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/1.233, allocations: 0 / 0.7113 GB, free: 68 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)