Running command: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.044e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.145, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00295/0.148, allocations: 1.677 MB / 412.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1491, allocations: 435.2 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1492, allocations: 4 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.1493, allocations: 15.91 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1495, allocations: 43.83 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1499, allocations: 59.84 kB / 413.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1501, allocations: 95.66 kB / 413.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1503, allocations: 27.98 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1505, allocations: 67.83 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1507, allocations: 67.73 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.1507, allocations: 8 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1508, allocations: 4 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.1508, allocations: 27.91 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.1509, allocations: 12 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1511, allocations: 127.9 kB / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1512, allocations: 0 / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1512, allocations: 0 / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1512, allocations: 4 kB / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001052/0.1522, allocations: 431 kB / 414 MB, free: 9.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1523, allocations: 8.031 kB / 414 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.1524, allocations: 15.81 kB / 414 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1527, allocations: 207.4 kB / 414.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1528, allocations: 8 kB / 414.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.1528, allocations: 15.95 kB / 414.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.1534, allocations: 168.1 kB / 414.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1534, allocations: 0 / 414.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.1535, allocations: 8 kB / 414.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1535, allocations: 0 / 414.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.1541, allocations: 124.6 kB / 414.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1555, allocations: 0.7129 MB / 415.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.1562, allocations: 146.6 kB / 415.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.1562, allocations: 0 / 415.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1563, allocations: 42.52 kB / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1563, allocations: 0 / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002323/0.1586, allocations: 442.3 kB / 415.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1587, allocations: 59.36 kB / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1589, allocations: 142.8 kB / 416.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.159, allocations: 29.7 kB / 416.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1591, allocations: 182.8 kB / 416.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.1592, allocations: 66.95 kB / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.1592, allocations: 4 kB / 416.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1594, allocations: 322.8 kB / 416.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1598, allocations: 75.95 kB / 416.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.1602, allocations: 109.8 kB / 416.8 MB, free: 6.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.1606, allocations: 75.98 kB / 416.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1606, allocations: 3.938 kB / 416.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008851/0.1615, allocations: 227.8 kB / 417.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1615, allocations: 10.81 kB / 417.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1615, allocations: 3.984 kB / 417.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1616, allocations: 4 kB / 417.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.1621, allocations: 60 kB / 417.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1622, allocations: 3.953 kB / 417.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.1625, allocations: 15.98 kB / 417.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.1625, allocations: 8 kB / 417.2 MB, free: 6.289 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.1627, allocations: 125.8 kB / 417.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.1628, allocations: 23.81 kB / 417.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.1628, allocations: 21.17 kB / 417.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1629, allocations: 7.938 kB / 417.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1629, allocations: 0 / 417.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1629, allocations: 3.953 kB / 417.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.1646, allocations: 0.6395 MB / 418.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1646, allocations: 0 / 418.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.1651, allocations: 51.92 kB / 418.1 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.1651, allocations: 4 kB / 418.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.1651, allocations: 7.938 kB / 418.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1652, allocations: 0 / 418.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1652, allocations: 0 / 418.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.1661, allocations: 317.8 kB / 418.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1662, allocations: 104.9 kB / 418.5 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.1663, allocations: 11.95 kB / 418.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.1666, allocations: 15.98 kB / 418.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.1668, allocations: 19.97 kB / 418.6 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1668, allocations: 4 kB / 418.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.1669, allocations: 118.3 kB / 418.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1669, allocations: 0 / 418.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.1673, allocations: 40 kB / 418.7 MB, free: 4.691 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.1675, allocations: 107.1 kB / 418.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008753/0.1684, allocations: 183.8 kB / 419 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1684, allocations: 0 / 419 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.1688, allocations: 107.3 kB / 419.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1691, allocations: 20.11 kB / 419.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1703, allocations: 0.4913 MB / 419.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1706, allocations: 0.721 MB / 420.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1708, allocations: 27.42 kB / 420.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1708, allocations: 0 / 420.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of Templates: time 0.005635/0.1765, allocations: 2.096 MB / 422.5 MB, free: 0.8828 MB / 346.7 MB