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.001798/0.001798, allocations: 108 kB / 16.51 MB, free: 6.715 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.001707/0.001707, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.47/1.47, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001735/0.001736, allocations: 47.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 46.62 MB / 325.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00552/0.147, allocations: 2.303 MB / 328.3 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006209/0.1477, allocations: 187.3 kB / 328.4 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1478, allocations: 7.938 kB / 328.4 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.148, allocations: 23.83 kB / 328.5 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1483, allocations: 51.55 kB / 328.5 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1486, allocations: 47.97 kB / 328.6 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.149, allocations: 234.9 kB / 328.8 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.1494, allocations: 91.25 kB / 328.9 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1497, allocations: 83.72 kB / 329 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.15, allocations: 95.55 kB / 329.1 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.1501, allocations: 16 kB / 329.1 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.1502, allocations: 16 kB / 329.1 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1502, allocations: 43.78 kB / 329.1 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1504, allocations: 107.5 kB / 329.2 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.1509, allocations: 251.3 kB / 329.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1509, allocations: 0 / 329.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1509, allocations: 4 kB / 329.5 MB, free: 1.348 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1509, allocations: 0 / 329.5 MB, free: 1.348 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.001253/0.1522, allocations: 0.4954 MB / 330 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.1522, allocations: 12.03 kB / 330 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.1524, allocations: 32.66 kB / 330 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1527, allocations: 220 kB / 330.2 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.1527, allocations: 20.94 kB / 330.3 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.1528, allocations: 20.38 kB / 330.3 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.1535, allocations: 232.8 kB / 330.5 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1535, allocations: 192 / 330.5 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.1536, allocations: 15.88 kB / 330.5 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.1536, allocations: 12 kB / 330.5 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.154, allocations: 131.8 kB / 330.7 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1559, allocations: 0.8632 MB / 331.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.1563, allocations: 155.9 kB / 331.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1565, allocations: 66.56 kB / 331.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1566, allocations: 0 / 331.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.1566, allocations: 42.5 kB / 331.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.334e-06/0.1566, allocations: 0 / 331.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006105/0.1573, allocations: 169.5 kB / 331.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.1574, allocations: 110.8 kB / 332.1 MB, free: 14.53 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.1577, allocations: 198.6 kB / 332.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1577, allocations: 33.7 kB / 332.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1579, allocations: 151.8 kB / 332.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.158, allocations: 63.09 kB / 332.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1581, allocations: 53.94 kB / 332.5 MB, free: 14.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1583, allocations: 330.8 kB / 332.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1584, allocations: 44.55 kB / 332.9 MB, free: 13.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1587, allocations: 162.7 kB / 333.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.1592, allocations: 222.2 kB / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1592, allocations: 4 kB / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006497/0.1599, allocations: 249 kB / 333.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.1599, allocations: 11.94 kB / 333.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.16, allocations: 4 kB / 333.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.16, allocations: 4 kB / 333.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.1604, allocations: 60.55 kB / 333.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1604, allocations: 11.98 kB / 333.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.1607, allocations: 27.75 kB / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.1607, allocations: 8 kB / 333.7 MB, free: 12.78 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.0001773/0.1609, allocations: 141.7 kB / 333.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.1611, allocations: 23.73 kB / 333.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.375e-05/0.1612, allocations: 25.34 kB / 333.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1612, allocations: 7.984 kB / 333.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1612, allocations: 0 / 333.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1612, allocations: 8 kB / 333.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/0.1621, allocations: 420.8 kB / 334.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1621, allocations: 0 / 334.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.1625, allocations: 35.98 kB / 334.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.1625, allocations: 3.984 kB / 334.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1626, allocations: 8 kB / 334.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1626, allocations: 3.938 kB / 334.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1626, allocations: 12.03 kB / 334.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.1632, allocations: 368.2 kB / 334.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.1633, allocations: 92.92 kB / 334.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.1634, allocations: 12.03 kB / 334.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1637, allocations: 4 kB / 334.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1637, allocations: 23.84 kB / 334.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1638, allocations: 8 kB / 334.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.164, allocations: 140.3 kB / 335 MB, free: 11.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.164, allocations: 0 / 335 MB, free: 11.36 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006737/0.1647, allocations: 51.84 kB / 335 MB, free: 11.3 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.0001587/0.1649, allocations: 111.2 kB / 335.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004576/0.1653, allocations: 139.7 kB / 335.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1654, allocations: 0 / 335.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1655, allocations: 51.91 kB / 335.3 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.1664, allocations: 33.05 kB / 335.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1682, allocations: 0.6632 MB / 336 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.1687, allocations: 0.7323 MB / 336.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.1689, allocations: 25.89 kB / 336.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.169, allocations: 15.44 kB / 336.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.169, allocations: 0 / 336.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of Templates: time 0.007139/0.1761, allocations: 1.464 MB / 338.2 MB, free: 8.004 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)