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_3.2.1_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.3 MB / 221.9 MB, free: 1.863 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.057e-05, allocations: 0 / 273 MB, free: 0.7422 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.0901, allocations: 48.71 MB / 321.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.4899, allocations: 76.15 MB / 397.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4901, allocations: 63.97 kB / 398 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02157/0.5117, allocations: 4.71 MB / 402.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.292e-06/0.5118, allocations: 4 kB / 402.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.5118, allocations: 4 kB / 402.7 MB, free: 9.066 MB / 330.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.0009005/0.5127, allocations: 0.5176 MB / 403.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5128, allocations: 8.031 kB / 403.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.5129, allocations: 36.72 kB / 403.2 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.5133, allocations: 250.5 kB / 403.5 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.5133, allocations: 20.56 kB / 403.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.5134, allocations: 31.98 kB / 403.5 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.514, allocations: 256.9 kB / 403.8 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.514, allocations: 7.906 kB / 403.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.5141, allocations: 12 kB / 403.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.5141, allocations: 8 kB / 403.8 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.5145, allocations: 135.9 kB / 403.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.5167, allocations: 1.313 MB / 405.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.5172, allocations: 222.4 kB / 405.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.5174, allocations: 79.39 kB / 405.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5175, allocations: 4 kB / 405.6 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.5175, allocations: 50.62 kB / 405.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.969e-06/0.5175, allocations: 0 / 405.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002684/0.5202, allocations: 1.389 MB / 407 MB, free: 4.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.5204, allocations: 132.5 kB / 407.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.5207, allocations: 201 kB / 407.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.5207, allocations: 29.7 kB / 407.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.5209, allocations: 230.8 kB / 407.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.521, allocations: 122.3 kB / 407.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.5211, allocations: 12 kB / 407.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5213, allocations: 326.8 kB / 408 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5215, allocations: 68.88 kB / 408.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.5218, allocations: 212.5 kB / 408.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.5221, allocations: 105 kB / 408.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-06/0.5221, allocations: 0 / 408.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000754/0.5229, allocations: 309 kB / 408.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.5229, allocations: 8 kB / 408.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.523, allocations: 7.938 kB / 408.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.523, allocations: 8 kB / 408.7 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.5236, allocations: 108.3 kB / 408.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.5236, allocations: 12.48 kB / 408.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.5239, allocations: 27.98 kB / 408.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.524, allocations: 19.98 kB / 408.9 MB, free: 2.25 MB / 330.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.0001452/0.5241, allocations: 132.8 kB / 409 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.5243, allocations: 31.62 kB / 409 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.5244, allocations: 33.83 kB / 409.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.678e-06/0.5244, allocations: 8 kB / 409.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5244, allocations: 0 / 409.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-06/0.5245, allocations: 0 / 409.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.5263, allocations: 0.9309 MB / 410 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.395e-06/0.5264, allocations: 4 kB / 410 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.5269, allocations: 92.19 kB / 410.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.5269, allocations: 4 kB / 410.1 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.527, allocations: 11.95 kB / 410.1 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.536e-06/0.527, allocations: 4 kB / 410.1 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.114e-06/0.527, allocations: 4 kB / 410.1 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5281, allocations: 0.7026 MB / 410.8 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.5283, allocations: 120.9 kB / 411 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.5283, allocations: 4 kB / 411 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.5288, allocations: 28.08 kB / 411 MB, free: 0 / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5289, allocations: 31.91 kB / 411 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.5289, allocations: 8 kB / 411 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.5291, allocations: 161.4 kB / 411.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5292, allocations: 0 / 411.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007054/0.5299, allocations: 68 kB / 411.3 MB, free: 15.74 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.0001686/0.5301, allocations: 115 kB / 411.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.5306, allocations: 215.7 kB / 411.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.163e-06/0.5307, allocations: 0.8125 kB / 411.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.5309, allocations: 103.9 kB / 411.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.5315, allocations: 33.11 kB / 411.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.5331, allocations: 0.744 MB / 412.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.5337, allocations: 0.7799 MB / 413.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5338, allocations: 27.42 kB / 413.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.895e-06/0.5338, allocations: 3.938 kB / 413.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of Templates: time 0.006846/0.5407, allocations: 3.201 MB / 416.5 MB, free: 10.44 MB / 346.7 MB