Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") [: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.1+maint.om/package.mo): time 0.004037/0.004037, allocations: 174.3 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.381/1.381, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001814/0.001814, allocations: 100.5 kB / 217.7 MB, free: 8.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.195/0.195, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.784e-06, allocations: 1.25 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4943, allocations: 82.87 MB / 481.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4946, allocations: 65.11 kB / 481.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05855/0.5532, allocations: 19.5 MB / 0.4889 GB, free: 10.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.478e-05/0.5534, allocations: 15.66 kB / 0.4889 GB, free: 10.45 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002334/0.5557, allocations: 0.9335 MB / 0.4898 GB, free: 9.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5558, allocations: 7.75 kB / 0.4898 GB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.5562, allocations: 85.59 kB / 0.4899 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.5575, allocations: 0.54 MB / 0.4904 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.5575, allocations: 11.5 kB / 0.4905 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.5577, allocations: 42.62 kB / 0.4905 GB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006736/0.5583, allocations: 313.3 kB / 0.4908 GB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.559, allocations: 434.3 kB / 0.4912 GB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5591, allocations: 7.812 kB / 0.4912 GB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.5591, allocations: 0 / 0.4912 GB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.5592, allocations: 11.66 kB / 0.4912 GB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.5624, allocations: 1.846 MB / 0.493 GB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.5631, allocations: 445.2 kB / 0.4935 GB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.5634, allocations: 186.2 kB / 0.4936 GB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.5635, allocations: 7.781 kB / 0.4936 GB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5635, allocations: 49.84 kB / 0.4937 GB, free: 7.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.255e-06/0.5635, allocations: 0 / 0.4937 GB, free: 7.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001336/0.5648, allocations: 0.7258 MB / 0.4944 GB, free: 7.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.5649, allocations: 162.2 kB / 0.4945 GB, free: 7.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.5654, allocations: 456.3 kB / 0.495 GB, free: 7.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.5655, allocations: 25.7 kB / 0.495 GB, free: 7.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5656, allocations: 223.5 kB / 0.4952 GB, free: 7.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5657, allocations: 164 kB / 0.4954 GB, free: 6.914 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.5658, allocations: 0 / 0.4954 GB, free: 6.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5659, allocations: 373.1 kB / 0.4957 GB, free: 6.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.5662, allocations: 186.2 kB / 0.4959 GB, free: 6.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.5666, allocations: 301.5 kB / 0.4962 GB, free: 6.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.5669, allocations: 218.6 kB / 0.4964 GB, free: 6.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5669, allocations: 0 / 0.4964 GB, free: 6.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001092/0.568, allocations: 0.5943 MB / 0.497 GB, free: 6.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.568, allocations: 7.75 kB / 0.497 GB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5681, allocations: 0 / 0.497 GB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.5684, allocations: 59.34 kB / 0.4971 GB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5694, allocations: 196.3 kB / 0.4972 GB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.5712, allocations: 1.438 MB / 0.4986 GB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.572, allocations: 86.5 kB / 0.4987 GB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.5721, allocations: 15.53 kB / 0.4987 GB, free: 4.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.5723, allocations: 120.5 kB / 0.4989 GB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.5726, allocations: 66.25 kB / 0.4989 GB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.5729, allocations: 79.09 kB / 0.499 GB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.5729, allocations: 7.875 kB / 0.499 GB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5729, allocations: 0 / 0.499 GB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.573, allocations: 0 / 0.499 GB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5745, allocations: 0.7359 MB / 0.4997 GB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5745, allocations: 0 / 0.4997 GB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/0.5752, allocations: 120.9 kB / 0.4998 GB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.5752, allocations: 0 / 0.4998 GB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.5753, allocations: 15.67 kB / 0.4998 GB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5753, allocations: 0 / 0.4998 GB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5753, allocations: 7.922 kB / 0.4999 GB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001045/0.5764, allocations: 0.951 MB / 0.5008 GB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.5766, allocations: 184.3 kB / 0.501 GB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5767, allocations: 10.86 kB / 0.501 GB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.5774, allocations: 62.12 kB / 0.501 GB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5775, allocations: 38.58 kB / 0.5011 GB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.5775, allocations: 15.67 kB / 0.5011 GB, free: 3.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0004463/0.578, allocations: 354.8 kB / 0.5014 GB, free: 3.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005928/0.5786, allocations: 96.69 kB / 0.5015 GB, free: 3.434 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.5788, allocations: 114.5 kB / 0.5016 GB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009274/0.5797, allocations: 0.5407 MB / 0.5021 GB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5797, allocations: 0 / 0.5021 GB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.5801, allocations: 215.9 kB / 0.5024 GB, free: 3.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008726/0.5809, allocations: 144.9 kB / 0.5025 GB, free: 3.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.5835, allocations: 1.094 MB / 0.5036 GB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007811/0.5843, allocations: 0.9921 MB / 0.5045 GB, free: 17.77 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5843, allocations: 3.938 kB / 0.5045 GB, free: 17.77 MB / 346.7 MB Notification: Performance of Templates: time 0.01701/0.6013, allocations: 7.058 MB / 0.5114 GB, free: 14.3 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)