Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.613e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003539/0.1473, allocations: 2.113 MB / 413 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1494, allocations: 0.8458 MB / 413.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1496, allocations: 11.94 kB / 413.9 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.583e-05/0.1497, allocations: 27.77 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.1501, allocations: 123.6 kB / 414 MB, free: 9.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1506, allocations: 99.8 kB / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.151, allocations: 203.5 kB / 414.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1512, allocations: 48.8 kB / 414.4 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.1514, allocations: 95.77 kB / 414.5 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1517, allocations: 119.6 kB / 414.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1519, allocations: 31.98 kB / 414.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1519, allocations: 12 kB / 414.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.152, allocations: 43.78 kB / 414.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.1521, allocations: 36 kB / 414.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1525, allocations: 247.6 kB / 414.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1525, allocations: 0 / 414.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1525, allocations: 0 / 414.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1526, allocations: 4 kB / 415 MB, free: 8.805 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001157/0.1537, allocations: 0.5289 MB / 415.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.1538, allocations: 8.031 kB / 415.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.1541, allocations: 47.61 kB / 415.5 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.1546, allocations: 262.4 kB / 415.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.1546, allocations: 20.66 kB / 415.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.1547, allocations: 39.94 kB / 415.9 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.1555, allocations: 294.7 kB / 416.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.1555, allocations: 7.906 kB / 416.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1556, allocations: 11.98 kB / 416.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1556, allocations: 8 kB / 416.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.1561, allocations: 176.4 kB / 416.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.159, allocations: 1.341 MB / 417.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.1597, allocations: 249.3 kB / 417.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.1598, allocations: 8 kB / 417.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1598, allocations: 39 kB / 418 MB, free: 5.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.926e-06/0.1599, allocations: 0 / 418 MB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007493/0.1606, allocations: 221.8 kB / 418.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1607, allocations: 166.1 kB / 418.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.161, allocations: 184.7 kB / 418.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1611, allocations: 29.7 kB / 418.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1613, allocations: 242.6 kB / 418.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1614, allocations: 102.6 kB / 418.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.1614, allocations: 4 kB / 418.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1616, allocations: 330.8 kB / 419.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.1618, allocations: 63.92 kB / 419.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.1622, allocations: 206.5 kB / 419.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1624, allocations: 99.94 kB / 419.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1625, allocations: 0 / 419.6 MB, free: 3.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007794/0.1633, allocations: 301.5 kB / 419.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.1633, allocations: 10.81 kB / 419.9 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1633, allocations: 11.97 kB / 419.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.1634, allocations: 8 kB / 419.9 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.1639, allocations: 83.91 kB / 420 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.164, allocations: 15.92 kB / 420 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.1643, allocations: 31.73 kB / 420 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.1643, allocations: 19.98 kB / 420.1 MB, free: 3.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0002369/0.1646, allocations: 153.7 kB / 420.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.1647, allocations: 23.72 kB / 420.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.165, allocations: 91.02 kB / 420.3 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.165, allocations: 4 kB / 420.3 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1651, allocations: 3.984 kB / 420.3 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1651, allocations: 0 / 420.3 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.166, allocations: 313.3 kB / 420.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.166, allocations: 0 / 420.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/0.1667, allocations: 67.91 kB / 420.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.1667, allocations: 0 / 420.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.1667, allocations: 11.98 kB / 420.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.1667, allocations: 4.094 kB / 420.7 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1668, allocations: 8.188 kB / 420.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.1677, allocations: 0.6792 MB / 421.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1678, allocations: 104.8 kB / 421.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.1679, allocations: 8 kB / 421.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.1683, allocations: 7.953 kB / 421.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1684, allocations: 15.97 kB / 421.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1684, allocations: 8 kB / 421.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002204/0.1686, allocations: 148.5 kB / 421.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1686, allocations: 4 kB / 421.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007885/0.1694, allocations: 79.75 kB / 421.8 MB, free: 1.457 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001848/0.1696, allocations: 107.2 kB / 421.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.1703, allocations: 189.8 kB / 422.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1703, allocations: 4.25 kB / 422.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1705, allocations: 71.86 kB / 422.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.1714, allocations: 52.62 kB / 422.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.337/0.5084, allocations: 1.369 MB / 423.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.5088, allocations: 0.7791 MB / 424.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5089, allocations: 31.98 kB / 424.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5089, allocations: 0 / 424.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Templates: time 0.009538/0.5185, allocations: 3.265 MB / 427.6 MB, free: 11.42 MB / 346.7 MB