Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") [: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 trunk/package.mo): time 0.001868/0.001868, allocations: 195.8 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009139/0.0009139, allocations: 90.59 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.446e-06, allocations: 0 / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09027, allocations: 51.48 MB / 394.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.3491, allocations: 81.85 MB / 476.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.3494, allocations: 82.81 kB / 476.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5278/0.8772, allocations: 129.5 MB / 0.5919 GB, free: 63.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009992/0.8783, allocations: 180.3 kB / 0.592 GB, free: 63.05 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.02356/0.9019, allocations: 8.616 MB / 0.6005 GB, free: 60.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.9019, allocations: 15 kB / 0.6005 GB, free: 60.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/0.9059, allocations: 0.8845 MB / 0.6013 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.9199, allocations: 5.419 MB / 0.6066 GB, free: 59.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004882/0.9205, allocations: 232.4 kB / 0.6068 GB, free: 59.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/0.9234, allocations: 481 kB / 0.6073 GB, free: 59.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02042/0.9438, allocations: 9.323 MB / 0.6164 GB, free: 59.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02565/0.9695, allocations: 9.528 MB / 0.6257 GB, free: 59.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/0.9699, allocations: 3.906 kB / 0.6257 GB, free: 59.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002413/0.9723, allocations: 7.594 kB / 0.6257 GB, free: 59.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.9724, allocations: 168.8 kB / 0.6259 GB, free: 59.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07478/1.047, allocations: 32.93 MB / 0.658 GB, free: 48.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/1.055, allocations: 4.319 MB / 0.6623 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007174/1.062, allocations: 6.51 MB / 0.6686 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/1.062, allocations: 63.72 kB / 0.6687 GB, free: 44.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/1.062, allocations: 118 kB / 0.6688 GB, free: 44.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=539): time 8.195e-06/1.062, allocations: 0 / 0.6688 GB, free: 44.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=539): time 0.01021/1.072, allocations: 6.357 MB / 0.675 GB, free: 42.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.073, allocations: 160 kB / 0.6752 GB, free: 42.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008645/1.081, allocations: 4.647 MB / 0.6797 GB, free: 40.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.082, allocations: 32.3 kB / 0.6797 GB, free: 40.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.084, allocations: 2.202 MB / 0.6819 GB, free: 39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002644/1.086, allocations: 1.869 MB / 0.6837 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.088, allocations: 3.562 kB / 0.6837 GB, free: 37.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005375/1.088, allocations: 0.5469 MB / 0.6842 GB, free: 37.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005832/1.094, allocations: 3.752 MB / 0.6879 GB, free: 35.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005766/1.1, allocations: 4.151 MB / 0.692 GB, free: 34.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006191/1.106, allocations: 4.462 MB / 0.6963 GB, free: 32.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-05/1.106, allocations: 4.656 kB / 0.6963 GB, free: 32.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01606/1.122, allocations: 9.1 MB / 0.7052 GB, free: 25.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.122, allocations: 4 kB / 0.7052 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/1.122, allocations: 4 kB / 0.7052 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002807/1.122, allocations: 66.73 kB / 0.7053 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006731/1.129, allocations: 1.729 MB / 0.707 GB, free: 23.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/1.13, allocations: 1.424 MB / 0.7084 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.135, allocations: 475.8 kB / 0.7088 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008093/1.136, allocations: 175.5 kB / 0.709 GB, free: 21.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 774 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001313/1.138, allocations: 183.8 kB / 0.7091 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/1.139, allocations: 0.506 MB / 0.7096 GB, free: 20.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.141, allocations: 0.6385 MB / 0.7103 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/1.141, allocations: 48 kB / 0.7103 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-05/1.141, allocations: 0 / 0.7103 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.841e-05/1.141, allocations: 28.52 kB / 0.7103 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.154, allocations: 7.089 MB / 0.7173 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/1.154, allocations: 4 kB / 0.7173 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00749/1.162, allocations: 1.504 MB / 0.7187 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/1.162, allocations: 44.22 kB / 0.7188 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000855/1.163, allocations: 122.3 kB / 0.7189 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007314/1.164, allocations: 1.243 MB / 0.7201 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.164, allocations: 0 / 0.7201 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0128/1.176, allocations: 10.45 MB / 0.7303 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/1.179, allocations: 0.7819 MB / 0.7311 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.18, allocations: 98.55 kB / 0.7312 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005041/1.185, allocations: 0.6542 MB / 0.7318 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006475/1.186, allocations: 257.9 kB / 0.7321 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005088/1.186, allocations: 147.3 kB / 0.7322 GB, free: 1.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.1712/1.357, allocations: 4.031 MB / 0.7361 GB, free: 104.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006162/1.364, allocations: 1.996 MB / 0.7381 GB, free: 104.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 116 (firstOrder.y,oLine1.L[1].i,oLine1.L[2].i,oLine1.C[1].v,oLine5.L[1].i,oLine5.L[2].i,oLine5.L[3].i,oLine5.L[4].i,oLine5.L[5].i,oLine5.L[6].i,oLine5.C[1].v,oLine5.C[2].v,oLine5.C[3].v,oLine5.C[4].v,oLine5.C[5].v,oLine50.L[1].i,oLine50.L[2].i,oLine50.L[3].i,oLine50.L[4].i,oLine50.L[5].i,oLine50.L[6].i,oLine50.L[7].i,oLine50.L[8].i,oLine50.L[9].i,oLine50.L[10].i,oLine50.L[11].i,oLine50.L[12].i,oLine50.L[13].i,oLine50.L[14].i,oLine50.L[15].i,oLine50.L[16].i,oLine50.L[17].i,oLine50.L[18].i,oLine50.L[19].i,oLine50.L[20].i,oLine50.L[21].i,oLine50.L[22].i,oLine50.L[23].i,oLine50.L[24].i,oLine50.L[25].i,oLine50.L[26].i,oLine50.L[27].i,oLine50.L[28].i,oLine50.L[29].i,oLine50.L[30].i,oLine50.L[31].i,oLine50.L[32].i,oLine50.L[33].i,oLine50.L[34].i,oLine50.L[35].i,oLine50.L[36].i,oLine50.L[37].i,oLine50.L[38].i,oLine50.L[39].i,oLine50.L[40].i,oLine50.L[41].i,oLine50.L[42].i,oLine50.L[43].i,oLine50.L[44].i,oLine50.L[45].i,oLine50.L[46].i,oLine50.L[47].i,oLine50.L[48].i,oLine50.L[49].i,oLine50.L[50].i,oLine50.L[51].i,oLine50.C[1].v,oLine50.C[2].v,oLine50.C[3].v,oLine50.C[4].v,oLine50.C[5].v,oLine50.C[6].v,oLine50.C[7].v,oLine50.C[8].v,oLine50.C[9].v,oLine50.C[10].v,oLine50.C[11].v,oLine50.C[12].v,oLine50.C[13].v,oLine50.C[14].v,oLine50.C[15].v,oLine50.C[16].v,oLine50.C[17].v,oLine50.C[18].v,oLine50.C[19].v,oLine50.C[20].v,oLine50.C[21].v,oLine50.C[22].v,oLine50.C[23].v,oLine50.C[24].v,oLine50.C[25].v,oLine50.C[26].v,oLine50.C[27].v,oLine50.C[28].v,oLine50.C[29].v,oLine50.C[30].v,oLine50.C[31].v,oLine50.C[32].v,oLine50.C[33].v,oLine50.C[34].v,oLine50.C[35].v,oLine50.C[36].v,oLine50.C[37].v,oLine50.C[38].v,oLine50.C[39].v,oLine50.C[40].v,oLine50.C[41].v,oLine50.C[42].v,oLine50.C[43].v,oLine50.C[44].v,oLine50.C[45].v,oLine50.C[46].v,oLine50.C[47].v,oLine50.C[48].v,oLine50.C[49].v,oLine50.C[50].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 537 * 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 Backend phase and start with SimCode phase: time 0.001144/1.365, allocations: 268.2 kB / 0.7383 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009488/1.374, allocations: 7.697 MB / 0.7459 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.374, allocations: 11.23 kB / 0.7459 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004084/1.378, allocations: 3.479 MB / 0.7493 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004666/1.383, allocations: 0.8269 MB / 0.7501 GB, free: 104 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/1.426, allocations: 22.01 MB / 0.7716 GB, free: 99.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008235/1.434, allocations: 5.638 MB / 0.7771 GB, free: 98.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/1.434, allocations: 0 / 0.7771 GB, free: 98.27 MB / 442.7 MB Notification: Performance of Templates: time 0.1285/1.563, allocations: 81.3 MB / 0.8565 GB, free: 74.44 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)