Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7775/0.7775, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002178/0.002178, allocations: 151.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.952e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04456/0.04459, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04334/0.08799, allocations: 33.57 MB / 239 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.08823, allocations: 63.97 kB / 239 MB, free: 6.738 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008654/0.0969, allocations: 3.335 MB / 242.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09694, allocations: 0 / 242.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.09696, allocations: 4 kB / 242.4 MB, free: 3.379 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005778/0.09755, allocations: 466.3 kB / 242.8 MB, free: 2.879 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.0976, allocations: 12.03 kB / 242.8 MB, free: 2.867 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.09767, allocations: 27.77 kB / 242.9 MB, free: 2.84 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.09783, allocations: 186.8 kB / 243 MB, free: 2.617 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.09786, allocations: 16.56 kB / 243.1 MB, free: 2.602 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.09791, allocations: 23.94 kB / 243.1 MB, free: 2.578 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.09831, allocations: 228.3 kB / 243.3 MB, free: 2.336 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.09834, allocations: 0 / 243.3 MB, free: 2.336 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.09837, allocations: 12 kB / 243.3 MB, free: 2.324 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.09839, allocations: 8 kB / 243.3 MB, free: 2.316 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.09862, allocations: 131.8 kB / 243.5 MB, free: 2.188 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.09972, allocations: 0.8675 MB / 244.3 MB, free: 1.258 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.09993, allocations: 160 kB / 244.5 MB, free: 1.074 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.1, allocations: 58.58 kB / 244.5 MB, free: 1.008 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1001, allocations: 4 kB / 244.5 MB, free: 1.004 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1001, allocations: 34.56 kB / 244.6 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.1001, allocations: 0 / 244.6 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002794/0.1004, allocations: 133.6 kB / 244.7 MB, free: 0.8242 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.1005, allocations: 114.7 kB / 244.8 MB, free: 0.6875 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1006, allocations: 170.6 kB / 245 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1006, allocations: 25.7 kB / 245 MB, free: 492 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.1007, allocations: 167.7 kB / 245.2 MB, free: 320 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1008, allocations: 63.11 kB / 245.2 MB, free: 256 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.1008, allocations: 4 kB / 245.2 MB, free: 252 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.1022/0.203, allocations: 333.9 kB / 245.6 MB, free: 41.06 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2032, allocations: 41.19 kB / 245.6 MB, free: 41.06 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2034, allocations: 143.1 kB / 245.7 MB, free: 40.93 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2035, allocations: 72.16 kB / 245.8 MB, free: 40.93 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2035, allocations: 1 kB / 245.8 MB, free: 40.93 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003966/0.2039, allocations: 235 kB / 246 MB, free: 40.9 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.204, allocations: 6.406 kB / 246 MB, free: 40.9 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.204, allocations: 7.812 kB / 246.1 MB, free: 40.9 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.204, allocations: 5.344 kB / 246.1 MB, free: 40.9 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.2042, allocations: 61.66 kB / 246.1 MB, free: 40.9 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2043, allocations: 8.953 kB / 246.1 MB, free: 40.9 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2044, allocations: 30.34 kB / 246.2 MB, free: 40.9 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2045, allocations: 15.23 kB / 246.2 MB, free: 40.9 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/0.2045, allocations: 124 kB / 246.3 MB, free: 40.79 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.2046, allocations: 19.73 kB / 246.3 MB, free: 40.79 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.2047, allocations: 22.27 kB / 246.3 MB, free: 40.78 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2047, allocations: 3.281 kB / 246.3 MB, free: 40.78 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2047, allocations: 2.891 kB / 246.3 MB, free: 40.78 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2047, allocations: 5.266 kB / 246.3 MB, free: 40.78 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.2052, allocations: 423.6 kB / 246.8 MB, free: 40.46 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2052, allocations: 1.797 kB / 246.8 MB, free: 40.46 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.2054, allocations: 42.52 kB / 246.8 MB, free: 40.45 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2054, allocations: 7.375 kB / 246.8 MB, free: 40.45 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2054, allocations: 2.969 kB / 246.8 MB, free: 40.45 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2054, allocations: 6 kB / 246.8 MB, free: 40.45 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2054, allocations: 1.344 kB / 246.8 MB, free: 40.45 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.2057, allocations: 420.6 kB / 247.2 MB, free: 40.15 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2058, allocations: 97.22 kB / 247.3 MB, free: 40.05 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.2058, allocations: 6.953 kB / 247.3 MB, free: 40.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2059, allocations: 1.984 kB / 247.3 MB, free: 40.05 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.206, allocations: 13.42 kB / 247.3 MB, free: 40.05 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.206, allocations: 11.58 kB / 247.4 MB, free: 40.04 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.639e-05/0.2061, allocations: 139.6 kB / 247.5 MB, free: 39.97 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.2061, allocations: 0 / 247.5 MB, free: 39.97 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.2064, allocations: 58.77 kB / 247.6 MB, free: 39.96 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000103/0.2065, allocations: 101.6 kB / 247.7 MB, free: 39.87 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2068, allocations: 135.6 kB / 247.8 MB, free: 39.86 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2068, allocations: 0 / 247.8 MB, free: 39.86 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/0.2069, allocations: 59.23 kB / 247.8 MB, free: 39.85 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2072, allocations: 30.73 kB / 247.9 MB, free: 39.85 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.2079, allocations: 494.6 kB / 248.4 MB, free: 39.55 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.208, allocations: 0.7421 MB / 249.1 MB, free: 38.85 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.044e-05/0.2081, allocations: 21.28 kB / 249.1 MB, free: 38.84 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.2082, allocations: 16.28 kB / 249.1 MB, free: 38.84 MB / 186.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2082, allocations: 5.5 kB / 249.1 MB, free: 38.84 MB / 186.7 MB Notification: Performance of Templates: time 0.003877/0.2121, allocations: 1.401 MB / 250.5 MB, free: 38.73 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)