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.00164/0.00164, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 226.5 MB / 244.7 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007103/0.0007104, allocations: 103.6 kB / 296.8 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002415/0.0002415, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2095, allocations: 51.3 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.003474/0.213, allocations: 4.781 MB / 412.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.215, allocations: 1.357 MB / 414.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.2153, allocations: 19.94 kB / 414.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.2156, allocations: 166.8 kB / 414.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000537/0.2162, allocations: 333.8 kB / 414.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.2166, allocations: 231.7 kB / 414.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01988/0.2365, allocations: 33.87 MB / 448.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005628/0.2422, allocations: 4.327 MB / 453.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.2467, allocations: 3.149 MB / 456.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006079/0.2528, allocations: 3.656 MB / 459.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.2542, allocations: 499.9 kB / 460.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.2565, allocations: 496 kB / 460.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.2583, allocations: 1.763 MB / 462.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006739/0.265, allocations: 4.038 MB / 466.7 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.2755, allocations: 11.43 MB / 478.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2755, allocations: 4 kB / 478.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2755, allocations: 0 / 478.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004801/0.276, allocations: 3.938 kB / 478.1 MB, free: 5.398 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.02192/0.298, allocations: 9.955 MB / 488.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.298, allocations: 8.031 kB / 488.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.301, allocations: 0.8894 MB / 489 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008872/0.3099, allocations: 4.495 MB / 493.5 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/0.3104, allocations: 0.5455 MB / 494 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/0.3124, allocations: 0.7655 MB / 494.8 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/0.3334, allocations: 10.88 MB / 0.4938 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.3336, allocations: 0 / 0.4938 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000889/0.3345, allocations: 308 kB / 0.4941 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.3346, allocations: 168 kB / 0.4943 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3524/0.6871, allocations: 9.908 MB / 0.5039 GB, free: 85.02 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/0.7456, allocations: 34.35 MB / 0.5375 GB, free: 60.41 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/0.7534, allocations: 6.93 MB / 0.5443 GB, free: 53.48 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006299/0.7597, allocations: 6.784 MB / 0.5509 GB, free: 46.68 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.7599, allocations: 56.23 kB / 0.5509 GB, free: 46.62 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.08e-05/0.76, allocations: 119.7 kB / 0.551 GB, free: 46.48 MB / 378.8 MB Notification: Performance of pre-optimization done (n=539): time 6.392e-06/0.76, allocations: 3.938 kB / 0.5511 GB, free: 46.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=539): time 0.0119/0.7719, allocations: 9.277 MB / 0.5601 GB, free: 37.08 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.772, allocations: 159 kB / 0.5603 GB, free: 36.89 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007294/0.7793, allocations: 5.759 MB / 0.5659 GB, free: 31.11 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008225/0.7802, allocations: 153.7 kB / 0.566 GB, free: 30.96 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.7817, allocations: 2.93 MB / 0.5689 GB, free: 28.01 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.7831, allocations: 1.933 MB / 0.5708 GB, free: 26.09 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.7834, allocations: 128 kB / 0.5709 GB, free: 25.96 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.7837, allocations: 0.5463 MB / 0.5714 GB, free: 25.41 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004887/0.7886, allocations: 3.74 MB / 0.5751 GB, free: 21.66 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00609/0.7947, allocations: 4.187 MB / 0.5792 GB, free: 17.45 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/0.8036, allocations: 7.597 MB / 0.5866 GB, free: 9.781 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.8037, allocations: 3.938 kB / 0.5866 GB, free: 9.777 MB / 378.8 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01235/0.816, allocations: 9.297 MB / 0.5957 GB, free: 432 kB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.8161, allocations: 8 kB / 0.5957 GB, free: 424 kB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.8161, allocations: 0 / 0.5957 GB, free: 424 kB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.8164, allocations: 64.95 kB / 0.5958 GB, free: 356 kB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006394/0.8228, allocations: 1.761 MB / 0.5975 GB, free: 14.56 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.8242, allocations: 1.398 MB / 0.5988 GB, free: 13.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/0.8294, allocations: 0.7094 MB / 0.5995 GB, free: 12.31 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/0.8301, allocations: 172 kB / 0.5997 GB, free: 12.14 MB / 394.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.00471/0.8348, allocations: 2.417 MB / 0.6021 GB, free: 9.711 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/0.8364, allocations: 0.5547 MB / 0.6026 GB, free: 9.152 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.8379, allocations: 0.7355 MB / 0.6033 GB, free: 8.406 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/0.838, allocations: 48 kB / 0.6034 GB, free: 8.359 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/0.838, allocations: 8.125 kB / 0.6034 GB, free: 8.352 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.8381, allocations: 27.89 kB / 0.6034 GB, free: 8.324 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.8492, allocations: 7.921 MB / 0.6111 GB, free: 384 kB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/0.8492, allocations: 3.984 kB / 0.6111 GB, free: 380 kB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006823/0.8561, allocations: 1.541 MB / 0.6126 GB, free: 14.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.8563, allocations: 40.78 kB / 0.6127 GB, free: 14.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006346/0.857, allocations: 183.9 kB / 0.6129 GB, free: 14.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/0.8578, allocations: 1.284 MB / 0.6141 GB, free: 13.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8579, allocations: 0 / 0.6141 GB, free: 13.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/0.8732, allocations: 10.61 MB / 0.6245 GB, free: 2.398 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/0.8757, allocations: 0.8451 MB / 0.6253 GB, free: 1.527 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/0.8773, allocations: 175.9 kB / 0.6255 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004923/0.8822, allocations: 0.8351 MB / 0.6263 GB, free: 0.5195 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006095/0.8829, allocations: 283.8 kB / 0.6266 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004443/0.8833, allocations: 156 kB / 0.6267 GB, free: 88 kB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006107/0.8894, allocations: 4.077 MB / 0.6307 GB, free: 12 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8895, allocations: 0 / 0.6307 GB, free: 12 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005344/0.8948, allocations: 2.178 MB / 0.6328 GB, free: 9.816 MB / 426.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.0008689/0.8957, allocations: 386.2 kB / 0.6332 GB, free: 9.43 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.907, allocations: 7.723 MB / 0.6407 GB, free: 1.637 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.907, allocations: 11.8 kB / 0.6407 GB, free: 1.625 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004966/0.912, allocations: 3.493 MB / 0.6441 GB, free: 14.11 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007027/0.9191, allocations: 1.312 MB / 0.6454 GB, free: 12.79 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/0.9604, allocations: 26.94 MB / 0.6717 GB, free: 1.754 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.168/1.128, allocations: 5.037 MB / 0.6767 GB, free: 150.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002634/1.131, allocations: 427.2 kB / 0.6771 GB, free: 150.6 MB / 458.8 MB Notification: Performance of SimCode: time 9.02e-07/1.131, allocations: 0 / 0.6771 GB, free: 150.6 MB / 458.8 MB Notification: Performance of Templates: time 0.1472/1.278, allocations: 143.4 MB / 0.8171 GB, free: 22.63 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)