Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 69.23 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1128, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.007247/0.1201, allocations: 5.581 MB / 364 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.1232, allocations: 1.43 MB / 365.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.1237, allocations: 19.94 kB / 365.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.1244, allocations: 191.3 kB / 365.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.1253, allocations: 381.2 kB / 366 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.1259, allocations: 307.6 kB / 366.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1772/0.3032, allocations: 13.87 MB / 380.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007774/0.311, allocations: 5.093 MB / 385.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007392/0.3184, allocations: 4.811 MB / 390.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009581/0.328, allocations: 5.115 MB / 395.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003064/0.3311, allocations: 1.182 MB / 396.4 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/0.3356, allocations: 1.182 MB / 397.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003436/0.3391, allocations: 2.812 MB / 400.4 MB, free: 488 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01123/0.3503, allocations: 5.242 MB / 405.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.3697, allocations: 14.73 MB / 420.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.3698, allocations: 0 / 420.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3698, allocations: 3.938 kB / 420.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005367/0.3703, allocations: 0 / 420.4 MB, free: 12.71 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.03066/0.401, allocations: 10.5 MB / 430.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4011, allocations: 8.031 kB / 430.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00406/0.4051, allocations: 0.9085 MB / 431.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.4159, allocations: 4.57 MB / 436.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006353/0.4165, allocations: 0.5417 MB / 436.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/0.4194, allocations: 0.7645 MB / 437.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/0.4478, allocations: 11.44 MB / 449.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.448, allocations: 7.875 kB / 449.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/0.4498, allocations: 308 kB / 449.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.4502, allocations: 363 kB / 449.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.4743, allocations: 10.29 MB / 460.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08564/0.56, allocations: 34.46 MB / 494.5 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/0.5745, allocations: 7.86 MB / 0.4906 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01365/0.5882, allocations: 7.937 MB / 0.4984 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/0.5886, allocations: 69.12 kB / 0.4984 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.5888, allocations: 128.7 kB / 0.4985 GB, free: 2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=654): time 1.806e-05/0.5888, allocations: 7.922 kB / 0.4985 GB, free: 1.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=654): time 0.0215/0.6103, allocations: 10.42 MB / 0.5087 GB, free: 7.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.6105, allocations: 175.9 kB / 0.5089 GB, free: 7.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.6217, allocations: 5.79 MB / 0.5145 GB, free: 1.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001337/0.6231, allocations: 169.7 kB / 0.5147 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/0.6259, allocations: 2.935 MB / 0.5176 GB, free: 14.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002959/0.6288, allocations: 2.313 MB / 0.5198 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/0.6313, allocations: 1.183 MB / 0.521 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6315, allocations: 305.1 kB / 0.5213 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006933/0.6384, allocations: 4.019 MB / 0.5252 GB, free: 6.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008858/0.6473, allocations: 4.542 MB / 0.5296 GB, free: 1.957 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3581/1.005, allocations: 8.339 MB / 0.5378 GB, free: 132.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/1.006, allocations: 0 / 0.5378 GB, free: 132.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02016/1.026, allocations: 10.06 MB / 0.5476 GB, free: 129.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/1.026, allocations: 8.156 kB / 0.5476 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/1.026, allocations: 1.031 kB / 0.5476 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/1.026, allocations: 73.53 kB / 0.5477 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007852/1.034, allocations: 1.958 MB / 0.5496 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/1.035, allocations: 1.505 MB / 0.5511 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/1.042, allocations: 0.7605 MB / 0.5518 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.043, allocations: 201.1 kB / 0.552 GB, free: 127.5 MB / 446.1 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 (890): * Single equations (assignments): 889 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005055/1.048, allocations: 2.528 MB / 0.5545 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/1.05, allocations: 0.5821 MB / 0.555 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.051, allocations: 0.7971 MB / 0.5558 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/1.051, allocations: 61.19 kB / 0.5559 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.61e-05/1.051, allocations: 7.875 kB / 0.5559 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-05/1.051, allocations: 30.38 kB / 0.5559 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03726/1.088, allocations: 24.69 MB / 0.58 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/1.089, allocations: 27.94 kB / 0.5801 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007258/1.096, allocations: 1.742 MB / 0.5818 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003526/1.096, allocations: 72.84 kB / 0.5818 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/1.098, allocations: 242.7 kB / 0.5821 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/1.099, allocations: 1.43 MB / 0.5835 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.479e-05/1.099, allocations: 39.88 kB / 0.5835 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.119, allocations: 13.1 MB / 0.5963 GB, free: 92.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/1.122, allocations: 0.942 MB / 0.5972 GB, free: 91.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/1.125, allocations: 227.9 kB / 0.5974 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007474/1.132, allocations: 0.8234 MB / 0.5982 GB, free: 90.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/1.134, allocations: 439 kB / 0.5986 GB, free: 90.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001216/1.135, allocations: 220 kB / 0.5988 GB, free: 89.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007936/1.143, allocations: 4.104 MB / 0.6029 GB, free: 85.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.143, allocations: 0 / 0.6029 GB, free: 85.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009437/1.152, allocations: 2.31 MB / 0.6051 GB, free: 83.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 116 * 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 (653): * Single equations (assignments): 652 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/1.154, allocations: 469.6 kB / 0.6056 GB, free: 83.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04659/1.201, allocations: 25.94 MB / 0.6309 GB, free: 57.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.668e-05/1.201, allocations: 18.7 kB / 0.6309 GB, free: 57.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006556/1.208, allocations: 4.096 MB / 0.6349 GB, free: 52.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/1.219, allocations: 1.448 MB / 0.6363 GB, free: 51.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06985/1.289, allocations: 25.11 MB / 0.6609 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/1.3, allocations: 5.212 MB / 0.6659 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004412/1.304, allocations: 475.4 kB / 0.6664 GB, free: 20.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.304, allocations: 0 / 0.6664 GB, free: 20.32 MB / 446.1 MB Notification: Performance of Templates: time 0.3699/1.674, allocations: 149.8 MB / 0.8127 GB, free: 53.87 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)