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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 103.8 kB / 17.06 MB, free: 6.016 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.001536/0.001536, allocations: 195 kB / 18 MB, free: 5.094 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.444/1.444, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001287/0.001287, allocations: 47.92 kB / 327.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003213/0.1084, allocations: 2.242 MB / 376.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.1088, allocations: 195.3 kB / 376.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.1089, allocations: 4 kB / 376.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.753e-05/0.109, allocations: 39.58 kB / 377 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1092, allocations: 59.42 kB / 377 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.1093, allocations: 59.94 kB / 377.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1096, allocations: 235 kB / 377.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1098, allocations: 114.3 kB / 377.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1099, allocations: 91.72 kB / 377.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.11, allocations: 99.55 kB / 377.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1101, allocations: 20 kB / 377.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.1101, allocations: 24 kB / 377.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.1102, allocations: 43.84 kB / 377.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1103, allocations: 111.5 kB / 377.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1105, allocations: 262.9 kB / 378 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1106, allocations: 0 / 378 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1106, allocations: 7.984 kB / 378.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1106, allocations: 0 / 378.1 MB, free: 0.9883 MB / 318.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.0007223/0.1113, allocations: 0.4993 MB / 378.6 MB, free: 448 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1114, allocations: 12.03 kB / 378.6 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.1114, allocations: 24.75 kB / 378.6 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1117, allocations: 227.9 kB / 378.8 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1117, allocations: 20.88 kB / 378.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1117, allocations: 24.38 kB / 378.9 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2184/0.3301, allocations: 227.8 kB / 379.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.3302, allocations: 4.094 kB / 379.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3302, allocations: 9.406 kB / 379.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3302, allocations: 7.75 kB / 379.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.3305, allocations: 137.5 kB / 379.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3316, allocations: 0.8516 MB / 380.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3318, allocations: 156.4 kB / 380.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.3319, allocations: 62.45 kB / 380.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3319, allocations: 5.438 kB / 380.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.332, allocations: 40.45 kB / 380.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.332, allocations: 0 / 380.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003613/0.3323, allocations: 163.3 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3324, allocations: 109.8 kB / 380.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3325, allocations: 205.2 kB / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3326, allocations: 30.45 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.3326, allocations: 157.2 kB / 381 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3327, allocations: 66.84 kB / 381.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3328, allocations: 52.25 kB / 381.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.3328, allocations: 327.8 kB / 381.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.3329, allocations: 50.95 kB / 381.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.333, allocations: 156 kB / 381.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.3332, allocations: 223.3 kB / 381.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3332, allocations: 0 / 381.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003842/0.3336, allocations: 245.7 kB / 382.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3337, allocations: 7.828 kB / 382.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3337, allocations: 3.469 kB / 382.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3337, allocations: 6.641 kB / 382.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3339, allocations: 61.83 kB / 382.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.3339, allocations: 6.344 kB / 382.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.3341, allocations: 35.28 kB / 382.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.3341, allocations: 10.12 kB / 382.2 MB, free: 11.2 MB / 318.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 9.771e-05/0.3342, allocations: 146.1 kB / 382.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.3343, allocations: 17.19 kB / 382.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.3344, allocations: 24.67 kB / 382.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3344, allocations: 6.719 kB / 382.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3344, allocations: 0.5625 kB / 382.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.3344, allocations: 3.203 kB / 382.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.3349, allocations: 426.4 kB / 382.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.335, allocations: 1.188 kB / 382.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.3352, allocations: 36.02 kB / 382.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3352, allocations: 3.156 kB / 382.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3352, allocations: 6.094 kB / 382.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3352, allocations: 6.797 kB / 382.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3352, allocations: 5.5 kB / 382.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3356, allocations: 379.7 kB / 383.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.3356, allocations: 96.03 kB / 383.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3357, allocations: 6.828 kB / 383.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3358, allocations: 9.531 kB / 383.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3359, allocations: 17.92 kB / 383.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3359, allocations: 6.25 kB / 383.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.336, allocations: 145.1 kB / 383.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.336, allocations: 0 / 383.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.3364, allocations: 48.56 kB / 383.6 MB, free: 10.11 MB / 318.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.0001099/0.3365, allocations: 103.5 kB / 383.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.3368, allocations: 150.6 kB / 383.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3368, allocations: 0 / 383.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.3369, allocations: 55.7 kB / 383.9 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.3374, allocations: 30.61 kB / 383.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.3383, allocations: 0.5948 MB / 384.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.3385, allocations: 0.7359 MB / 385.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.553e-05/0.3386, allocations: 20.03 kB / 385.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.3387, allocations: 18.41 kB / 385.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3387, allocations: 0 / 385.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of Templates: time 0.004934/0.3436, allocations: 1.581 MB / 386.9 MB, free: 8.672 MB / 318.1 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)