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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.002177/0.002177, allocations: 180.2 kB / 7.458 MB, free: 2.496 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.047/1.047, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0008446/0.0008445, allocations: 99.2 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3638/0.3638, allocations: 78.09 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.849e-06, allocations: 0 / 484.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2152, allocations: 69.35 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09352/0.3087, allocations: 96.03 MB / 0.6345 GB, free: 8.887 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.3089, allocations: 75.95 kB / 0.6346 GB, free: 8.812 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05203/0.361, allocations: 20.74 MB / 0.6549 GB, free: 3.922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.341e-05/0.361, allocations: 20 kB / 0.6549 GB, free: 3.902 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.003705/0.3647, allocations: 1.508 MB / 0.6564 GB, free: 2.348 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.3648, allocations: 8.031 kB / 0.6564 GB, free: 2.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.3675, allocations: 490 kB / 0.6568 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.3684, allocations: 0.5809 MB / 0.6574 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.3685, allocations: 164 kB / 0.6576 GB, free: 1.051 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3687, allocations: 47.92 kB / 0.6576 GB, free: 1.004 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/0.3699, allocations: 0.7173 MB / 0.6583 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.3711, allocations: 0.6404 MB / 0.6589 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3711, allocations: 7.984 kB / 0.6589 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.3712, allocations: 0 / 0.6589 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3712, allocations: 16 kB / 0.6589 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.3751, allocations: 2.414 MB / 0.6613 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/0.376, allocations: 0.5843 MB / 0.6619 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.3767, allocations: 499.2 kB / 0.6624 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.133e-05/0.3768, allocations: 12.77 kB / 0.6624 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3768, allocations: 51.28 kB / 0.6624 GB, free: 11.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 1.894e-06/0.3769, allocations: 0 / 0.6624 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01042/0.3873, allocations: 3.554 MB / 0.6659 GB, free: 8.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3873, allocations: 64.17 kB / 0.6659 GB, free: 8.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.388, allocations: 0.575 MB / 0.6665 GB, free: 7.734 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.3881, allocations: 25.7 kB / 0.6665 GB, free: 7.703 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3882, allocations: 256.7 kB / 0.6668 GB, free: 7.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3884, allocations: 291.6 kB / 0.6671 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.3885, allocations: 0 / 0.6671 GB, free: 7.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.3886, allocations: 334 kB / 0.6674 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.3892, allocations: 377.5 kB / 0.6677 GB, free: 6.461 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.3899, allocations: 465.8 kB / 0.6682 GB, free: 5.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.3906, allocations: 421.9 kB / 0.6686 GB, free: 5.574 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3906, allocations: 0 / 0.6686 GB, free: 5.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01064/0.4013, allocations: 3.663 MB / 0.6722 GB, free: 1.891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4013, allocations: 8 kB / 0.6722 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4013, allocations: 0 / 0.6722 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/0.4065, allocations: 1.48 MB / 0.6736 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.407, allocations: 127.8 kB / 0.6737 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1339/0.541, allocations: 6.084 MB / 0.6797 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.542, allocations: 160 kB / 0.6798 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.5421, allocations: 27.62 kB / 0.6799 GB, free: 143.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.0001929/0.5423, allocations: 120.6 kB / 0.68 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5424, allocations: 97.69 kB / 0.6801 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009592/0.552, allocations: 3.644 MB / 0.6836 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.552, allocations: 6.844 kB / 0.6836 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5521, allocations: 3.812 kB / 0.6836 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5521, allocations: 12.81 kB / 0.6836 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.5627, allocations: 4.832 MB / 0.6884 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5627, allocations: 0 / 0.6884 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.5633, allocations: 115.1 kB / 0.6885 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004471/0.5678, allocations: 1.446 MB / 0.6899 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/0.5679, allocations: 4.25 kB / 0.6899 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.5779, allocations: 5.36 MB / 0.6951 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5779, allocations: 0 / 0.6951 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01112/0.5891, allocations: 4.382 MB / 0.6994 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.5893, allocations: 183.3 kB / 0.6996 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5894, allocations: 3.906 kB / 0.6996 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/0.5903, allocations: 116.9 kB / 0.6997 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.5906, allocations: 103.8 kB / 0.6998 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.5907, allocations: 22.19 kB / 0.6998 GB, free: 140.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004932/0.5912, allocations: 458 kB / 0.7002 GB, free: 140.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009273/0.5921, allocations: 325.1 kB / 0.7006 GB, free: 140.5 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.0002033/0.5923, allocations: 124.4 kB / 0.7007 GB, free: 140.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003887/0.5962, allocations: 1.669 MB / 0.7023 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5962, allocations: 0 / 0.7023 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.5993, allocations: 1.216 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.0004061/0.5997, allocations: 53.62 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.002713/0.6024, allocations: 1.325 MB / 0.7048 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.603, allocations: 1.077 MB / 0.7059 GB, free: 138.9 MB / 490.7 MB Notification: Performance of SimCode: time 4e-07/0.603, allocations: 3.656 kB / 0.7059 GB, free: 138.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02041/0.6234, allocations: 16.96 MB / 0.7225 GB, free: 138.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.makefile (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 & ./OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)