Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_dev_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.00337/0.00337, allocations: 181.5 kB / 7.455 MB, free: 2.512 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.377/1.377, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0009495/0.0009494, allocations: 100 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5058/0.5058, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1896/0.6955, allocations: 75.66 MB / 485.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/1.083, allocations: 69.5 MB / 0.542 GB, free: 20.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/1.217, allocations: 96.62 MB / 0.6363 GB, free: 7.305 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.218, allocations: 79.95 kB / 0.6364 GB, free: 7.227 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.06375/1.281, allocations: 22.5 MB / 0.6584 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.282, allocations: 8 kB / 0.6584 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/1.285, allocations: 490 kB / 0.6588 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.286, allocations: 0.5887 MB / 0.6594 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/1.286, allocations: 168.1 kB / 0.6596 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.287, allocations: 36 kB / 0.6596 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/1.288, allocations: 0.7172 MB / 0.6603 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.289, allocations: 0.6404 MB / 0.6609 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.289, allocations: 3.984 kB / 0.6609 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/1.289, allocations: 0 / 0.6609 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.289, allocations: 16 kB / 0.6609 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/1.295, allocations: 2.414 MB / 0.6633 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.296, allocations: 0.5936 MB / 0.6639 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/1.297, allocations: 495.2 kB / 0.6644 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/1.297, allocations: 12.78 kB / 0.6644 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.297, allocations: 39.34 kB / 0.6644 GB, free: 10.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.096e-06/1.297, allocations: 0 / 0.6644 GB, free: 10.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01138/1.309, allocations: 3.561 MB / 0.6679 GB, free: 6.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.309, allocations: 60.19 kB / 0.6679 GB, free: 6.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/1.31, allocations: 0.575 MB / 0.6685 GB, free: 5.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.31, allocations: 25.7 kB / 0.6685 GB, free: 5.887 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/1.31, allocations: 256.7 kB / 0.6688 GB, free: 5.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/1.31, allocations: 287.6 kB / 0.669 GB, free: 5.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/1.31, allocations: 4 kB / 0.6691 GB, free: 5.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/1.31, allocations: 334 kB / 0.6694 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/1.311, allocations: 377.5 kB / 0.6697 GB, free: 4.645 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/1.312, allocations: 461.8 kB / 0.6702 GB, free: 4.168 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/1.313, allocations: 429.9 kB / 0.6706 GB, free: 3.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.313, allocations: 0 / 0.6706 GB, free: 3.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01165/1.324, allocations: 3.664 MB / 0.6742 GB, free: 72 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.324, allocations: 8 kB / 0.6742 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.324, allocations: 0 / 0.6742 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2183/1.543, allocations: 1.478 MB / 0.6756 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/1.544, allocations: 127.6 kB / 0.6757 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.557, allocations: 6.097 MB / 0.6817 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.558, allocations: 158.7 kB / 0.6818 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.558, allocations: 21.41 kB / 0.6819 GB, free: 142.5 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.0002689/1.558, allocations: 115.9 kB / 0.682 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.559, allocations: 104 kB / 0.6821 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.569, allocations: 3.633 MB / 0.6856 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.57, allocations: 13.66 kB / 0.6856 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.57, allocations: 3.906 kB / 0.6856 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/1.57, allocations: 3.469 kB / 0.6856 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.583, allocations: 4.839 MB / 0.6904 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.583, allocations: 7.875 kB / 0.6904 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/1.584, allocations: 108.9 kB / 0.6905 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005062/1.589, allocations: 1.448 MB / 0.6919 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/1.589, allocations: 7.688 kB / 0.6919 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.602, allocations: 5.344 MB / 0.6971 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.602, allocations: 4 kB / 0.6971 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01351/1.615, allocations: 4.385 MB / 0.7014 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01475/1.63, allocations: 5.437 MB / 0.7067 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/1.631, allocations: 186.8 kB / 0.7069 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/1.631, allocations: 0 / 0.7069 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.632, allocations: 118.2 kB / 0.707 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000341/1.633, allocations: 102.3 kB / 0.7071 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.981e-05/1.633, allocations: 17.25 kB / 0.7071 GB, free: 138.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006929/1.633, allocations: 458.8 kB / 0.7076 GB, free: 138.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001997/1.635, allocations: 330.9 kB / 0.7079 GB, free: 138.6 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.0003675/1.636, allocations: 126.2 kB / 0.708 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004274/1.64, allocations: 1.671 MB / 0.7096 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.64, allocations: 0 / 0.7096 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.643, allocations: 1.215 MB / 0.7108 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/1.644, allocations: 56.34 kB / 0.7109 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/1.648, allocations: 1.317 MB / 0.7121 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/1.649, allocations: 1.089 MB / 0.7132 GB, free: 136.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.854e-06/1.649, allocations: 0 / 0.7132 GB, free: 136.2 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)