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.008959/0.008959, allocations: 98.95 kB / 15.73 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.002599/0.002599, allocations: 193 kB / 16.67 MB, free: 5.934 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.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001454/0.001454, allocations: 58.31 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003944/0.1119, allocations: 2.247 MB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006712/0.1126, allocations: 183.3 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1128, allocations: 11.94 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.113, allocations: 39.64 kB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1133, allocations: 55.42 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1136, allocations: 55.92 kB / 375.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.114, allocations: 235 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.1142, allocations: 114.3 kB / 376.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1144, allocations: 91.7 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1146, allocations: 95.56 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.1146, allocations: 24 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.1147, allocations: 24 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.1147, allocations: 47.83 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1149, allocations: 115.5 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1152, allocations: 258.8 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1152, allocations: 0 / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1152, allocations: 0 / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1153, allocations: 4 kB / 376.7 MB, free: 13.73 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.0008608/0.1161, allocations: 0.5107 MB / 377.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1162, allocations: 12.03 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.1163, allocations: 24.8 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1165, allocations: 224 kB / 377.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1165, allocations: 16.94 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.1166, allocations: 24.31 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.117, allocations: 236.9 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1171, allocations: 192 / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.1171, allocations: 11.94 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1171, allocations: 4 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1175, allocations: 131.9 kB / 377.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1187, allocations: 0.8637 MB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.119, allocations: 167.7 kB / 378.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1191, allocations: 62.55 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1191, allocations: 7.984 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1192, allocations: 34.5 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.885e-06/0.1192, allocations: 4 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004204/0.1196, allocations: 169.7 kB / 379.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.1197, allocations: 110.8 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.1199, allocations: 198.1 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.12, allocations: 25.7 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1201, allocations: 164.2 kB / 379.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.1201, allocations: 71.42 kB / 379.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.1202, allocations: 45.98 kB / 379.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1203, allocations: 338.8 kB / 380.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.1204, allocations: 44.55 kB / 380.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1206, allocations: 150.8 kB / 380.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1209, allocations: 218.2 kB / 380.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1209, allocations: 4 kB / 380.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003691/0.1213, allocations: 249.1 kB / 380.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.1213, allocations: 11.94 kB / 380.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1213, allocations: 4 kB / 380.8 MB, free: 9.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1214, allocations: 4.438 kB / 380.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1216, allocations: 63.91 kB / 380.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1216, allocations: 4 kB / 380.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1217, allocations: 27.78 kB / 380.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1218, allocations: 16 kB / 380.9 MB, free: 9.148 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 0.0001259/0.1219, allocations: 145.7 kB / 381.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.122, allocations: 23.78 kB / 381.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.122, allocations: 25.39 kB / 381.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.122, allocations: 4 kB / 381.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.122, allocations: 4 kB / 381.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1221, allocations: 0 / 381.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1226, allocations: 420.9 kB / 381.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1226, allocations: 4 kB / 381.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.1228, allocations: 35.98 kB / 381.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1228, allocations: 4 kB / 381.6 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1228, allocations: 7.938 kB / 381.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1228, allocations: 8.031 kB / 381.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1228, allocations: 0 / 381.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.1234, allocations: 381.2 kB / 382 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.1234, allocations: 92.95 kB / 382.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1235, allocations: 12 kB / 382.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1236, allocations: 4 kB / 382.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1237, allocations: 19.86 kB / 382.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1237, allocations: 8 kB / 382.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1238, allocations: 144.3 kB / 382.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1238, allocations: 0 / 382.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.1242, allocations: 55.89 kB / 382.3 MB, free: 7.66 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.0001511/0.1244, allocations: 99.25 kB / 382.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1247, allocations: 147.7 kB / 382.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1247, allocations: 0 / 382.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.1248, allocations: 51.92 kB / 382.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.1254, allocations: 36.98 kB / 382.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1265, allocations: 0.5946 MB / 383.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1269, allocations: 0.732 MB / 384 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.52e-05/0.127, allocations: 21.94 kB / 384 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.127, allocations: 19.44 kB / 384 MB, free: 5.883 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.127, allocations: 0 / 384 MB, free: 5.883 MB / 318.1 MB Notification: Performance of Templates: time 0.004541/0.1316, allocations: 1.566 MB / 385.6 MB, free: 4.316 MB / 318.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)