Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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 3.2.3+maint.om/package.mo): time 0.003671/0.003672, allocations: 179.8 kB / 7.455 MB, free: 2.5 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.49/1.49, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008717/0.0008717, allocations: 89.5 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05963/0.05963, allocations: 12.59 MB / 321.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3115/0.3115, allocations: 78.04 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.57e-06, allocations: 0 / 0.5141 GB, free: 30.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 69.33 MB / 0.5818 GB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.4275, allocations: 102.6 MB / 0.682 GB, free: 5.645 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4278, allocations: 89.92 kB / 0.6821 GB, free: 5.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.07679/0.5046, allocations: 29.8 MB / 0.7112 GB, free: 13.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.042e-05/0.5047, allocations: 35.94 kB / 0.7113 GB, free: 13.08 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005006/0.5097, allocations: 2.041 MB / 0.7133 GB, free: 11.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.5098, allocations: 11.97 kB / 0.7133 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.5133, allocations: 0.6169 MB / 0.7139 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.5151, allocations: 0.9317 MB / 0.7148 GB, free: 9.758 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.5153, allocations: 210.5 kB / 0.715 GB, free: 9.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.5155, allocations: 60 kB / 0.715 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/0.5173, allocations: 1.034 MB / 0.716 GB, free: 8.828 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.5191, allocations: 1.091 MB / 0.7171 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5191, allocations: 0 / 0.7171 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5192, allocations: 8 kB / 0.7171 GB, free: 8.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.5193, allocations: 24 kB / 0.7171 GB, free: 7.996 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006675/0.5259, allocations: 4.166 MB / 0.7212 GB, free: 4.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.5272, allocations: 0.7553 MB / 0.7219 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009052/0.5281, allocations: 0.6607 MB / 0.7226 GB, free: 3.887 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.5282, allocations: 24.78 kB / 0.7226 GB, free: 3.867 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5283, allocations: 43.38 kB / 0.7227 GB, free: 3.824 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.517e-06/0.5283, allocations: 7.938 kB / 0.7227 GB, free: 3.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=116): time 0.01375/0.542, allocations: 4.638 MB / 0.7272 GB, free: 15.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/0.5422, allocations: 111.8 kB / 0.7273 GB, free: 15.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.544, allocations: 0.8507 MB / 0.7281 GB, free: 15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003002/0.5443, allocations: 25.7 kB / 0.7282 GB, free: 14.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.5446, allocations: 400 kB / 0.7285 GB, free: 14.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/0.5451, allocations: 399.7 kB / 0.7289 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.5452, allocations: 0 / 0.7289 GB, free: 14.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5454, allocations: 355.6 kB / 0.7293 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009138/0.5463, allocations: 0.51 MB / 0.7298 GB, free: 13.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009525/0.5473, allocations: 0.6608 MB / 0.7304 GB, free: 13.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.5482, allocations: 0.5778 MB / 0.731 GB, free: 12.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5482, allocations: 0 / 0.731 GB, free: 12.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01426/0.5625, allocations: 4.852 MB / 0.7357 GB, free: 8.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004808/0.563, allocations: 1.329 MB / 0.737 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5631, allocations: 4 kB / 0.737 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/0.5692, allocations: 1.826 MB / 0.7388 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5702, allocations: 183.5 kB / 0.739 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.5879, allocations: 6.801 MB / 0.7456 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.5898, allocations: 230.9 kB / 0.7458 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.5901, allocations: 39.91 kB / 0.7459 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.5901, allocations: 4 kB / 0.7459 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01412/0.6043, allocations: 4.669 MB / 0.7504 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.6043, allocations: 7.906 kB / 0.7504 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006031/0.6104, allocations: 1.82 MB / 0.7522 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6114, allocations: 179.7 kB / 0.7524 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.6276, allocations: 6.79 MB / 0.759 GB, free: 1.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.6295, allocations: 199 kB / 0.7592 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/0.6298, allocations: 43.98 kB / 0.7592 GB, free: 0.9414 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005034/0.6303, allocations: 144.3 kB / 0.7594 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.6308, allocations: 142.2 kB / 0.7595 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.645, allocations: 4.723 MB / 0.7641 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.6451, allocations: 15.94 kB / 0.7641 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6451, allocations: 3.938 kB / 0.7641 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.6452, allocations: 3.984 kB / 0.7642 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.6624, allocations: 6.333 MB / 0.7703 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6625, allocations: 0 / 0.7703 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/0.6634, allocations: 143.8 kB / 0.7705 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/0.669, allocations: 1.793 MB / 0.7722 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.6692, allocations: 4 kB / 0.7722 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.6834, allocations: 6.008 MB / 0.7781 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6834, allocations: 0 / 0.7781 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01578/0.6992, allocations: 5.628 MB / 0.7836 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/0.7, allocations: 235 kB / 0.7838 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/0.7006, allocations: 4 kB / 0.7838 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.7023, allocations: 159.9 kB / 0.784 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/0.7027, allocations: 124.8 kB / 0.7841 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.7028, allocations: 31.98 kB / 0.7841 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001126/0.7039, allocations: 0.6409 MB / 0.7847 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002532/0.7065, allocations: 0.7133 MB / 0.7854 GB, free: 5.84 MB / 0.5105 GB 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,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0003485/0.7068, allocations: 137.7 kB / 0.7856 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.7171, allocations: 3.867 MB / 0.7894 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7172, allocations: 0 / 0.7894 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004181/0.7213, allocations: 1.554 MB / 0.7909 GB, free: 248 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.7223, allocations: 120.7 kB / 0.791 GB, free: 124 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.7276, allocations: 1.963 MB / 0.7929 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.7287, allocations: 1.295 MB / 0.7942 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.7287, allocations: 0 / 0.7942 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.05195/0.7807, allocations: 34.07 MB / 0.8274 GB, free: 10.7 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)