Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004371/0.004371, allocations: 178.3 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.2 MB / 213.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 94.33 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07594/0.07594, allocations: 12.18 MB / 321.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.281/0.281, allocations: 78.04 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2722/0.5533, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.6824, allocations: 69.24 MB / 0.5813 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/1.046, allocations: 97.52 MB / 0.6765 GB, free: 9.652 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.046, allocations: 81.91 kB / 0.6766 GB, free: 9.637 MB / 426.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.05928/1.106, allocations: 21.66 MB / 0.6977 GB, free: 9.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.106, allocations: 19.88 kB / 0.6978 GB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/1.109, allocations: 488.2 kB / 0.6982 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.11, allocations: 0.5837 MB / 0.6988 GB, free: 8.449 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/1.111, allocations: 167.6 kB / 0.699 GB, free: 8.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/1.111, allocations: 36 kB / 0.699 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/1.112, allocations: 0.7141 MB / 0.6997 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/1.114, allocations: 0.6519 MB / 0.7003 GB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/1.114, allocations: 0 / 0.7003 GB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/1.114, allocations: 0 / 0.7003 GB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/1.114, allocations: 16 kB / 0.7003 GB, free: 7.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/1.12, allocations: 2.413 MB / 0.7027 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.121, allocations: 0.5923 MB / 0.7033 GB, free: 5.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/1.122, allocations: 489.6 kB / 0.7037 GB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/1.122, allocations: 16.77 kB / 0.7038 GB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.122, allocations: 39.16 kB / 0.7038 GB, free: 4.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 3.927e-06/1.122, allocations: 4 kB / 0.7038 GB, free: 4.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=84): time 0.01138/1.133, allocations: 3.553 MB / 0.7073 GB, free: 1.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.133, allocations: 60.19 kB / 0.7073 GB, free: 1.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/1.135, allocations: 0.576 MB / 0.7079 GB, free: 1.094 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/1.135, allocations: 29.7 kB / 0.7079 GB, free: 1.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/1.135, allocations: 266.3 kB / 0.7082 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/1.136, allocations: 285.5 kB / 0.7084 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/1.136, allocations: 0 / 0.7084 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/1.136, allocations: 327.8 kB / 0.7088 GB, free: 276 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/1.136, allocations: 384.2 kB / 0.7091 GB, free: 68 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007668/1.137, allocations: 468.6 kB / 0.7096 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/1.138, allocations: 416.9 kB / 0.71 GB, free: 15.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.138, allocations: 3.938 kB / 0.71 GB, free: 15.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01185/1.15, allocations: 3.662 MB / 0.7136 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.15, allocations: 7.984 kB / 0.7136 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.15, allocations: 4.188 kB / 0.7136 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005868/1.156, allocations: 1.471 MB / 0.715 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/1.157, allocations: 127.8 kB / 0.7151 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.171, allocations: 6.103 MB / 0.7211 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.172, allocations: 155.3 kB / 0.7212 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.172, allocations: 30.98 kB / 0.7213 GB, free: 6.23 MB / 458.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.0003086/1.173, allocations: 112.8 kB / 0.7214 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/1.173, allocations: 98.78 kB / 0.7215 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.184, allocations: 3.644 MB / 0.725 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/1.184, allocations: 15.91 kB / 0.725 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.184, allocations: 0 / 0.725 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/1.184, allocations: 3.984 kB / 0.725 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.198, allocations: 4.831 MB / 0.7298 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.198, allocations: 0 / 0.7298 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/1.199, allocations: 115.2 kB / 0.7299 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/1.204, allocations: 1.445 MB / 0.7313 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/1.204, allocations: 7.125 kB / 0.7313 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/1.217, allocations: 5.357 MB / 0.7365 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.217, allocations: 0 / 0.7365 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01283/1.23, allocations: 4.389 MB / 0.7408 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01388/1.244, allocations: 5.434 MB / 0.7461 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/1.244, allocations: 187.7 kB / 0.7463 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.244, allocations: 0 / 0.7463 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009992/1.245, allocations: 115.9 kB / 0.7464 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.246, allocations: 100.6 kB / 0.7465 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/1.246, allocations: 16 kB / 0.7465 GB, free: 14.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006373/1.247, allocations: 459.1 kB / 0.7469 GB, free: 13.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001833/1.248, allocations: 335.5 kB / 0.7473 GB, free: 13.62 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.0002964/1.249, allocations: 131.1 kB / 0.7474 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004718/1.253, allocations: 1.665 MB / 0.749 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.253, allocations: 4.062 kB / 0.749 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003703/1.257, allocations: 1.221 MB / 0.7502 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/1.258, allocations: 55.2 kB / 0.7503 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/1.262, allocations: 1.31 MB / 0.7515 GB, free: 9.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/1.263, allocations: 1.093 MB / 0.7526 GB, free: 8.039 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/1.263, allocations: 0 / 0.7526 GB, free: 8.039 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)