Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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 4.0.0+maint.om/package.mo): time 0.003532/0.003532, allocations: 178.1 kB / 7.454 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.356/1.356, allocations: 221.4 MB / 229.3 MB, free: 3 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.0009345/0.0009345, allocations: 93.12 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4148/0.4148, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.31e-06, allocations: 0 / 484.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.262, allocations: 69.34 MB / 0.5407 GB, free: 21.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3745, allocations: 101 MB / 0.6393 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.3748, allocations: 87.94 kB / 0.6394 GB, free: 3.785 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08817/0.463, allocations: 30.59 MB / 0.6693 GB, free: 4.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.4632, allocations: 36 kB / 0.6693 GB, free: 4.922 MB / 490.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.006273/0.4694, allocations: 2.027 MB / 0.6713 GB, free: 2.848 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4695, allocations: 12.03 kB / 0.6713 GB, free: 2.836 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/0.4734, allocations: 0.6183 MB / 0.6719 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.4755, allocations: 0.9138 MB / 0.6728 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.4757, allocations: 214.5 kB / 0.673 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.476, allocations: 60 kB / 0.673 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1559/0.6319, allocations: 1.034 MB / 0.6741 GB, free: 138.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.634, allocations: 1.092 MB / 0.6751 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.6341, allocations: 3.906 kB / 0.6751 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.6342, allocations: 5.062 kB / 0.6751 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.6342, allocations: 21.41 kB / 0.6751 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006337/0.6406, allocations: 4.166 MB / 0.6792 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.6417, allocations: 0.7514 MB / 0.68 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.6426, allocations: 0.6633 MB / 0.6806 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.6428, allocations: 23.44 kB / 0.6806 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.6428, allocations: 42.44 kB / 0.6807 GB, free: 137.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 3.416e-06/0.6428, allocations: 3.828 kB / 0.6807 GB, free: 137.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01376/0.6566, allocations: 4.632 MB / 0.6852 GB, free: 137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.6566, allocations: 119.6 kB / 0.6853 GB, free: 136.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.6577, allocations: 0.8402 MB / 0.6861 GB, free: 136.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.6579, allocations: 25.7 kB / 0.6861 GB, free: 136.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.6581, allocations: 402.7 kB / 0.6865 GB, free: 136.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.6585, allocations: 391 kB / 0.6869 GB, free: 136.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.6586, allocations: 4 kB / 0.6869 GB, free: 136.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.6587, allocations: 349.7 kB / 0.6872 GB, free: 136 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008062/0.6595, allocations: 0.5147 MB / 0.6877 GB, free: 136 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/0.6603, allocations: 0.6667 MB / 0.6884 GB, free: 135.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/0.6613, allocations: 0.5742 MB / 0.689 GB, free: 135.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6613, allocations: 3.562 kB / 0.689 GB, free: 135.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01422/0.6755, allocations: 4.856 MB / 0.6937 GB, free: 135.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.6758, allocations: 1.33 MB / 0.695 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.6758, allocations: 0 / 0.695 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005994/0.6818, allocations: 1.821 MB / 0.6968 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6828, allocations: 187.4 kB / 0.697 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.6981, allocations: 6.796 MB / 0.7036 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.7, allocations: 223.7 kB / 0.7038 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.7002, allocations: 39.91 kB / 0.7038 GB, free: 132.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.7002, allocations: 4.469 kB / 0.7038 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01466/0.7149, allocations: 4.675 MB / 0.7084 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.7149, allocations: 3.5 kB / 0.7084 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006295/0.7212, allocations: 1.826 MB / 0.7102 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.7222, allocations: 168.9 kB / 0.7104 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.7373, allocations: 6.804 MB / 0.717 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.7391, allocations: 204.1 kB / 0.7172 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.7393, allocations: 40.98 kB / 0.7172 GB, free: 129.2 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.0003771/0.7397, allocations: 140.2 kB / 0.7174 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.7399, allocations: 141.8 kB / 0.7175 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.7538, allocations: 4.729 MB / 0.7221 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.7538, allocations: 13.41 kB / 0.7221 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7538, allocations: 0 / 0.7221 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-05/0.7539, allocations: 3.656 kB / 0.7221 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.7698, allocations: 6.329 MB / 0.7283 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7698, allocations: 0.7969 kB / 0.7283 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.7708, allocations: 152.7 kB / 0.7285 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006005/0.7769, allocations: 1.79 MB / 0.7302 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/0.7772, allocations: 4.641 kB / 0.7302 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.7929, allocations: 6.012 MB / 0.7361 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.793, allocations: 0 / 0.7361 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01571/0.8087, allocations: 5.63 MB / 0.7416 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.8093, allocations: 232.7 kB / 0.7418 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.8096, allocations: 2.625 kB / 0.7418 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.811, allocations: 167.2 kB / 0.742 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/0.8114, allocations: 121.5 kB / 0.7421 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.8115, allocations: 31.28 kB / 0.7421 GB, free: 117.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008461/0.8123, allocations: 0.6414 MB / 0.7427 GB, free: 117.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002182/0.8145, allocations: 0.7038 MB / 0.7434 GB, free: 116.4 MB / 490.7 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,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.000306/0.8148, allocations: 143.6 kB / 0.7436 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/0.8254, allocations: 3.855 MB / 0.7473 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8255, allocations: 4 kB / 0.7473 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/0.83, allocations: 1.548 MB / 0.7489 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8311, allocations: 129.5 kB / 0.749 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.8361, allocations: 1.959 MB / 0.7509 GB, free: 109.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000846/0.8369, allocations: 1.291 MB / 0.7522 GB, free: 108.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.837, allocations: 0 / 0.7522 GB, free: 108.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04549/0.8825, allocations: 34.02 MB / 0.7854 GB, free: 80.45 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)