Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.001271, allocations: 98.83 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002632, allocations: 11.98 kB / 306.7 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.116, allocations: 51.5 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.005105/0.1212, allocations: 4.388 MB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1238, allocations: 1.426 MB / 364 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.1242, allocations: 19.94 kB / 364.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.1246, allocations: 131.1 kB / 364.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009075/0.1255, allocations: 426.9 kB / 364.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.126, allocations: 231.6 kB / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2923/0.4183, allocations: 7.547 MB / 372.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008736/0.4271, allocations: 3.775 MB / 376.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00787/0.435, allocations: 3.159 MB / 379.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01454/0.4496, allocations: 3.612 MB / 382.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005112/0.4548, allocations: 492.7 kB / 383.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007976/0.4628, allocations: 497.2 kB / 383.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006392/0.4692, allocations: 1.74 MB / 385.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007154/0.4764, allocations: 1.631 MB / 387.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.4928, allocations: 11.39 MB / 398.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4929, allocations: 0 / 398.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.4929, allocations: 0 / 398.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008102/0.4937, allocations: 0 / 398.6 MB, free: 15.32 MB / 318.1 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.0359/0.5296, allocations: 10.02 MB / 408.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.5297, allocations: 8.031 kB / 408.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006133/0.5358, allocations: 0.9813 MB / 409.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/0.5429, allocations: 0.8846 MB / 410.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.5566, allocations: 4.364 MB / 414.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007124/0.5573, allocations: 0.5452 MB / 415.4 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/0.561, allocations: 0.773 MB / 416.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/0.5919, allocations: 10.81 MB / 427 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.5921, allocations: 0 / 427 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002094/0.5942, allocations: 308 kB / 427.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.5943, allocations: 172 kB / 427.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/0.6194, allocations: 9.904 MB / 437.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09216/0.7116, allocations: 34.34 MB / 471.7 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/0.7251, allocations: 6.93 MB / 478.7 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.7256, allocations: 56.17 kB / 478.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.7258, allocations: 119.8 kB / 478.8 MB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=539): time 9.167e-06/0.7258, allocations: 0 / 478.8 MB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=539): time 0.02249/0.7483, allocations: 9.278 MB / 488.1 MB, free: 7.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7485, allocations: 155 kB / 488.3 MB, free: 6.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/0.7593, allocations: 5.763 MB / 494 MB, free: 1.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00129/0.7607, allocations: 149.7 kB / 494.2 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.7629, allocations: 2.933 MB / 497.1 MB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002359/0.7653, allocations: 1.933 MB / 499 MB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005156/0.7658, allocations: 120 kB / 499.2 MB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003729/0.7662, allocations: 0.5619 MB / 499.7 MB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005855/0.7721, allocations: 3.732 MB / 0.4917 GB, free: 7.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/0.778, allocations: 4.175 MB / 0.4957 GB, free: 3.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.7844, allocations: 4.418 MB / 0.5 GB, free: 14.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.7844, allocations: 0 / 0.5 GB, free: 14.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01725/0.8017, allocations: 9.297 MB / 0.5091 GB, free: 5.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.8017, allocations: 9.266 kB / 0.5091 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.8018, allocations: 5.422 kB / 0.5091 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.8021, allocations: 64.81 kB / 0.5092 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007258/0.8094, allocations: 1.761 MB / 0.5109 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.8108, allocations: 1.423 MB / 0.5123 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007255/0.8181, allocations: 0.697 MB / 0.513 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/0.8193, allocations: 176 kB / 0.5132 GB, free: 1.336 MB / 430.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 (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.006467/0.8258, allocations: 2.417 MB / 0.5155 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002574/0.8284, allocations: 0.5485 MB / 0.5161 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.8306, allocations: 0.7355 MB / 0.5168 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/0.8307, allocations: 56 kB / 0.5168 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/0.8307, allocations: 3.984 kB / 0.5168 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/0.8308, allocations: 26.97 kB / 0.5169 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.8466, allocations: 7.91 MB / 0.5246 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.766e-05/0.8467, allocations: 8.484 kB / 0.5246 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007293/0.854, allocations: 1.527 MB / 0.5261 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.8543, allocations: 44.83 kB / 0.5261 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001071/0.8554, allocations: 188.8 kB / 0.5263 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009493/0.8563, allocations: 1.285 MB / 0.5276 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8564, allocations: 0 / 0.5276 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3021/1.158, allocations: 10.61 MB / 0.5379 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004347/1.163, allocations: 0.8449 MB / 0.5387 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00335/1.166, allocations: 175.4 kB / 0.5389 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008263/1.175, allocations: 0.8411 MB / 0.5397 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001292/1.176, allocations: 288.1 kB / 0.54 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006928/1.177, allocations: 157.6 kB / 0.5402 GB, free: 136.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01035/1.187, allocations: 4.07 MB / 0.5441 GB, free: 135.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.187, allocations: 0 / 0.5441 GB, free: 135.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009437/1.196, allocations: 2.175 MB / 0.5463 GB, free: 134.7 MB / 446.1 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.01632/1.213, allocations: 11.46 MB / 0.5574 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0117/1.225, allocations: 7.733 MB / 0.565 GB, free: 125.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.011e-05/1.225, allocations: 11.8 kB / 0.565 GB, free: 125.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005093/1.23, allocations: 3.493 MB / 0.5684 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008127/1.238, allocations: 1.239 MB / 0.5696 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1976/1.436, allocations: 66.45 MB / 0.6345 GB, free: 53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006557/1.442, allocations: 5.19 MB / 0.6396 GB, free: 47.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007478/1.45, allocations: 2.702 MB / 0.6422 GB, free: 45.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004328/1.454, allocations: 2.764 MB / 0.6449 GB, free: 42.3 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/1.454, allocations: 0 / 0.6449 GB, free: 42.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.421/1.875, allocations: 139.8 MB / 0.7814 GB, free: 94.86 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.875, allocations: 203.4 kB / 0.7816 GB, free: 94.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/8.385, allocations: 8.984 kB / 0.7816 GB, free: 94.61 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)