Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007519/0.000752, allocations: 102.1 kB / 297.4 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002052, allocations: 4 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1926, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09161/0.2843, allocations: 82.6 MB / 491.3 MB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.2845, allocations: 83.95 kB / 491.4 MB, free: 8.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.489/0.7736, allocations: 130.3 MB / 0.6071 GB, free: 1.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7736, allocations: 0 / 0.6071 GB, free: 1.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005787/0.7742, allocations: 180 kB / 0.6073 GB, free: 1.672 MB / 378.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.02953/0.8037, allocations: 9.819 MB / 0.6169 GB, free: 7.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.8038, allocations: 8.031 kB / 0.6169 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/0.809, allocations: 0.8934 MB / 0.6178 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/0.8251, allocations: 5.52 MB / 0.6232 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006371/0.8258, allocations: 0.5416 MB / 0.6237 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/0.8289, allocations: 0.7656 MB / 0.6244 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.8557, allocations: 10.47 MB / 0.6347 GB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/0.856, allocations: 192 / 0.6347 GB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/0.8584, allocations: 307.9 kB / 0.635 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.8585, allocations: 176 kB / 0.6351 GB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/0.8787, allocations: 9.53 MB / 0.6444 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5088/1.388, allocations: 34.04 MB / 0.6777 GB, free: 70.88 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.398, allocations: 6.935 MB / 0.6844 GB, free: 70.8 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008194/1.406, allocations: 6.728 MB / 0.691 GB, free: 70.71 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/1.407, allocations: 55.86 kB / 0.6911 GB, free: 70.7 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/1.407, allocations: 120.9 kB / 0.6912 GB, free: 70.65 MB / 442.8 MB Notification: Performance of pre-optimization done (n=539): time 7.003e-06/1.407, allocations: 0 / 0.6912 GB, free: 70.65 MB / 442.8 MB Notification: Performance of matching and sorting (n=539): time 0.01366/1.421, allocations: 9.344 MB / 0.7003 GB, free: 70.29 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/1.421, allocations: 165.1 kB / 0.7005 GB, free: 70.16 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008329/1.429, allocations: 5.759 MB / 0.7061 GB, free: 69.87 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.43, allocations: 146.7 kB / 0.7062 GB, free: 69.84 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.432, allocations: 2.928 MB / 0.7091 GB, free: 69.18 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001842/1.434, allocations: 1.935 MB / 0.711 GB, free: 68.13 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/1.434, allocations: 121 kB / 0.7111 GB, free: 68.13 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002553/1.435, allocations: 0.5527 MB / 0.7116 GB, free: 67.81 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/1.44, allocations: 3.741 MB / 0.7153 GB, free: 66.74 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/1.445, allocations: 4.201 MB / 0.7194 GB, free: 65.22 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009415/1.454, allocations: 7.569 MB / 0.7268 GB, free: 62.18 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.454, allocations: 0 / 0.7268 GB, free: 62.18 MB / 442.8 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01344/1.468, allocations: 9.311 MB / 0.7359 GB, free: 58.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/1.468, allocations: 7.703 kB / 0.7359 GB, free: 58.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.468, allocations: 3.969 kB / 0.7359 GB, free: 58.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/1.468, allocations: 63.78 kB / 0.7359 GB, free: 58.69 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006542/1.475, allocations: 1.762 MB / 0.7377 GB, free: 58.48 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/1.476, allocations: 1.478 MB / 0.7391 GB, free: 57.06 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/1.481, allocations: 0.712 MB / 0.7398 GB, free: 56.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006915/1.482, allocations: 174.1 kB / 0.74 GB, free: 56.61 MB / 442.8 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 () * Number of clocked 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.005348/1.488, allocations: 2.421 MB / 0.7423 GB, free: 55.64 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.489, allocations: 0.5402 MB / 0.7429 GB, free: 55.39 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/1.491, allocations: 0.7403 MB / 0.7436 GB, free: 54.86 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/1.491, allocations: 50.19 kB / 0.7436 GB, free: 54.86 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.854e-05/1.491, allocations: 0 / 0.7436 GB, free: 54.86 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-05/1.491, allocations: 24.19 kB / 0.7437 GB, free: 54.86 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.504, allocations: 7.929 MB / 0.7514 GB, free: 51.74 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.998e-05/1.504, allocations: 0 / 0.7514 GB, free: 51.74 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006988/1.511, allocations: 1.538 MB / 0.7529 GB, free: 51.48 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/1.512, allocations: 35.97 kB / 0.7529 GB, free: 51.48 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007414/1.512, allocations: 184 kB / 0.7531 GB, free: 51.38 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007338/1.513, allocations: 1.296 MB / 0.7544 GB, free: 50.08 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.513, allocations: 0 / 0.7544 GB, free: 50.08 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/1.528, allocations: 10.61 MB / 0.7647 GB, free: 45.88 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002851/1.53, allocations: 0.8466 MB / 0.7656 GB, free: 45.32 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.532, allocations: 174.1 kB / 0.7657 GB, free: 45.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005484/1.538, allocations: 0.841 MB / 0.7665 GB, free: 44.66 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/1.538, allocations: 290.1 kB / 0.7668 GB, free: 44.48 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005556/1.539, allocations: 154 kB / 0.767 GB, free: 44.33 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005668/1.544, allocations: 4.075 MB / 0.7709 GB, free: 40.94 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.91e-07/1.544, allocations: 0 / 0.7709 GB, free: 40.94 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005241/1.55, allocations: 2.178 MB / 0.7731 GB, free: 38.76 MB / 442.8 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 () * Number of clocked 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.0009291/1.551, allocations: 389.5 kB / 0.7734 GB, free: 38.4 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01058/1.561, allocations: 7.736 MB / 0.781 GB, free: 31.82 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.561, allocations: 11.8 kB / 0.781 GB, free: 31.81 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004035/1.565, allocations: 3.489 MB / 0.7844 GB, free: 28.8 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/1.572, allocations: 1.313 MB / 0.7857 GB, free: 27.74 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/1.611, allocations: 27.55 MB / 0.8126 GB, free: 5.152 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004544/1.615, allocations: 5.034 MB / 0.8175 GB, free: 1.305 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00255/1.618, allocations: 427.4 kB / 0.8179 GB, free: 0.8867 MB / 442.8 MB Notification: Performance of SimCode: time 9.82e-07/1.618, allocations: 3.828 kB / 0.8179 GB, free: 0.8867 MB / 442.8 MB Notification: Performance of Templates: time 0.3529/1.971, allocations: 143.4 MB / 0.958 GB, free: 22.27 MB / 458.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)