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.0008615/0.0008619, allocations: 89.91 kB / 16.65 MB, free: 6.535 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.001077/0.001077, allocations: 172.6 kB / 17.56 MB, free: 6.184 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.501/1.501, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.000464/0.0004644, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003167/0.1321, allocations: 1.942 MB / 330.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.1327, allocations: 191.3 kB / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1329, allocations: 4 kB / 330.4 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.952e-05/0.133, allocations: 23.83 kB / 330.5 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1332, allocations: 55.55 kB / 330.5 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1335, allocations: 43.95 kB / 330.6 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1338, allocations: 227 kB / 330.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.1341, allocations: 87.25 kB / 330.9 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1343, allocations: 83.66 kB / 331 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1345, allocations: 87.56 kB / 331 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.1345, allocations: 12 kB / 331.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.1346, allocations: 12 kB / 331.1 MB, free: 1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.1346, allocations: 31.84 kB / 331.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1348, allocations: 129.2 kB / 331.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1351, allocations: 251.3 kB / 331.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1352, allocations: 3.938 kB / 331.5 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1352, allocations: 0 / 331.5 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1352, allocations: 0 / 331.5 MB, free: 0.5859 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.0008052/0.136, allocations: 475.4 kB / 331.9 MB, free: 72 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1361, allocations: 8.031 kB / 331.9 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1361, allocations: 24.66 kB / 332 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1365, allocations: 227.9 kB / 332.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1365, allocations: 12.94 kB / 332.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.1366, allocations: 28.28 kB / 332.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.1371, allocations: 228.9 kB / 332.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1372, allocations: 8.188 kB / 332.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1372, allocations: 11.88 kB / 332.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1372, allocations: 8 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.1376, allocations: 135.8 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1392, allocations: 0.8555 MB / 333.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.1396, allocations: 163.9 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1397, allocations: 58.56 kB / 333.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1398, allocations: 7.984 kB / 333.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1398, allocations: 42.44 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.1398, allocations: 4 kB / 333.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005842/0.1404, allocations: 166.1 kB / 333.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.1405, allocations: 106.8 kB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.1408, allocations: 206.5 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1408, allocations: 25.7 kB / 334.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.141, allocations: 155.9 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.1411, allocations: 63.11 kB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.1412, allocations: 25.7 kB / 334.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1414, allocations: 330.8 kB / 334.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.1415, allocations: 52.53 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1417, allocations: 154.7 kB / 335 MB, free: 12.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1422, allocations: 225.6 kB / 335.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1422, allocations: 4 kB / 335.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005742/0.1428, allocations: 241.1 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.1428, allocations: 11.94 kB / 335.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1429, allocations: 0 / 335.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.1429, allocations: 8.438 kB / 335.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.1433, allocations: 71.84 kB / 335.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1433, allocations: 4 kB / 335.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1435, allocations: 27.84 kB / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.1436, allocations: 12 kB / 335.6 MB, free: 12.08 MB / 286.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.0001377/0.1437, allocations: 145.7 kB / 335.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1439, allocations: 23.73 kB / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.544e-05/0.144, allocations: 25.39 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.144, allocations: 4 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.144, allocations: 4 kB / 335.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.144, allocations: 0 / 335.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.1449, allocations: 424.8 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1449, allocations: 4 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.1452, allocations: 35.92 kB / 336.2 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1452, allocations: 4 kB / 336.2 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1452, allocations: 4 kB / 336.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1452, allocations: 8.094 kB / 336.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1453, allocations: 3.938 kB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.1458, allocations: 373 kB / 336.6 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.1459, allocations: 101 kB / 336.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.146, allocations: 4 kB / 336.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1462, allocations: 4 kB / 336.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1463, allocations: 15.92 kB / 336.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1463, allocations: 4 kB / 336.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1465, allocations: 144.3 kB / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1465, allocations: 0 / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1468, allocations: 59.84 kB / 336.9 MB, free: 10.6 MB / 286.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.0001205/0.147, allocations: 99.19 kB / 337 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1473, allocations: 146.9 kB / 337.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.1473, allocations: 0 / 337.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1475, allocations: 52.98 kB / 337.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.1482, allocations: 28.77 kB / 337.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1498, allocations: 0.7458 MB / 338 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1503, allocations: 0.7323 MB / 338.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.1504, allocations: 25.92 kB / 338.8 MB, free: 8.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.1505, allocations: 19.44 kB / 338.8 MB, free: 8.684 MB / 286.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1505, allocations: 0 / 338.8 MB, free: 8.684 MB / 286.1 MB Notification: Performance of Templates: time 0.005589/0.1561, allocations: 1.432 MB / 340.2 MB, free: 7.254 MB / 286.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)