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 2.082/2.082, allocations: 209.2 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.74e-05, allocations: 0 / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3557, allocations: 48.71 MB / 324.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005382/0.3611, allocations: 2.047 MB / 326.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3634, allocations: 0.5709 MB / 327.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.3638, allocations: 10.75 kB / 327.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.364, allocations: 23.97 kB / 327.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005788/0.3646, allocations: 102 kB / 327.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.3651, allocations: 67.58 kB / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007976/0.3659, allocations: 179.8 kB / 327.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.3662, allocations: 52.39 kB / 327.9 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.3666, allocations: 93.11 kB / 328 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.367, allocations: 102.3 kB / 328.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.3671, allocations: 10.03 kB / 328.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.3672, allocations: 8.906 kB / 328.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.3673, allocations: 41.56 kB / 328.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3674, allocations: 26.97 kB / 328.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.368, allocations: 217.9 kB / 328.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.368, allocations: 0 / 328.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.368, allocations: 0 / 328.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.3681, allocations: 5.125 kB / 328.4 MB, free: 1.074 MB / 266.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.001633/0.3697, allocations: 0.5104 MB / 328.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.3698, allocations: 14.19 kB / 328.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.37, allocations: 32.81 kB / 328.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.3707, allocations: 262.2 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.3707, allocations: 18.94 kB / 329.2 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3709, allocations: 25.5 kB / 329.2 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3721, allocations: 277.6 kB / 329.5 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.3722, allocations: 15.16 kB / 329.5 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.3723, allocations: 11.3 kB / 329.5 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.3723, allocations: 6.719 kB / 329.5 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3736, allocations: 200.9 kB / 329.7 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.3779, allocations: 1.323 MB / 331.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3791, allocations: 252.2 kB / 331.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.3792, allocations: 14.27 kB / 331.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.3793, allocations: 39.23 kB / 331.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 7.774e-06/0.3793, allocations: 0 / 331.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.006731/0.3861, allocations: 1.627 MB / 333 MB, free: 13.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3862, allocations: 133.3 kB / 333.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.3867, allocations: 204 kB / 333.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.3868, allocations: 31.98 kB / 333.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3871, allocations: 232.4 kB / 333.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.3873, allocations: 123 kB / 333.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.3874, allocations: 4.781 kB / 333.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3876, allocations: 331.8 kB / 334 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.3884, allocations: 108.6 kB / 334.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/0.3894, allocations: 252.1 kB / 334.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.3903, allocations: 143.3 kB / 334.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3904, allocations: 1.188 kB / 334.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002295/0.3927, allocations: 397.9 kB / 334.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.3928, allocations: 18.47 kB / 334.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3928, allocations: 5.5 kB / 334.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.149e-05/0.3929, allocations: 8.375 kB / 334.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3941, allocations: 108.2 kB / 335 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/0.3942, allocations: 8.469 kB / 335 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.395, allocations: 36.28 kB / 335.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.3951, allocations: 18.89 kB / 335.1 MB, free: 12.11 MB / 282.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.0003654/0.3955, allocations: 152.1 kB / 335.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.3957, allocations: 29.08 kB / 335.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.3959, allocations: 36.16 kB / 335.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.3959, allocations: 8.547 kB / 335.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.396, allocations: 1.25 kB / 335.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.396, allocations: 3.641 kB / 335.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.4001, allocations: 1.013 MB / 336.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.4002, allocations: 2.5 kB / 336.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.4014, allocations: 85.62 kB / 336.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.199e-05/0.4015, allocations: 7.125 kB / 336.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.4016, allocations: 9.734 kB / 336.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.4016, allocations: 13.42 kB / 336.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.4017, allocations: 3.406 kB / 336.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.4046, allocations: 0.8159 MB / 337.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.405, allocations: 115.2 kB / 337.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4051, allocations: 7.969 kB / 337.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.406, allocations: 24.81 kB / 337.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.4062, allocations: 28.58 kB / 337.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.4063, allocations: 11.86 kB / 337.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003586/0.4067, allocations: 161 kB / 337.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4067, allocations: 1.469 kB / 337.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001257/0.408, allocations: 63.72 kB / 337.7 MB, free: 10.34 MB / 282.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.0002422/0.4083, allocations: 103.5 kB / 337.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.4103, allocations: 305.2 kB / 338.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.4103, allocations: 384 / 338.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009016/0.4112, allocations: 146.8 kB / 338.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.4123, allocations: 32.06 kB / 338.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.4162, allocations: 1.091 MB / 339.3 MB, free: 9.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.4168, allocations: 0.7777 MB / 340.1 MB, free: 8.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.4172, allocations: 28.73 kB / 340.1 MB, free: 8.617 MB / 282.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4172, allocations: 0 / 340.1 MB, free: 8.617 MB / 282.7 MB Notification: Performance of Templates: time 0.01449/0.4317, allocations: 3.235 MB / 343.4 MB, free: 7.617 MB / 282.7 MB