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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=3000,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=3000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001995/0.001995, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 215.9 kB / 19.8 MB, free: 2.559 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.52/1.52, allocations: 230.4 MB / 251.1 MB, free: 8.426 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.001956/0.001956, allocations: 67.83 kB / 369 MB, free: 6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 53.32 MB / 422.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.007195/0.3245, allocations: 5.596 MB / 427.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.3276, allocations: 1.434 MB / 429.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.3282, allocations: 19.94 kB / 429.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.3288, allocations: 195.2 kB / 429.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009087/0.3297, allocations: 401.3 kB / 429.9 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.3303, allocations: 311.5 kB / 430.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01408/0.3444, allocations: 13.9 MB / 444.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00614/0.3505, allocations: 3.912 MB / 448.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00813/0.3587, allocations: 4.819 MB / 452.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009882/0.3686, allocations: 5.182 MB / 458.1 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003224/0.3718, allocations: 1.18 MB / 459.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.3758, allocations: 1.176 MB / 460.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005091/0.3809, allocations: 2.812 MB / 463.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01163/0.3925, allocations: 5.253 MB / 468.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.4116, allocations: 14.9 MB / 483.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4116, allocations: 0 / 483.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4116, allocations: 3.938 kB / 483.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005356/0.4121, allocations: 0 / 483.4 MB, free: 10.48 MB / 398.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.03202/0.4441, allocations: 10.72 MB / 494.1 MB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4442, allocations: 12.03 kB / 494.1 MB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.4488, allocations: 0.9445 MB / 495.1 MB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.4615, allocations: 4.701 MB / 499.8 MB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006104/0.4621, allocations: 0.5417 MB / 0.4886 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002748/0.4648, allocations: 0.7657 MB / 0.4893 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/0.492, allocations: 11.45 MB / 0.5005 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/0.4923, allocations: 4 kB / 0.5005 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001995/0.4943, allocations: 308 kB / 0.5008 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003625/0.4946, allocations: 359.1 kB / 0.5011 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.5178, allocations: 10.29 MB / 0.5112 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5604/1.078, allocations: 34.25 MB / 0.5446 GB, free: 102.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/1.09, allocations: 7.5 MB / 0.552 GB, free: 100.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009964/1.1, allocations: 7.504 MB / 0.5593 GB, free: 98.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/1.1, allocations: 64.47 kB / 0.5593 GB, free: 98.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/1.1, allocations: 133.3 kB / 0.5595 GB, free: 98.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=654): time 7.955e-06/1.1, allocations: 0 / 0.5595 GB, free: 98.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=654): time 0.01586/1.116, allocations: 10.45 MB / 0.5697 GB, free: 93.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/1.116, allocations: 175.6 kB / 0.5698 GB, free: 93.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/1.125, allocations: 5.795 MB / 0.5755 GB, free: 88.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.126, allocations: 169.7 kB / 0.5757 GB, free: 88.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.128, allocations: 3.004 MB / 0.5786 GB, free: 86.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00223/1.13, allocations: 2.43 MB / 0.581 GB, free: 83.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/1.132, allocations: 1.18 MB / 0.5821 GB, free: 82.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.015e-05/1.132, allocations: 304.9 kB / 0.5824 GB, free: 82.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005023/1.137, allocations: 4.019 MB / 0.5863 GB, free: 78.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007433/1.145, allocations: 4.543 MB / 0.5908 GB, free: 73.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.157, allocations: 8.341 MB / 0.5989 GB, free: 65.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.022e-05/1.157, allocations: 0 / 0.5989 GB, free: 65.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.0192/1.176, allocations: 10.09 MB / 0.6088 GB, free: 55.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/1.176, allocations: 7.188 kB / 0.6088 GB, free: 55.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/1.176, allocations: 4 kB / 0.6088 GB, free: 55.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/1.177, allocations: 71.47 kB / 0.6089 GB, free: 55.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00751/1.184, allocations: 1.961 MB / 0.6108 GB, free: 53.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/1.185, allocations: 1.515 MB / 0.6123 GB, free: 51.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/1.191, allocations: 0.7756 MB / 0.613 GB, free: 51.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.193, allocations: 196 kB / 0.6132 GB, free: 50.85 MB / 462.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.005491/1.198, allocations: 2.534 MB / 0.6157 GB, free: 48.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/1.2, allocations: 0.6097 MB / 0.6163 GB, free: 47.69 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.202, allocations: 0.7947 MB / 0.617 GB, free: 46.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/1.202, allocations: 61.78 kB / 0.6171 GB, free: 46.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-05/1.202, allocations: 3.938 kB / 0.6171 GB, free: 46.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.158e-05/1.202, allocations: 31.88 kB / 0.6171 GB, free: 46.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03977/1.242, allocations: 24.68 MB / 0.6412 GB, free: 21.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.125e-05/1.242, allocations: 24 kB / 0.6413 GB, free: 21.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007068/1.249, allocations: 1.742 MB / 0.643 GB, free: 19.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/1.25, allocations: 76.84 kB / 0.643 GB, free: 19.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001212/1.251, allocations: 231.9 kB / 0.6433 GB, free: 19.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/1.252, allocations: 1.439 MB / 0.6447 GB, free: 18.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-05/1.252, allocations: 42 kB / 0.6447 GB, free: 17.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.028/1.28, allocations: 13.13 MB / 0.6575 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003749/1.284, allocations: 0.9606 MB / 0.6585 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003532/1.287, allocations: 235.9 kB / 0.6587 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009344/1.296, allocations: 0.8156 MB / 0.6595 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/1.298, allocations: 447 kB / 0.6599 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001356/1.299, allocations: 216 kB / 0.6601 GB, free: 1.332 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008589/1.308, allocations: 4.112 MB / 0.6641 GB, free: 13.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.308, allocations: 0 / 0.6641 GB, free: 13.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009039/1.317, allocations: 2.332 MB / 0.6664 GB, free: 10.88 MB / 478.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.00223/1.319, allocations: 470.9 kB / 0.6669 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01968/1.339, allocations: 8.318 MB / 0.675 GB, free: 2.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.274e-05/1.339, allocations: 15.8 kB / 0.675 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01002/1.349, allocations: 4.107 MB / 0.679 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/1.362, allocations: 1.436 MB / 0.6804 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05973/1.422, allocations: 25.26 MB / 0.7051 GB, free: 2.758 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/1.432, allocations: 5.239 MB / 0.7102 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01109/1.444, allocations: 2.831 MB / 0.713 GB, free: 10.64 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002857/1.446, allocations: 439.4 kB / 0.7134 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of SimCode: time 1.243e-06/1.446, allocations: 0 / 0.7134 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of Templates: time 0.3968/1.843, allocations: 92 MB / 0.8032 GB, free: 159.3 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.makefile [Timeout 660] (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) [Timeout 480]