Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_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.003482/0.003482, allocations: 185.7 kB / 7.464 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.291/1.291, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001012/0.001012, allocations: 106.5 kB / 280.1 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4896/0.4896, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1644/0.654, allocations: 75.49 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/1.022, allocations: 69.35 MB / 0.5408 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/1.15, allocations: 96.04 MB / 0.6346 GB, free: 8.742 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.15, allocations: 83.94 kB / 0.6347 GB, free: 8.66 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.06278/1.213, allocations: 22.28 MB / 0.6564 GB, free: 2.188 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.213, allocations: 12 kB / 0.6564 GB, free: 2.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/1.216, allocations: 490 kB / 0.6569 GB, free: 1.695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/1.218, allocations: 0.5848 MB / 0.6575 GB, free: 1.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/1.218, allocations: 164.1 kB / 0.6576 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/1.218, allocations: 36 kB / 0.6577 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002057/1.22, allocations: 0.7094 MB / 0.6584 GB, free: 144 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/1.222, allocations: 0.6483 MB / 0.659 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.222, allocations: 0 / 0.659 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/1.222, allocations: 0 / 0.659 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/1.222, allocations: 16 kB / 0.659 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/1.228, allocations: 2.417 MB / 0.6614 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.229, allocations: 0.586 MB / 0.6619 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007857/1.23, allocations: 0.4894 MB / 0.6624 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/1.23, allocations: 12.77 kB / 0.6624 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/1.23, allocations: 43.33 kB / 0.6625 GB, free: 11.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/1.23, allocations: 0 / 0.6625 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01132/1.241, allocations: 3.558 MB / 0.666 GB, free: 8.242 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/1.241, allocations: 60.19 kB / 0.666 GB, free: 8.172 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/1.242, allocations: 0.575 MB / 0.6666 GB, free: 7.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/1.242, allocations: 25.7 kB / 0.6666 GB, free: 7.559 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.242, allocations: 260.7 kB / 0.6668 GB, free: 7.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/1.243, allocations: 283.7 kB / 0.6671 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/1.243, allocations: 0 / 0.6671 GB, free: 7.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/1.243, allocations: 338 kB / 0.6674 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/1.244, allocations: 377.5 kB / 0.6678 GB, free: 6.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/1.244, allocations: 465.8 kB / 0.6682 GB, free: 5.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/1.245, allocations: 418 kB / 0.6686 GB, free: 5.434 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.245, allocations: 3.938 kB / 0.6686 GB, free: 5.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01177/1.257, allocations: 3.667 MB / 0.6722 GB, free: 1.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.257, allocations: 4 kB / 0.6722 GB, free: 1.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.257, allocations: 4 kB / 0.6722 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005602/1.263, allocations: 1.48 MB / 0.6737 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/1.263, allocations: 127.8 kB / 0.6738 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2339/1.497, allocations: 6.095 MB / 0.6798 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.499, allocations: 150.4 kB / 0.6799 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/1.499, allocations: 29.44 kB / 0.6799 GB, free: 143.2 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.0003679/1.5, allocations: 114.7 kB / 0.68 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.5, allocations: 104.8 kB / 0.6801 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.51, allocations: 3.644 MB / 0.6837 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.51, allocations: 11.06 kB / 0.6837 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.51, allocations: 0 / 0.6837 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/1.51, allocations: 7.516 kB / 0.6837 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.524, allocations: 4.828 MB / 0.6884 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.524, allocations: 2.438 kB / 0.6884 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.525, allocations: 119.9 kB / 0.6885 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005117/1.53, allocations: 1.45 MB / 0.69 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/1.53, allocations: 3.75 kB / 0.69 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.543, allocations: 5.351 MB / 0.6952 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.543, allocations: 0 / 0.6952 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01356/1.557, allocations: 4.388 MB / 0.6995 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01444/1.572, allocations: 5.431 MB / 0.7048 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/1.572, allocations: 182.8 kB / 0.7049 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/1.572, allocations: 9.328 kB / 0.705 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.574, allocations: 116.4 kB / 0.7051 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/1.574, allocations: 95.09 kB / 0.7052 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.574, allocations: 27.22 kB / 0.7052 GB, free: 139.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008034/1.575, allocations: 462.4 kB / 0.7056 GB, free: 139.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001907/1.577, allocations: 327.6 kB / 0.7059 GB, free: 139.3 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.0002866/1.577, allocations: 132.8 kB / 0.7061 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004612/1.582, allocations: 1.661 MB / 0.7077 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.582, allocations: 0 / 0.7077 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003488/1.585, allocations: 1.22 MB / 0.7089 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/1.586, allocations: 49.83 kB / 0.7089 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/1.59, allocations: 1.325 MB / 0.7102 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/1.59, allocations: 1.082 MB / 0.7113 GB, free: 137.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.083e-06/1.59, allocations: 0 / 0.7113 GB, free: 137.1 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)