Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006903/0.006903, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.333/1.333, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001584, allocations: 110.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004719, allocations: 12 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 38.77 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08168/0.318, allocations: 66 MB / 378.9 MB, free: 8.547 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.3183, allocations: 63.97 kB / 378.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009987/0.3283, allocations: 3.34 MB / 382.3 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.869e-06/0.3284, allocations: 4 kB / 382.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3284, allocations: 4 kB / 382.3 MB, free: 5.121 MB / 282.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.0006083/0.329, allocations: 475.2 kB / 382.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.329, allocations: 8.031 kB / 382.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.3291, allocations: 27.72 kB / 382.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.3293, allocations: 190.8 kB / 383 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3293, allocations: 16.56 kB / 383 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.3294, allocations: 28 kB / 383 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.3297, allocations: 224.3 kB / 383.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3298, allocations: 11.84 kB / 383.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3298, allocations: 8 kB / 383.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3298, allocations: 11.98 kB / 383.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.33, allocations: 131.9 kB / 383.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3312, allocations: 0.8636 MB / 384.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3315, allocations: 163.9 kB / 384.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3315, allocations: 0 / 384.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3316, allocations: 34.56 kB / 384.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.3316, allocations: 0 / 384.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003755/0.3319, allocations: 173.7 kB / 384.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.332, allocations: 114.7 kB / 384.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3322, allocations: 169.6 kB / 384.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3322, allocations: 33.7 kB / 384.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3324, allocations: 155.9 kB / 385.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.3324, allocations: 63.09 kB / 385.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.3324, allocations: 8 kB / 385.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3326, allocations: 326.8 kB / 385.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.3327, allocations: 48.53 kB / 385.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3328, allocations: 157.2 kB / 385.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.333, allocations: 71.92 kB / 385.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.333, allocations: 0 / 385.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003533/0.3333, allocations: 237.1 kB / 386 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3334, allocations: 11.94 kB / 386 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3334, allocations: 4 kB / 386 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3334, allocations: 4 kB / 386 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3336, allocations: 68.28 kB / 386.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3336, allocations: 4 kB / 386.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3338, allocations: 36.45 kB / 386.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3338, allocations: 12 kB / 386.1 MB, free: 0.9727 MB / 282.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 () * Number of clocked 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 0.0001201/0.3339, allocations: 141.7 kB / 386.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.334, allocations: 23.7 kB / 386.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.3341, allocations: 21.41 kB / 386.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3341, allocations: 4 kB / 386.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3341, allocations: 192 / 386.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3341, allocations: 3.984 kB / 386.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.3346, allocations: 428.8 kB / 386.7 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3346, allocations: 4 kB / 386.7 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3348, allocations: 31.98 kB / 386.8 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3348, allocations: 4 kB / 386.8 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3348, allocations: 8 kB / 386.8 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3348, allocations: 3.953 kB / 386.8 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3348, allocations: 8.031 kB / 386.8 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.3352, allocations: 426 kB / 387.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.3353, allocations: 92.86 kB / 387.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.3354, allocations: 8 kB / 387.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3355, allocations: 4 kB / 387.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3356, allocations: 19.97 kB / 387.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3356, allocations: 7.953 kB / 387.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.3357, allocations: 146.1 kB / 387.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3357, allocations: 0 / 387.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.3361, allocations: 59.84 kB / 387.5 MB, free: 15.42 MB / 298.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 () * Number of clocked 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.0001771/0.3362, allocations: 103.2 kB / 387.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.3365, allocations: 140.5 kB / 387.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3365, allocations: 0.875 kB / 387.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.3366, allocations: 51.98 kB / 387.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.337, allocations: 28.23 kB / 387.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3381, allocations: 0.7073 MB / 388.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3385, allocations: 0.744 MB / 389.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.524e-05/0.3386, allocations: 21.94 kB / 389.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.3386, allocations: 19.44 kB / 389.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.3386, allocations: 0 / 389.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.004358/0.343, allocations: 1.4 MB / 390.7 MB, free: 12.15 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)