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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001333, allocations: 195.4 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 244.7 MB, free: 8.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007488/0.0007487, allocations: 95.5 kB / 296.7 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002325/0.0002326, allocations: 8 kB / 356.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.187, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.003214/0.1903, allocations: 4.785 MB / 412.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1919, allocations: 1.353 MB / 414.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.1921, allocations: 18.66 kB / 414.3 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.1925, allocations: 170.8 kB / 414.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.193, allocations: 329.9 kB / 414.8 MB, free: 21.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1934, allocations: 219.7 kB / 415 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02197/0.2153, allocations: 33.88 MB / 448.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007174/0.2226, allocations: 4.323 MB / 453.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.2266, allocations: 3.153 MB / 456.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006749/0.2334, allocations: 3.664 MB / 460 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002014/0.2354, allocations: 492 kB / 460.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.2382, allocations: 496 kB / 461 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.2406, allocations: 1.767 MB / 462.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005924/0.2466, allocations: 4.038 MB / 466.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009374/0.256, allocations: 11.43 MB / 478.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.256, allocations: 0 / 478.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.256, allocations: 0 / 478.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000346/0.2563, allocations: 0 / 478.2 MB, free: 5.379 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.02145/0.2778, allocations: 9.955 MB / 488.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2779, allocations: 12.03 kB / 488.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002877/0.2807, allocations: 0.9854 MB / 489.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.2833, allocations: 0.8894 MB / 490.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007727/0.2911, allocations: 4.495 MB / 494.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/0.2915, allocations: 0.5455 MB / 495.1 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.293, allocations: 0.7733 MB / 495.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.3127, allocations: 10.86 MB / 0.4949 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.3128, allocations: 4 kB / 0.4949 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008674/0.3137, allocations: 308 kB / 0.4952 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.3138, allocations: 172 kB / 0.4953 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.293/0.6069, allocations: 9.905 MB / 0.505 GB, free: 84.98 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05521/0.6621, allocations: 34.35 MB / 0.5385 GB, free: 59.33 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/0.6698, allocations: 6.926 MB / 0.5453 GB, free: 52.4 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006349/0.6762, allocations: 6.773 MB / 0.5519 GB, free: 45.61 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.6765, allocations: 56.23 kB / 0.552 GB, free: 45.55 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.966e-05/0.6766, allocations: 127.7 kB / 0.5521 GB, free: 45.41 MB / 378.8 MB Notification: Performance of pre-optimization done (n=539): time 6.532e-06/0.6766, allocations: 3.938 kB / 0.5521 GB, free: 45.4 MB / 378.8 MB Notification: Performance of matching and sorting (n=539): time 0.01122/0.6878, allocations: 9.27 MB / 0.5612 GB, free: 36.01 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.6879, allocations: 163 kB / 0.5613 GB, free: 35.82 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/0.6947, allocations: 5.759 MB / 0.5669 GB, free: 30.04 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007667/0.6955, allocations: 149.7 kB / 0.5671 GB, free: 29.89 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.6969, allocations: 2.942 MB / 0.57 GB, free: 26.93 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.6981, allocations: 1.932 MB / 0.5718 GB, free: 25.01 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.6985, allocations: 120 kB / 0.572 GB, free: 24.89 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.6987, allocations: 0.5463 MB / 0.5725 GB, free: 24.34 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004412/0.7031, allocations: 3.743 MB / 0.5761 GB, free: 20.59 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/0.7077, allocations: 4.195 MB / 0.5802 GB, free: 16.36 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008266/0.716, allocations: 7.588 MB / 0.5876 GB, free: 8.707 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.716, allocations: 7.969 kB / 0.5877 GB, free: 8.699 MB / 378.8 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01136/0.7274, allocations: 9.292 MB / 0.5967 GB, free: 15.35 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.7275, allocations: 8 kB / 0.5967 GB, free: 15.34 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.7275, allocations: 0 / 0.5967 GB, free: 15.34 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.7278, allocations: 68.94 kB / 0.5968 GB, free: 15.27 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006091/0.7339, allocations: 1.761 MB / 0.5985 GB, free: 13.49 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.735, allocations: 1.401 MB / 0.5999 GB, free: 11.95 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/0.7396, allocations: 0.6989 MB / 0.6006 GB, free: 11.24 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004268/0.7401, allocations: 176 kB / 0.6007 GB, free: 11.07 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.003942/0.744, allocations: 2.421 MB / 0.6031 GB, free: 8.637 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/0.7455, allocations: 0.5485 MB / 0.6036 GB, free: 8.082 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.7471, allocations: 0.7394 MB / 0.6044 GB, free: 7.332 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/0.7471, allocations: 48 kB / 0.6044 GB, free: 7.285 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.7471, allocations: 7.938 kB / 0.6044 GB, free: 7.277 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/0.7472, allocations: 24.05 kB / 0.6044 GB, free: 7.254 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.7572, allocations: 7.921 MB / 0.6122 GB, free: 15.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.7573, allocations: 3.984 kB / 0.6122 GB, free: 15.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006482/0.7638, allocations: 1.536 MB / 0.6137 GB, free: 13.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.7639, allocations: 44.72 kB / 0.6137 GB, free: 13.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004984/0.7645, allocations: 187.9 kB / 0.6139 GB, free: 13.51 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/0.7653, allocations: 1.281 MB / 0.6152 GB, free: 12.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7653, allocations: 0 / 0.6152 GB, free: 12.1 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.7798, allocations: 10.61 MB / 0.6255 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.782, allocations: 0.849 MB / 0.6263 GB, free: 464 kB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/0.7834, allocations: 171.9 kB / 0.6265 GB, free: 292 kB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005466/0.7889, allocations: 0.8351 MB / 0.6273 GB, free: 15.45 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006935/0.7896, allocations: 291.8 kB / 0.6276 GB, free: 15.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003874/0.79, allocations: 153.6 kB / 0.6278 GB, free: 15.01 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.005624/0.7957, allocations: 4.073 MB / 0.6317 GB, free: 10.93 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7957, allocations: 0 / 0.6317 GB, free: 10.93 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004442/0.8001, allocations: 2.181 MB / 0.6339 GB, free: 8.746 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.01395/0.8141, allocations: 11.45 MB / 0.645 GB, free: 13.12 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01112/0.8252, allocations: 7.727 MB / 0.6526 GB, free: 5.328 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.8253, allocations: 11.8 kB / 0.6526 GB, free: 5.316 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/0.8296, allocations: 3.493 MB / 0.656 GB, free: 1.801 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006899/0.8366, allocations: 1.312 MB / 0.6573 GB, free: 496 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3183/1.155, allocations: 66.39 MB / 0.7221 GB, free: 119.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00426/1.159, allocations: 5.032 MB / 0.727 GB, free: 114.5 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004192/1.163, allocations: 2.796 MB / 0.7298 GB, free: 111.7 MB / 458.8 MB Notification: Performance of SimCode: time 9.61e-07/1.163, allocations: 0 / 0.7298 GB, free: 111.7 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.363/10.53, allocations: 158.5 MB / 0.8845 GB, free: 151.6 MB / 474.8 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Lines_SmoothStep_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Lines_SmoothStep.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)