Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 269 MB / 284.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.703e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003802/0.1472, allocations: 2.087 MB / 413 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1487, allocations: 0.5497 MB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.149, allocations: 7.938 kB / 413.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.601e-05/0.1491, allocations: 27.77 kB / 413.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.1494, allocations: 107.6 kB / 413.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1497, allocations: 59.88 kB / 413.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.15, allocations: 179.6 kB / 413.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1502, allocations: 44.67 kB / 414 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1504, allocations: 99.75 kB / 414.1 MB, free: 9.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1507, allocations: 107.6 kB / 414.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.1508, allocations: 8 kB / 414.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.1508, allocations: 8 kB / 414.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1509, allocations: 39.84 kB / 414.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.151, allocations: 24 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1513, allocations: 207.7 kB / 414.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1513, allocations: 0 / 414.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.693e-06/0.1514, allocations: 0 / 414.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1514, allocations: 3.938 kB / 414.5 MB, free: 9.316 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001126/0.1525, allocations: 0.5265 MB / 415 MB, free: 8.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1526, allocations: 12.03 kB / 415 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.1527, allocations: 31.62 kB / 415 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.1531, allocations: 258.3 kB / 415.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1532, allocations: 12.56 kB / 415.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.1532, allocations: 39.83 kB / 415.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.154, allocations: 282 kB / 415.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.1541, allocations: 0 / 415.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1541, allocations: 12 kB / 415.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1541, allocations: 8 kB / 415.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.1549, allocations: 203.7 kB / 415.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.1574, allocations: 1.321 MB / 417.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.1581, allocations: 250.5 kB / 417.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.1582, allocations: 11.98 kB / 417.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.1582, allocations: 42.55 kB / 417.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 5.12e-06/0.1583, allocations: 3.938 kB / 417.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.00417/0.1624, allocations: 1.623 MB / 419.1 MB, free: 4.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.1626, allocations: 140.4 kB / 419.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.1629, allocations: 192.1 kB / 419.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.1629, allocations: 33.7 kB / 419.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1631, allocations: 238.6 kB / 419.7 MB, free: 3.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.1632, allocations: 114.3 kB / 419.8 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.1633, allocations: 8 kB / 419.8 MB, free: 3.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1634, allocations: 330.8 kB / 420.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.1639, allocations: 104.8 kB / 420.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/0.1645, allocations: 249.4 kB / 420.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.1651, allocations: 143.9 kB / 420.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1651, allocations: 0 / 420.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001322/0.1664, allocations: 401.5 kB / 421 MB, free: 2.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1665, allocations: 12.03 kB / 421 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.1665, allocations: 7.953 kB / 421 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.1665, allocations: 8.75 kB / 421 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.1673, allocations: 107.9 kB / 421.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.1673, allocations: 11.94 kB / 421.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1677, allocations: 40.44 kB / 421.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.1678, allocations: 15.98 kB / 421.2 MB, free: 1.992 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002098/0.168, allocations: 149.7 kB / 421.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1682, allocations: 27.72 kB / 421.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.1683, allocations: 29.7 kB / 421.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1683, allocations: 11.89 kB / 421.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1683, allocations: 7.984 kB / 421.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1683, allocations: 0 / 421.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.1706, allocations: 1.005 MB / 422.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1706, allocations: 4 kB / 422.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.1714, allocations: 87.88 kB / 422.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.1714, allocations: 4 kB / 422.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.1715, allocations: 4 kB / 422.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.1715, allocations: 8 kB / 422.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.1715, allocations: 11.98 kB / 422.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3804/0.5519, allocations: 0.8142 MB / 423.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.5521, allocations: 99.17 kB / 423.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.5521, allocations: 8.469 kB / 423.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.5526, allocations: 24.14 kB / 423.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5528, allocations: 28.23 kB / 423.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.5528, allocations: 8.953 kB / 423.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002183/0.553, allocations: 159.4 kB / 423.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.553, allocations: 2.562 kB / 423.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006717/0.5537, allocations: 66.81 kB / 423.7 MB, free: 12.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001505/0.5539, allocations: 110.2 kB / 423.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.5551, allocations: 296.3 kB / 424.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5551, allocations: 2.938 kB / 424.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.5557, allocations: 146 kB / 424.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.5564, allocations: 34.97 kB / 424.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.5584, allocations: 1.085 MB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5588, allocations: 0.7811 MB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.559, allocations: 28.47 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.559, allocations: 0 / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Templates: time 0.009543/0.5685, allocations: 3.217 MB / 429.4 MB, free: 10.59 MB / 346.7 MB