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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 103.4 kB / 15.33 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.001648/0.001648, allocations: 193 kB / 16.25 MB, free: 6.621 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.58/1.58, 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.001245/0.001246, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.301, allocations: 46.62 MB / 324.8 MB, free: 2.148 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003238/0.3043, allocations: 2.293 MB / 327.1 MB, free: 348 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003421/0.3047, allocations: 201.2 kB / 327.3 MB, free: 172 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.3048, allocations: 4.906 kB / 327.3 MB, free: 172 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.945e-05/0.3049, allocations: 27.39 kB / 327.4 MB, free: 148 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.305, allocations: 51.11 kB / 327.4 MB, free: 104 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3052, allocations: 50.11 kB / 327.5 MB, free: 60 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.3055, allocations: 231.4 kB / 327.7 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.3057, allocations: 110.2 kB / 327.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3058, allocations: 86.59 kB / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.306, allocations: 105.6 kB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.306, allocations: 19.88 kB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.153e-05/0.3061, allocations: 22.12 kB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.3061, allocations: 49.83 kB / 328.1 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3062, allocations: 112.7 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.3065, allocations: 253.9 kB / 328.4 MB, free: 15.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3065, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.3065, allocations: 7.938 kB / 328.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3065, allocations: 3.938 kB / 328.4 MB, free: 15.42 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.0007011/0.3072, allocations: 0.4954 MB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3073, allocations: 8.594 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.3074, allocations: 29.34 kB / 329 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3076, allocations: 222.3 kB / 329.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3076, allocations: 17.94 kB / 329.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.3077, allocations: 22.97 kB / 329.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.3081, allocations: 234.9 kB / 329.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3081, allocations: 4.172 kB / 329.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3081, allocations: 11.25 kB / 329.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.3082, allocations: 9.375 kB / 329.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3084, allocations: 129.3 kB / 329.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.3096, allocations: 0.8577 MB / 330.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.3099, allocations: 166.1 kB / 330.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.31, allocations: 60.72 kB / 330.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.31, allocations: 1.438 kB / 330.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.31, allocations: 41.41 kB / 330.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.31, allocations: 0 / 330.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003765/0.3104, allocations: 169.4 kB / 330.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3105, allocations: 112.9 kB / 331 MB, free: 13.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3107, allocations: 190.4 kB / 331.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3107, allocations: 25.7 kB / 331.2 MB, free: 13.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3108, allocations: 163.2 kB / 331.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.3109, allocations: 67.81 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.311, allocations: 47.67 kB / 331.5 MB, free: 12.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3111, allocations: 331.3 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.3112, allocations: 50.61 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3114, allocations: 151.2 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3117, allocations: 217 kB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3117, allocations: 1.938 kB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003571/0.3121, allocations: 247.7 kB / 332.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3121, allocations: 9.875 kB / 332.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3121, allocations: 4.625 kB / 332.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3121, allocations: 8.438 kB / 332.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.3123, allocations: 63.62 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3124, allocations: 13.56 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3125, allocations: 32.31 kB / 332.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3125, allocations: 14.06 kB / 332.6 MB, free: 11.88 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.0001101/0.3126, allocations: 141.2 kB / 332.7 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.3127, allocations: 24.83 kB / 332.8 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.3128, allocations: 22 kB / 332.8 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3128, allocations: 2.188 kB / 332.8 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3128, allocations: 1.125 kB / 332.8 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3128, allocations: 9.047 kB / 332.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.3134, allocations: 417.1 kB / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3134, allocations: 2.25 kB / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.3136, allocations: 38.3 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3136, allocations: 2.438 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3136, allocations: 2.438 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3136, allocations: 1.281 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3136, allocations: 10.38 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.314, allocations: 383.3 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.3141, allocations: 92.86 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3141, allocations: 8 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3143, allocations: 8 kB / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3143, allocations: 19.91 kB / 333.8 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3143, allocations: 4 kB / 333.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3144, allocations: 145.5 kB / 333.9 MB, free: 10.66 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3145, allocations: 0 / 333.9 MB, free: 10.66 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.3148, allocations: 55.84 kB / 334 MB, free: 10.61 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.0001224/0.3149, allocations: 95.25 kB / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3152, allocations: 151.7 kB / 334.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3152, allocations: 0 / 334.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.3153, allocations: 51.92 kB / 334.3 MB, free: 10.31 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3158, allocations: 32.98 kB / 334.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3168, allocations: 0.6889 MB / 335 MB, free: 9.547 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3172, allocations: 0.732 MB / 335.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.081e-05/0.3173, allocations: 29.88 kB / 335.7 MB, free: 8.758 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3173, allocations: 15.44 kB / 335.8 MB, free: 8.746 MB / 270.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3173, allocations: 0 / 335.8 MB, free: 8.746 MB / 270.1 MB Notification: Performance of Templates: time 0.004222/0.3215, allocations: 1.525 MB / 337.3 MB, free: 7.223 MB / 270.1 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)