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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") [: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.003254/0.003254, allocations: 179.6 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.315/1.315, allocations: 221.4 MB / 229.3 MB, free: 3.098 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.001085/0.001085, allocations: 101.3 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4433/0.4433, allocations: 78.07 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.43e-06, allocations: 0 / 484.3 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2891, allocations: 69.34 MB / 0.5407 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4027, allocations: 96.04 MB / 0.6345 GB, free: 8.836 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4029, allocations: 79.89 kB / 0.6346 GB, free: 8.758 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06105/0.464, allocations: 20.75 MB / 0.6548 GB, free: 3.863 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.789e-05/0.464, allocations: 20 kB / 0.6549 GB, free: 3.844 MB / 474.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.004508/0.4686, allocations: 1.512 MB / 0.6563 GB, free: 2.277 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4686, allocations: 8.031 kB / 0.6563 GB, free: 2.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.4718, allocations: 490 kB / 0.6568 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.473, allocations: 0.5887 MB / 0.6574 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4732, allocations: 164.1 kB / 0.6575 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.4734, allocations: 40 kB / 0.6576 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001462/0.4748, allocations: 0.7133 MB / 0.6583 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4762, allocations: 0.6443 MB / 0.6589 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4762, allocations: 0 / 0.6589 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.4763, allocations: 0 / 0.6589 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4763, allocations: 16 kB / 0.6589 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/0.4811, allocations: 2.409 MB / 0.6613 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.4822, allocations: 0.5899 MB / 0.6618 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008525/0.4831, allocations: 0.4895 MB / 0.6623 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.4832, allocations: 8.781 kB / 0.6623 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4832, allocations: 47.33 kB / 0.6624 GB, free: 11.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.175e-06/0.4832, allocations: 0 / 0.6624 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01195/0.4952, allocations: 3.562 MB / 0.6659 GB, free: 8.328 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4953, allocations: 60.19 kB / 0.6659 GB, free: 8.258 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.4961, allocations: 0.575 MB / 0.6665 GB, free: 7.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.4962, allocations: 25.7 kB / 0.6665 GB, free: 7.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4964, allocations: 256.7 kB / 0.6667 GB, free: 7.391 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.4968, allocations: 287.7 kB / 0.667 GB, free: 7.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.4968, allocations: 0 / 0.667 GB, free: 7.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.497, allocations: 341.9 kB / 0.6673 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.4977, allocations: 377.5 kB / 0.6677 GB, free: 6.398 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.4984, allocations: 461.8 kB / 0.6681 GB, free: 5.922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.4992, allocations: 422 kB / 0.6685 GB, free: 5.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4992, allocations: 0 / 0.6685 GB, free: 5.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01241/0.5116, allocations: 3.663 MB / 0.6721 GB, free: 1.832 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5117, allocations: 8 kB / 0.6721 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5117, allocations: 0 / 0.6721 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006088/0.5178, allocations: 1.484 MB / 0.6736 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.5186, allocations: 127.8 kB / 0.6737 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1666/0.6852, allocations: 6.089 MB / 0.6796 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6865, allocations: 157.9 kB / 0.6798 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.6867, allocations: 27.59 kB / 0.6798 GB, free: 143.6 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.0002949/0.687, allocations: 120.4 kB / 0.6799 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.6874, allocations: 96.91 kB / 0.68 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.6983, allocations: 3.644 MB / 0.6836 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.6984, allocations: 8.5 kB / 0.6836 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6984, allocations: 0 / 0.6836 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.6984, allocations: 10.94 kB / 0.6836 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.7114, allocations: 4.839 MB / 0.6883 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7114, allocations: 0 / 0.6883 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.7121, allocations: 113.7 kB / 0.6884 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005202/0.7174, allocations: 1.446 MB / 0.6899 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.7176, allocations: 8.438 kB / 0.6899 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.7298, allocations: 5.352 MB / 0.6951 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7299, allocations: 0 / 0.6951 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01387/0.7437, allocations: 4.384 MB / 0.6994 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.7441, allocations: 186.1 kB / 0.6995 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.7444, allocations: 5.031 kB / 0.6996 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7455, allocations: 115.4 kB / 0.6997 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.7459, allocations: 98.91 kB / 0.6998 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.403e-05/0.746, allocations: 22.41 kB / 0.6998 GB, free: 140.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006064/0.7466, allocations: 456.5 kB / 0.7002 GB, free: 140.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001178/0.7478, allocations: 331 kB / 0.7005 GB, free: 140.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.0002536/0.748, allocations: 125.1 kB / 0.7006 GB, free: 140.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00453/0.7526, allocations: 1.667 MB / 0.7023 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7526, allocations: 0 / 0.7023 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003568/0.7562, allocations: 1.217 MB / 0.7035 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.7567, allocations: 55.02 kB / 0.7035 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.7604, allocations: 1.314 MB / 0.7048 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/0.7611, allocations: 1.081 MB / 0.7059 GB, free: 138.9 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.7611, allocations: 0 / 0.7059 GB, free: 138.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02596/0.7871, allocations: 16.95 MB / 0.7224 GB, free: 138.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)