Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001393/0.001393, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.209/1.209, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001539/0.001539, allocations: 109 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08334, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.3299, allocations: 71.3 MB / 426.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.3302, allocations: 67.09 kB / 426.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007258/0.3374, allocations: 3.34 MB / 429.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3375, allocations: 0 / 429.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3375, allocations: 4 kB / 429.8 MB, free: 15.41 MB / 314.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.0004506/0.3379, allocations: 471.1 kB / 430.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.338, allocations: 12.03 kB / 430.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.338, allocations: 24.75 kB / 430.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3382, allocations: 190.8 kB / 430.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3382, allocations: 15.12 kB / 430.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3383, allocations: 34.91 kB / 430.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.3386, allocations: 224.5 kB / 430.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3386, allocations: 2.312 kB / 430.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3386, allocations: 9.062 kB / 430.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3386, allocations: 4 kB / 430.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3388, allocations: 135.1 kB / 430.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.3397, allocations: 0.8714 MB / 431.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3399, allocations: 166 kB / 431.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3399, allocations: 4 kB / 431.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.3399, allocations: 42.44 kB / 431.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.3399, allocations: 0 / 431.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002973/0.3402, allocations: 162.3 kB / 432.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3403, allocations: 110.4 kB / 432.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3404, allocations: 170.4 kB / 432.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.3404, allocations: 32.77 kB / 432.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.3405, allocations: 158.3 kB / 432.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.3405, allocations: 65.91 kB / 432.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.3405, allocations: 3.562 kB / 432.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.3406, allocations: 333 kB / 433 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.3406, allocations: 46.3 kB / 433 MB, free: 12.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.3408, allocations: 155.6 kB / 433.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.3408, allocations: 73.44 kB / 433.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3409, allocations: 4 kB / 433.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002589/0.3411, allocations: 243.2 kB / 433.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3411, allocations: 7.953 kB / 433.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3412, allocations: 4.656 kB / 433.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3412, allocations: 8 kB / 433.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3414, allocations: 59.55 kB / 433.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3414, allocations: 11.92 kB / 433.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3415, allocations: 32.38 kB / 433.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3415, allocations: 15.12 kB / 433.6 MB, free: 11.78 MB / 314.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 7.732e-05/0.3416, allocations: 135.2 kB / 433.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.3417, allocations: 22.06 kB / 433.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.3417, allocations: 33.03 kB / 433.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3417, allocations: 0 / 433.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3417, allocations: 4 kB / 433.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3418, allocations: 0 / 433.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.3421, allocations: 419.6 kB / 434.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3422, allocations: 2.188 kB / 434.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3423, allocations: 43.91 kB / 434.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3423, allocations: 4 kB / 434.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3424, allocations: 3.688 kB / 434.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3424, allocations: 4 kB / 434.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3424, allocations: 0 / 434.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3427, allocations: 421.8 kB / 434.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.3427, allocations: 107.1 kB / 434.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.3427, allocations: 7.438 kB / 434.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3429, allocations: 3.953 kB / 434.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.3429, allocations: 14.86 kB / 434.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3429, allocations: 4 kB / 434.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.343, allocations: 139.3 kB / 434.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.343, allocations: 0 / 434.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.3433, allocations: 59.64 kB / 435 MB, free: 10.4 MB / 314.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 9.41e-05/0.3434, allocations: 105.3 kB / 435.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3436, allocations: 135.5 kB / 435.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3436, allocations: 0 / 435.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.3437, allocations: 52.77 kB / 435.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.344, allocations: 27.67 kB / 435.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.3448, allocations: 0.7172 MB / 436 MB, free: 9.434 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.345, allocations: 0.74 MB / 436.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.465e-05/0.3451, allocations: 21.94 kB / 436.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3451, allocations: 15.44 kB / 436.8 MB, free: 8.629 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3451, allocations: 4 kB / 436.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of Templates: time 0.003444/0.3486, allocations: 1.392 MB / 438.2 MB, free: 7.277 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)