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.001601/0.001601, allocations: 196.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 97.78 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.482e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 51.47 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4742, allocations: 81.92 MB / 477.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4745, allocations: 80.34 kB / 477.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.613/1.088, allocations: 129.3 MB / 0.5924 GB, free: 59.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.088, allocations: 0 / 0.5924 GB, free: 59.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001059/1.089, allocations: 185 kB / 0.5926 GB, free: 59.26 MB / 442.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.02381/1.112, allocations: 8.89 MB / 0.6012 GB, free: 57.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.113, allocations: 9.594 kB / 0.6012 GB, free: 57.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003988/1.117, allocations: 0.8889 MB / 0.6021 GB, free: 56.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/1.13, allocations: 5.345 MB / 0.6073 GB, free: 55.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/1.131, allocations: 227.8 kB / 0.6076 GB, free: 55.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/1.133, allocations: 489.3 kB / 0.608 GB, free: 55.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01939/1.153, allocations: 8.978 MB / 0.6168 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/1.18, allocations: 9.253 MB / 0.6258 GB, free: 55.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/1.181, allocations: 2.125 kB / 0.6258 GB, free: 55.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/1.182, allocations: 7.344 kB / 0.6258 GB, free: 55.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/1.182, allocations: 171 kB / 0.626 GB, free: 55.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06953/1.251, allocations: 32.64 MB / 0.6579 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008476/1.26, allocations: 6.644 MB / 0.6644 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00648/1.267, allocations: 6.487 MB / 0.6707 GB, free: 40.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/1.267, allocations: 56.33 kB / 0.6708 GB, free: 40.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/1.267, allocations: 117.9 kB / 0.6709 GB, free: 40.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=539): time 8.385e-06/1.267, allocations: 0 / 0.6709 GB, free: 40.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=539): time 0.009942/1.277, allocations: 6.153 MB / 0.6769 GB, free: 38.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/1.277, allocations: 166.8 kB / 0.677 GB, free: 38.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/1.284, allocations: 4.515 MB / 0.6814 GB, free: 36.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.285, allocations: 36.89 kB / 0.6815 GB, free: 36.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.287, allocations: 2.975 MB / 0.6844 GB, free: 34.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/1.289, allocations: 1.865 MB / 0.6862 GB, free: 32.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/1.289, allocations: 0 / 0.6862 GB, free: 32.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002988/1.29, allocations: 0.546 MB / 0.6867 GB, free: 32.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004685/1.294, allocations: 3.566 MB / 0.6902 GB, free: 31.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/1.299, allocations: 3.964 MB / 0.6941 GB, free: 29.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/1.305, allocations: 4.248 MB / 0.6982 GB, free: 28.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/1.305, allocations: 0 / 0.6982 GB, free: 28.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01245/1.317, allocations: 8.697 MB / 0.7067 GB, free: 22.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/1.317, allocations: 4 kB / 0.7067 GB, free: 22.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/1.317, allocations: 6.5 kB / 0.7067 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/1.318, allocations: 68.11 kB / 0.7068 GB, free: 22.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006735/1.324, allocations: 1.767 MB / 0.7085 GB, free: 20.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/1.325, allocations: 1.426 MB / 0.7099 GB, free: 19.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/1.331, allocations: 0.538 MB / 0.7105 GB, free: 18.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.333, allocations: 172 kB / 0.7106 GB, free: 18.52 MB / 442.7 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 () * 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.002272/1.335, allocations: 191.8 kB / 0.7108 GB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01088/1.346, allocations: 6.141 MB / 0.7168 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002676/1.348, allocations: 0.5099 MB / 0.7173 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.351, allocations: 0.6346 MB / 0.7179 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.351, allocations: 52 kB / 0.718 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.281e-05/1.351, allocations: 3.953 kB / 0.718 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-05/1.351, allocations: 26.72 kB / 0.718 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.364, allocations: 6.963 MB / 0.7248 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/1.364, allocations: 0 / 0.7248 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007588/1.371, allocations: 1.536 MB / 0.7263 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003874/1.372, allocations: 44.64 kB / 0.7263 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/1.373, allocations: 111.7 kB / 0.7264 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009721/1.374, allocations: 1.236 MB / 0.7276 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.374, allocations: 0 / 0.7276 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02519/1.399, allocations: 10.64 MB / 0.738 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/1.403, allocations: 0.7792 MB / 0.7388 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/1.405, allocations: 94.22 kB / 0.7389 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007176/1.413, allocations: 0.7423 MB / 0.7396 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009835/1.414, allocations: 288.7 kB / 0.7399 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009649/1.415, allocations: 159.2 kB / 0.74 GB, free: 10.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007409/1.422, allocations: 3.423 MB / 0.7434 GB, free: 7.953 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.422, allocations: 0 / 0.7434 GB, free: 7.953 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008037/1.43, allocations: 2.001 MB / 0.7453 GB, free: 5.945 MB / 458.7 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 () * 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.2898/1.72, allocations: 10.79 MB / 0.7559 GB, free: 69.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01247/1.732, allocations: 7.359 MB / 0.7631 GB, free: 69.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.732, allocations: 14.48 kB / 0.7631 GB, free: 69.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004661/1.737, allocations: 3.342 MB / 0.7663 GB, free: 69.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/1.743, allocations: 0.8796 MB / 0.7672 GB, free: 69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04932/1.793, allocations: 24.61 MB / 0.7912 GB, free: 63.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007017/1.8, allocations: 5.202 MB / 0.7963 GB, free: 62.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007768/1.807, allocations: 2.588 MB / 0.7988 GB, free: 61.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004063/1.812, allocations: 2.75 MB / 0.8015 GB, free: 61.78 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/1.812, allocations: 3.875 kB / 0.8015 GB, free: 61.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/2.237, allocations: 121.4 MB / 0.9201 GB, free: 36.04 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/2.237, allocations: 140.8 kB / 0.9203 GB, free: 35.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/7.709, allocations: 0 / 0.9203 GB, free: 35.85 MB / 458.7 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)