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/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_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/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009322/0.0009322, allocations: 95.62 kB / 297.2 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001989/0.0001989, allocations: 11.98 kB / 358 MB, free: 9.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1901, allocations: 51.48 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09277/0.2829, allocations: 82.65 MB / 492.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.2832, allocations: 80.48 kB / 492.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4672/0.7504, allocations: 130.3 MB / 0.6079 GB, free: 72 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7504, allocations: 3.938 kB / 0.6079 GB, free: 68 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000513/0.751, allocations: 184 kB / 0.6081 GB, free: 15.88 MB / 394.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.02763/0.7786, allocations: 9.905 MB / 0.6178 GB, free: 5.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.7787, allocations: 12.03 kB / 0.6178 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004454/0.7831, allocations: 0.9813 MB / 0.6188 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.7864, allocations: 0.8846 MB / 0.6196 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.8001, allocations: 5.385 MB / 0.6249 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004556/0.8006, allocations: 0.549 MB / 0.6254 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.8025, allocations: 0.7613 MB / 0.6262 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/0.8227, allocations: 10.41 MB / 0.6363 GB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.8228, allocations: 4 kB / 0.6363 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009929/0.8238, allocations: 308 kB / 0.6366 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.8239, allocations: 172 kB / 0.6368 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/0.842, allocations: 9.522 MB / 0.6461 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3877/1.23, allocations: 34.03 MB / 0.6793 GB, free: 69.42 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007444/1.237, allocations: 6.928 MB / 0.6861 GB, free: 69.33 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/1.237, allocations: 61.36 kB / 0.6861 GB, free: 69.32 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.845e-05/1.237, allocations: 119.3 kB / 0.6863 GB, free: 69.27 MB / 442.8 MB Notification: Performance of pre-optimization done (n=539): time 7.374e-06/1.237, allocations: 0 / 0.6863 GB, free: 69.27 MB / 442.8 MB Notification: Performance of matching and sorting (n=539): time 0.01146/1.249, allocations: 9.351 MB / 0.6954 GB, free: 68.9 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/1.249, allocations: 155.5 kB / 0.6955 GB, free: 68.77 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005988/1.255, allocations: 5.298 MB / 0.7007 GB, free: 68.48 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005573/1.256, allocations: 149.9 kB / 0.7008 GB, free: 68.45 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.257, allocations: 2.918 MB / 0.7037 GB, free: 67.64 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.258, allocations: 1.935 MB / 0.7056 GB, free: 66.6 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.259, allocations: 117.3 kB / 0.7057 GB, free: 66.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002287/1.259, allocations: 0.5491 MB / 0.7062 GB, free: 66.29 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/1.263, allocations: 3.745 MB / 0.7099 GB, free: 66.27 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/1.268, allocations: 4.174 MB / 0.714 GB, free: 65.23 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/1.273, allocations: 4.433 MB / 0.7183 GB, free: 63.47 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.273, allocations: 0 / 0.7183 GB, free: 63.47 MB / 442.8 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.011/1.284, allocations: 9.308 MB / 0.7274 GB, free: 60 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.284, allocations: 6.031 kB / 0.7274 GB, free: 60 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.284, allocations: 3.969 kB / 0.7274 GB, free: 60 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/1.284, allocations: 61.34 kB / 0.7275 GB, free: 59.98 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005677/1.29, allocations: 1.773 MB / 0.7292 GB, free: 59.79 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000943/1.291, allocations: 1.478 MB / 0.7306 GB, free: 58.36 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.295, allocations: 0.7095 MB / 0.7313 GB, free: 57.96 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/1.295, allocations: 171.9 kB / 0.7315 GB, free: 57.91 MB / 442.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.003373/1.298, allocations: 2.423 MB / 0.7339 GB, free: 56.96 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.3, allocations: 0.5464 MB / 0.7344 GB, free: 56.7 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/1.301, allocations: 0.737 MB / 0.7351 GB, free: 56.17 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.301, allocations: 51.8 kB / 0.7352 GB, free: 56.17 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/1.301, allocations: 7.062 kB / 0.7352 GB, free: 56.17 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/1.301, allocations: 29.72 kB / 0.7352 GB, free: 56.17 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009033/1.31, allocations: 7.921 MB / 0.7429 GB, free: 53.05 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/1.31, allocations: 0 / 0.7429 GB, free: 53.05 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006156/1.316, allocations: 1.54 MB / 0.7444 GB, free: 52.81 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/1.316, allocations: 40.23 kB / 0.7445 GB, free: 52.8 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/1.317, allocations: 186.8 kB / 0.7446 GB, free: 52.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000659/1.318, allocations: 1.285 MB / 0.7459 GB, free: 51.41 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.318, allocations: 2.297 kB / 0.7459 GB, free: 51.41 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.329, allocations: 10.61 MB / 0.7563 GB, free: 47.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.331, allocations: 0.8442 MB / 0.7571 GB, free: 46.64 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000782/1.332, allocations: 177.7 kB / 0.7573 GB, free: 46.55 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004189/1.336, allocations: 0.8412 MB / 0.7581 GB, free: 46.48 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/1.336, allocations: 283.7 kB / 0.7584 GB, free: 46.44 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003131/1.337, allocations: 160.1 kB / 0.7585 GB, free: 46.39 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004287/1.341, allocations: 4.071 MB / 0.7625 GB, free: 44.94 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.341, allocations: 0 / 0.7625 GB, free: 44.94 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003246/1.344, allocations: 2.175 MB / 0.7646 GB, free: 44.46 MB / 442.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.01089/1.355, allocations: 11.47 MB / 0.7758 GB, free: 34.74 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008932/1.364, allocations: 7.73 MB / 0.7834 GB, free: 28.16 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.364, allocations: 11.8 kB / 0.7834 GB, free: 28.15 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003476/1.367, allocations: 3.498 MB / 0.7868 GB, free: 25.13 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/1.372, allocations: 1.237 MB / 0.788 GB, free: 24.15 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2933/1.666, allocations: 67.54 MB / 0.8539 GB, free: 99.91 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004982/1.671, allocations: 5.197 MB / 0.859 GB, free: 99.07 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.007083/1.678, allocations: 2.699 MB / 0.8617 GB, free: 99.02 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003538/1.681, allocations: 2.809 MB / 0.8644 GB, free: 99.01 MB / 474.8 MB Notification: Performance of SimCode: time 7.01e-07/1.681, allocations: 0 / 0.8644 GB, free: 99.01 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/1.836, allocations: 139.8 MB / 1.001 GB, free: 17.32 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/1.837, allocations: 206.9 kB / 1.001 GB, free: 17.08 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.208/7.045, allocations: 0 / 1.001 GB, free: 17.08 MB / 474.8 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)