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.00115/0.00115, allocations: 196.6 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.6 MB / 244.3 MB, free: 6.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007543/0.0007543, allocations: 102.2 kB / 296.4 MB, free: 6.766 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 4 kB / 356.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 51.3 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.003504/0.2283, allocations: 4.769 MB / 412.3 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2304, allocations: 1.365 MB / 413.6 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.2308, allocations: 19.94 kB / 413.7 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.2312, allocations: 170.8 kB / 413.8 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.2318, allocations: 331.8 kB / 414.2 MB, free: 21.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.2322, allocations: 221.3 kB / 414.4 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02014/0.2523, allocations: 33.72 MB / 448.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005894/0.2583, allocations: 3.782 MB / 451.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.2633, allocations: 3.141 MB / 455 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006789/0.2701, allocations: 3.664 MB / 458.7 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.2721, allocations: 492 kB / 459.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.275, allocations: 496 kB / 459.6 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002072/0.2771, allocations: 1.759 MB / 461.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.2802, allocations: 1.627 MB / 463 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.2912, allocations: 11.43 MB / 474.5 MB, free: 8.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2913, allocations: 4 kB / 474.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2913, allocations: 0 / 474.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005503/0.2918, allocations: 0 / 474.5 MB, free: 8.633 MB / 346.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.02336/0.3152, allocations: 10.03 MB / 484.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3153, allocations: 12.03 kB / 484.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.319, allocations: 0.8846 MB / 485.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.3295, allocations: 4.36 MB / 489.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006142/0.3301, allocations: 0.5452 MB / 490.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/0.3329, allocations: 0.7652 MB / 491.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/0.3605, allocations: 10.87 MB / 0.4902 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00026/0.3608, allocations: 3.938 kB / 0.4902 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002495/0.3633, allocations: 308 kB / 0.4905 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.3635, allocations: 175.9 kB / 0.4906 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02362/0.3871, allocations: 9.912 MB / 0.5003 GB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4595/0.8466, allocations: 34.33 MB / 0.5338 GB, free: 63.53 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008369/0.8551, allocations: 6.929 MB / 0.5406 GB, free: 56.6 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006637/0.8617, allocations: 6.777 MB / 0.5472 GB, free: 49.8 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.862, allocations: 56.23 kB / 0.5473 GB, free: 49.74 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.218e-05/0.8621, allocations: 119.8 kB / 0.5474 GB, free: 49.61 MB / 378.8 MB Notification: Performance of pre-optimization done (n=539): time 7.324e-06/0.8621, allocations: 3.938 kB / 0.5474 GB, free: 49.61 MB / 378.8 MB Notification: Performance of matching and sorting (n=539): time 0.01253/0.8746, allocations: 9.277 MB / 0.5565 GB, free: 40.2 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.8747, allocations: 159 kB / 0.5566 GB, free: 40.02 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007867/0.8826, allocations: 5.76 MB / 0.5622 GB, free: 34.25 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001204/0.8838, allocations: 149.7 kB / 0.5624 GB, free: 34.1 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.8855, allocations: 2.935 MB / 0.5652 GB, free: 31.22 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00177/0.8873, allocations: 1.932 MB / 0.5671 GB, free: 29.3 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004239/0.8877, allocations: 120 kB / 0.5672 GB, free: 29.18 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.888, allocations: 0.558 MB / 0.5678 GB, free: 28.62 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004856/0.8928, allocations: 3.736 MB / 0.5714 GB, free: 24.88 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005385/0.8982, allocations: 4.187 MB / 0.5755 GB, free: 20.66 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005816/0.9041, allocations: 4.43 MB / 0.5798 GB, free: 16.2 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.9041, allocations: 4 kB / 0.5799 GB, free: 16.2 MB / 378.8 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01381/0.9179, allocations: 9.293 MB / 0.5889 GB, free: 6.848 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.918, allocations: 4 kB / 0.5889 GB, free: 6.844 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.918, allocations: 0 / 0.5889 GB, free: 6.844 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.9183, allocations: 72.77 kB / 0.589 GB, free: 6.77 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006356/0.9247, allocations: 1.761 MB / 0.5907 GB, free: 4.984 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.9258, allocations: 1.406 MB / 0.5921 GB, free: 3.438 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/0.9316, allocations: 0.697 MB / 0.5928 GB, free: 2.734 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007378/0.9324, allocations: 176 kB / 0.5929 GB, free: 2.562 MB / 378.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.004489/0.9369, allocations: 2.417 MB / 0.5953 GB, free: 136 kB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/0.9387, allocations: 0.5524 MB / 0.5958 GB, free: 15.57 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.9401, allocations: 0.7355 MB / 0.5966 GB, free: 14.83 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/0.9401, allocations: 52 kB / 0.5966 GB, free: 14.78 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.659e-05/0.9402, allocations: 4.875 kB / 0.5966 GB, free: 14.77 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/0.9402, allocations: 23.91 kB / 0.5966 GB, free: 14.75 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.9545, allocations: 7.927 MB / 0.6044 GB, free: 6.797 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/0.9546, allocations: 0 / 0.6044 GB, free: 6.797 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007649/0.9622, allocations: 1.535 MB / 0.6059 GB, free: 5.238 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.9625, allocations: 44.84 kB / 0.6059 GB, free: 5.191 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001057/0.9636, allocations: 187.9 kB / 0.6061 GB, free: 5.008 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.9646, allocations: 1.284 MB / 0.6074 GB, free: 3.594 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9647, allocations: 3.094 kB / 0.6074 GB, free: 3.594 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/0.9822, allocations: 10.61 MB / 0.6177 GB, free: 8.824 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/0.9849, allocations: 0.8451 MB / 0.6185 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002321/0.9872, allocations: 179.9 kB / 0.6187 GB, free: 7.777 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00636/0.9936, allocations: 0.8351 MB / 0.6195 GB, free: 6.941 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009753/0.9946, allocations: 287.8 kB / 0.6198 GB, free: 6.656 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005458/0.9952, allocations: 152 kB / 0.6199 GB, free: 6.508 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007054/1.002, allocations: 4.069 MB / 0.6239 GB, free: 2.434 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.11e-07/1.002, allocations: 0 / 0.6239 GB, free: 2.434 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006846/1.009, allocations: 2.17 MB / 0.626 GB, free: 264 kB / 410.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.001033/1.01, allocations: 394.3 kB / 0.6264 GB, free: 15.86 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01717/1.027, allocations: 7.727 MB / 0.634 GB, free: 8.062 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/1.027, allocations: 11.8 kB / 0.634 GB, free: 8.051 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007953/1.035, allocations: 3.489 MB / 0.6374 GB, free: 4.539 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.046, allocations: 1.347 MB / 0.6387 GB, free: 3.191 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04786/1.094, allocations: 26.95 MB / 0.665 GB, free: 8.133 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005783/1.1, allocations: 5.027 MB / 0.6699 GB, free: 3.062 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/1.103, allocations: 427.4 kB / 0.6703 GB, free: 2.645 MB / 458.8 MB Notification: Performance of SimCode: time 8.12e-07/1.103, allocations: 0 / 0.6703 GB, free: 2.645 MB / 458.8 MB Notification: Performance of Templates: time 0.3566/1.459, allocations: 143.4 MB / 0.8103 GB, free: 26.94 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)