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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 115.3 kB / 15.34 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002329/0.002329, allocations: 191.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 52.3 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.263, allocations: 46.63 MB / 324.8 MB, free: 2.008 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003478/0.2666, allocations: 2.292 MB / 327.1 MB, free: 204 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00043/0.267, allocations: 197.6 kB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2671, allocations: 5.312 kB / 327.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.2673, allocations: 31.02 kB / 327.4 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.2674, allocations: 52.11 kB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2676, allocations: 45.95 kB / 327.5 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2679, allocations: 233.6 kB / 327.7 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.2682, allocations: 106.8 kB / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.2683, allocations: 91.38 kB / 327.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.2685, allocations: 99.95 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.2686, allocations: 21.75 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2686, allocations: 20.41 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.2687, allocations: 47.16 kB / 328.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2689, allocations: 115.4 kB / 328.2 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.2692, allocations: 253.3 kB / 328.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2692, allocations: 1.469 kB / 328.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2692, allocations: 3.938 kB / 328.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2692, allocations: 0 / 328.4 MB, free: 15.3 MB / 270.1 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.0008057/0.27, allocations: 0.5069 MB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2701, allocations: 9 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.2702, allocations: 29.09 kB / 329 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2704, allocations: 222.5 kB / 329.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2704, allocations: 17.62 kB / 329.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.2705, allocations: 27.23 kB / 329.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2709, allocations: 230.3 kB / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.271, allocations: 1.188 kB / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.271, allocations: 14 kB / 329.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.271, allocations: 5.781 kB / 329.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2713, allocations: 129.7 kB / 329.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2724, allocations: 0.8577 MB / 330.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.2727, allocations: 166 kB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2728, allocations: 64.09 kB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2728, allocations: 2.219 kB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2729, allocations: 36.66 kB / 330.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.2729, allocations: 0 / 330.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004381/0.2733, allocations: 173.8 kB / 330.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.2734, allocations: 105.7 kB / 331 MB, free: 13.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.2736, allocations: 201.3 kB / 331.2 MB, free: 12.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2736, allocations: 26.8 kB / 331.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2737, allocations: 159.1 kB / 331.4 MB, free: 12.74 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.2738, allocations: 62.8 kB / 331.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.2739, allocations: 48.7 kB / 331.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.274, allocations: 330.9 kB / 331.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.2741, allocations: 46.2 kB / 331.9 MB, free: 12.3 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2743, allocations: 159.3 kB / 332 MB, free: 12.13 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2745, allocations: 230.5 kB / 332.2 MB, free: 11.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2746, allocations: 0 / 332.2 MB, free: 11.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004286/0.275, allocations: 236.3 kB / 332.5 MB, free: 11.8 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.275, allocations: 10.72 kB / 332.5 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.275, allocations: 3.375 kB / 332.5 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.2751, allocations: 9.516 kB / 332.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.2753, allocations: 59.73 kB / 332.6 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.2753, allocations: 9.531 kB / 332.6 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.2755, allocations: 36.03 kB / 332.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2755, allocations: 14.75 kB / 332.6 MB, free: 11.75 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.2756, allocations: 144 kB / 332.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2757, allocations: 21.34 kB / 332.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.2758, allocations: 21.06 kB / 332.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2758, allocations: 3.312 kB / 332.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2758, allocations: 1.062 kB / 332.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2758, allocations: 5.234 kB / 332.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.2763, allocations: 424.5 kB / 333.2 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2763, allocations: 2.25 kB / 333.2 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.2765, allocations: 38.8 kB / 333.3 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2766, allocations: 1.438 kB / 333.3 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2766, allocations: 2.938 kB / 333.3 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.2766, allocations: 9.484 kB / 333.3 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2766, allocations: 1.5 kB / 333.3 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.277, allocations: 382.4 kB / 333.6 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.2771, allocations: 95.39 kB / 333.7 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.2771, allocations: 5.969 kB / 333.7 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2773, allocations: 2.125 kB / 333.7 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.2773, allocations: 18.19 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2773, allocations: 16.33 kB / 333.8 MB, free: 10.69 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2774, allocations: 141.8 kB / 333.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2774, allocations: 0 / 333.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.2778, allocations: 58 kB / 334 MB, free: 10.57 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.2779, allocations: 97.53 kB / 334.1 MB, free: 10.47 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.2782, allocations: 151.8 kB / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2782, allocations: 0 / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.2783, allocations: 55.91 kB / 334.3 MB, free: 10.27 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.2789, allocations: 36.64 kB / 334.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2801, allocations: 0.6779 MB / 335 MB, free: 9.516 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2804, allocations: 0.7359 MB / 335.7 MB, free: 8.754 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.721e-05/0.2805, allocations: 17.95 kB / 335.7 MB, free: 8.734 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2805, allocations: 19.44 kB / 335.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of SimCode: time 1.813e-06/0.2806, allocations: 0 / 335.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of Templates: time 0.004443/0.285, allocations: 1.52 MB / 337.3 MB, free: 7.199 MB / 270.1 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)