Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.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.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") [: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.001047/0.001047, allocations: 182.3 kB / 7.457 MB, free: 464 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.4 MB / 229.3 MB, free: 7.789 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 97.36 kB / 280.1 MB, free: 5.18 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4176/0.4176, allocations: 78.06 MB / 408.9 MB, free: 19.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.404e-06, allocations: 0 / 484.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3619, allocations: 69.34 MB / 0.5407 GB, free: 24.17 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4826, allocations: 98.62 MB / 0.637 GB, free: 10.21 MB / 462.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4829, allocations: 87.92 kB / 0.6371 GB, free: 10.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.08899/0.5719, allocations: 28.81 MB / 0.6652 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.57e-05/0.5721, allocations: 27.94 kB / 0.6653 GB, free: 13.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005637/0.5777, allocations: 1.949 MB / 0.6672 GB, free: 11.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5778, allocations: 8.031 kB / 0.6672 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.5816, allocations: 0.6107 MB / 0.6678 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.5835, allocations: 0.8741 MB / 0.6686 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.5838, allocations: 218.3 kB / 0.6688 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5839, allocations: 56 kB / 0.6689 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001965/0.5859, allocations: 0.9334 MB / 0.6698 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.5879, allocations: 1.046 MB / 0.6708 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.5879, allocations: 4 kB / 0.6708 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.588, allocations: 0 / 0.6708 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.588, allocations: 24 kB / 0.6709 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007959/0.596, allocations: 4.355 MB / 0.6751 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.5971, allocations: 0.6489 MB / 0.6757 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.5981, allocations: 0.6132 MB / 0.6763 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.5983, allocations: 20.97 kB / 0.6764 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.5983, allocations: 51.55 kB / 0.6764 GB, free: 1.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=110): time 3.436e-06/0.5983, allocations: 0 / 0.6764 GB, free: 1.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=110): time 0.1621/0.7604, allocations: 4.536 MB / 0.6808 GB, free: 145.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.7605, allocations: 121.7 kB / 0.681 GB, free: 145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7616, allocations: 0.8071 MB / 0.6817 GB, free: 144.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.7618, allocations: 25.7 kB / 0.6818 GB, free: 144.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.7621, allocations: 390 kB / 0.6821 GB, free: 144.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.7624, allocations: 373.6 kB / 0.6825 GB, free: 144.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.7625, allocations: 0 / 0.6825 GB, free: 144.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.7626, allocations: 351.9 kB / 0.6828 GB, free: 144.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008332/0.7635, allocations: 483.2 kB / 0.6833 GB, free: 144.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.7643, allocations: 0.6426 MB / 0.6839 GB, free: 144.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.7651, allocations: 0.5328 MB / 0.6844 GB, free: 144.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7651, allocations: 2.469 kB / 0.6844 GB, free: 144.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01349/0.7786, allocations: 4.731 MB / 0.6891 GB, free: 143.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.7789, allocations: 1.674 MB / 0.6907 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7789, allocations: 7.344 kB / 0.6907 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00589/0.7848, allocations: 1.822 MB / 0.6925 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.7858, allocations: 169.6 kB / 0.6926 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.8007, allocations: 6.803 MB / 0.6993 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.8023, allocations: 198.5 kB / 0.6995 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.8025, allocations: 44.77 kB / 0.6995 GB, free: 140.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.8025, allocations: 3.781 kB / 0.6995 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01396/0.8164, allocations: 4.555 MB / 0.704 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.8165, allocations: 4.656 kB / 0.704 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006324/0.8228, allocations: 1.825 MB / 0.7058 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.8237, allocations: 154.1 kB / 0.7059 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.8394, allocations: 6.798 MB / 0.7125 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.841, allocations: 183 kB / 0.7127 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.8411, allocations: 36.53 kB / 0.7128 GB, free: 138.2 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003469/0.8415, allocations: 147.3 kB / 0.7129 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.8417, allocations: 135.1 kB / 0.713 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.8552, allocations: 4.61 MB / 0.7175 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.8553, allocations: 12.53 kB / 0.7175 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8553, allocations: 0 / 0.7175 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.8553, allocations: 10.41 kB / 0.7175 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.8708, allocations: 6.15 MB / 0.7235 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.8708, allocations: 6.141 kB / 0.7236 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.8717, allocations: 127.4 kB / 0.7237 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.8773, allocations: 1.793 MB / 0.7254 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.8774, allocations: 5.375 kB / 0.7254 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.8905, allocations: 5.998 MB / 0.7313 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8905, allocations: 1.812 kB / 0.7313 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01579/0.9063, allocations: 5.469 MB / 0.7366 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.9067, allocations: 226.1 kB / 0.7368 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.907, allocations: 0.7031 kB / 0.7368 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.9083, allocations: 142 kB / 0.737 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.9086, allocations: 122.8 kB / 0.7371 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.419e-05/0.9087, allocations: 25.17 kB / 0.7371 GB, free: 130.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.0007671/0.9095, allocations: 0.6162 MB / 0.7377 GB, free: 129.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00178/0.9113, allocations: 0.6733 MB / 0.7384 GB, free: 129 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.9115, allocations: 144.3 kB / 0.7385 GB, free: 128.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.9217, allocations: 3.718 MB / 0.7422 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.9217, allocations: 4 kB / 0.7422 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004122/0.9259, allocations: 1.501 MB / 0.7436 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.9267, allocations: 111.7 kB / 0.7437 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.931, allocations: 1.808 MB / 0.7455 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/0.9317, allocations: 1.233 MB / 0.7467 GB, free: 121.3 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.9318, allocations: 4 kB / 0.7467 GB, free: 121.3 MB / 494.1 MB Notification: Performance of Templates: time 0.04032/0.9721, allocations: 32.44 MB / 0.7784 GB, free: 95.16 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)