Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.00169/0.00169, allocations: 184 kB / 7.453 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.4 MB / 229.3 MB, free: 8.391 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009686/0.0009685, allocations: 101.8 kB / 280.1 MB, free: 7.801 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4031/0.4031, allocations: 78.05 MB / 408.9 MB, free: 5.293 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.5e-06, allocations: 0 / 484.4 MB, free: 10.19 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 69.34 MB / 0.5407 GB, free: 15.68 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.356, allocations: 97.79 MB / 0.6362 GB, free: 13.73 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.3563, allocations: 87.94 kB / 0.6363 GB, free: 13.65 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.07416/0.4305, allocations: 25.3 MB / 0.661 GB, free: 4.156 MB / 482.8 MB Notification: Performance of Transformations before backend: time 5.387e-05/0.4306, allocations: 24 kB / 0.661 GB, free: 4.133 MB / 482.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004927/0.4355, allocations: 1.766 MB / 0.6628 GB, free: 2.32 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4356, allocations: 15.97 kB / 0.6628 GB, free: 2.305 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.4394, allocations: 0.5759 MB / 0.6633 GB, free: 1.727 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.4412, allocations: 0.763 MB / 0.6641 GB, free: 0.9062 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.4415, allocations: 202.5 kB / 0.6643 GB, free: 0.6797 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.4416, allocations: 44 kB / 0.6643 GB, free: 0.6367 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1632/0.6048, allocations: 0.8484 MB / 0.6651 GB, free: 135.1 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6064, allocations: 0.8438 MB / 0.666 GB, free: 135 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6064, allocations: 3.812 kB / 0.666 GB, free: 135 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.6065, allocations: 3.516 kB / 0.666 GB, free: 135 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.6065, allocations: 16.66 kB / 0.666 GB, free: 135 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.6117, allocations: 3.047 MB / 0.669 GB, free: 134.4 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.6126, allocations: 0.598 MB / 0.6695 GB, free: 134.3 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.6134, allocations: 0.5621 MB / 0.6701 GB, free: 134.3 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.6135, allocations: 18.66 kB / 0.6701 GB, free: 134.3 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.6135, allocations: 53.2 kB / 0.6702 GB, free: 134.3 MB / 482.8 MB Notification: Performance of pre-optimization done (n=93): time 2.835e-06/0.6135, allocations: 0 / 0.6702 GB, free: 134.3 MB / 482.8 MB Notification: Performance of matching and sorting (n=93): time 0.01337/0.6269, allocations: 4.44 MB / 0.6745 GB, free: 134.1 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.627, allocations: 85.52 kB / 0.6746 GB, free: 134 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6281, allocations: 0.7065 MB / 0.6753 GB, free: 133.9 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.6283, allocations: 25.7 kB / 0.6753 GB, free: 133.8 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.6285, allocations: 323.3 kB / 0.6756 GB, free: 133.7 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.6288, allocations: 315.8 kB / 0.6759 GB, free: 133.5 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.6289, allocations: 0 / 0.6759 GB, free: 133.5 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.629, allocations: 347 kB / 0.6762 GB, free: 133.2 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.6297, allocations: 446.2 kB / 0.6767 GB, free: 133.2 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.6304, allocations: 0.538 MB / 0.6772 GB, free: 133.1 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.6312, allocations: 488.2 kB / 0.6777 GB, free: 133.1 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6312, allocations: 0 / 0.6777 GB, free: 133.1 MB / 482.8 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01352/0.6448, allocations: 4.576 MB / 0.6821 GB, free: 132.7 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.645, allocations: 0.7911 MB / 0.6829 GB, free: 131.9 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.645, allocations: 4 kB / 0.6829 GB, free: 131.8 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005824/0.6508, allocations: 1.813 MB / 0.6847 GB, free: 131.7 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.6515, allocations: 116.2 kB / 0.6848 GB, free: 131.7 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.6673, allocations: 6.82 MB / 0.6914 GB, free: 130.2 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.6691, allocations: 185 kB / 0.6916 GB, free: 130.2 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.6692, allocations: 28.53 kB / 0.6916 GB, free: 130.2 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.6692, allocations: 4.031 kB / 0.6916 GB, free: 130.2 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/0.6835, allocations: 4.433 MB / 0.696 GB, free: 129.8 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.6836, allocations: 1.094 kB / 0.696 GB, free: 129.8 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006374/0.69, allocations: 1.82 MB / 0.6978 GB, free: 129.7 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.6907, allocations: 108.7 kB / 0.6979 GB, free: 129.7 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.7055, allocations: 6.819 MB / 0.7045 GB, free: 127.2 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.707, allocations: 179.3 kB / 0.7047 GB, free: 127.2 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7072, allocations: 33.72 kB / 0.7047 GB, free: 127.2 MB / 482.8 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0002833/0.7075, allocations: 112.8 kB / 0.7048 GB, free: 127.1 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.7077, allocations: 117.5 kB / 0.7049 GB, free: 127 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.7209, allocations: 4.514 MB / 0.7094 GB, free: 126 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.721, allocations: 13.88 kB / 0.7094 GB, free: 126 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.721, allocations: 0 / 0.7094 GB, free: 126 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.721, allocations: 3.703 kB / 0.7094 GB, free: 126 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.7371, allocations: 5.899 MB / 0.7151 GB, free: 124.2 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.7372, allocations: 7.906 kB / 0.7151 GB, free: 124.2 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.7379, allocations: 95.62 kB / 0.7152 GB, free: 124.2 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/0.7439, allocations: 1.783 MB / 0.717 GB, free: 123.9 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.7441, allocations: 9.234 kB / 0.717 GB, free: 123.8 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.7573, allocations: 5.99 MB / 0.7228 GB, free: 120.8 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7574, allocations: 1.188 kB / 0.7228 GB, free: 120.8 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01452/0.7719, allocations: 5.306 MB / 0.728 GB, free: 116.8 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.7725, allocations: 205.1 kB / 0.7282 GB, free: 116.6 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.7727, allocations: 3.328 kB / 0.7282 GB, free: 116.6 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.7741, allocations: 145.8 kB / 0.7283 GB, free: 116.5 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.7743, allocations: 111.1 kB / 0.7285 GB, free: 116.4 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.7744, allocations: 26.58 kB / 0.7285 GB, free: 116.4 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0006908/0.7751, allocations: 0.5396 MB / 0.729 GB, free: 115.9 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.001773/0.7769, allocations: 0.6198 MB / 0.7296 GB, free: 115.3 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0002973/0.7772, allocations: 128 kB / 0.7297 GB, free: 115.2 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.009618/0.7869, allocations: 3.519 MB / 0.7332 GB, free: 112 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7869, allocations: 0 / 0.7332 GB, free: 112 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004264/0.7912, allocations: 1.454 MB / 0.7346 GB, free: 110.7 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.792, allocations: 70.88 kB / 0.7347 GB, free: 110.6 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.7966, allocations: 1.646 MB / 0.7363 GB, free: 109.1 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.7972, allocations: 1.146 MB / 0.7374 GB, free: 108.1 MB / 482.8 MB Notification: Performance of SimCode: time 7.11e-07/0.7972, allocations: 0 / 0.7374 GB, free: 108.1 MB / 482.8 MB Notification: Performance of Templates: time 0.03871/0.836, allocations: 30.08 MB / 0.7668 GB, free: 83.48 MB / 482.8 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)