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.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/3.997e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3876, allocations: 54.86 MB / 362.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00364/0.3913, allocations: 2.046 MB / 364.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3929, allocations: 0.5792 MB / 365.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.3932, allocations: 10.44 kB / 365.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.142e-05/0.3933, allocations: 26.58 kB / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.3936, allocations: 91.44 kB / 365.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3939, allocations: 71.16 kB / 365.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.3943, allocations: 179.8 kB / 365.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3945, allocations: 39.03 kB / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.3948, allocations: 95.92 kB / 366 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.395, allocations: 104.9 kB / 366.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.3951, allocations: 9.094 kB / 366.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.3951, allocations: 9.469 kB / 366.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.3952, allocations: 48.58 kB / 366.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.3953, allocations: 25.84 kB / 366.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.3956, allocations: 206.3 kB / 366.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3956, allocations: 1.312 kB / 366.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3956, allocations: 0 / 366.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3957, allocations: 0 / 366.4 MB, free: 9.555 MB / 298.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.001182/0.3969, allocations: 0.515 MB / 366.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3969, allocations: 17.66 kB / 366.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3971, allocations: 39.66 kB / 367 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.3975, allocations: 250.8 kB / 367.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.3976, allocations: 23.06 kB / 367.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.3977, allocations: 32.84 kB / 367.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.3985, allocations: 279.7 kB / 367.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.3985, allocations: 10.73 kB / 367.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.3986, allocations: 10.12 kB / 367.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3986, allocations: 6.719 kB / 367.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.3994, allocations: 201.9 kB / 367.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.4021, allocations: 1.335 MB / 369.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.4028, allocations: 257.8 kB / 369.4 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.4029, allocations: 4 kB / 369.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4029, allocations: 34.56 kB / 369.4 MB, free: 6.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.985e-06/0.403, allocations: 0 / 369.4 MB, free: 6.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.004228/0.4072, allocations: 1.616 MB / 371 MB, free: 5.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.4073, allocations: 144.5 kB / 371.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.4077, allocations: 200 kB / 371.3 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.4077, allocations: 29.7 kB / 371.4 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4079, allocations: 176.3 kB / 371.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.408, allocations: 118.3 kB / 371.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.408, allocations: 4.188 kB / 371.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4082, allocations: 342.8 kB / 372 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.4087, allocations: 120.7 kB / 372.1 MB, free: 4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.4093, allocations: 245.5 kB / 372.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.4099, allocations: 140.6 kB / 372.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4099, allocations: 0 / 372.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001396/0.4113, allocations: 417.2 kB / 372.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4114, allocations: 8 kB / 372.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4114, allocations: 4 kB / 372.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.4114, allocations: 12.31 kB / 372.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.4122, allocations: 111.8 kB / 373 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.4122, allocations: 19.98 kB / 373.1 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.4127, allocations: 27.98 kB / 373.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.4128, allocations: 20 kB / 373.1 MB, free: 2.953 MB / 298.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.0002218/0.413, allocations: 149.7 kB / 373.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4131, allocations: 27.72 kB / 373.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.4132, allocations: 33.7 kB / 373.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4133, allocations: 4 kB / 373.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.4133, allocations: 7.953 kB / 373.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4133, allocations: 3.984 kB / 373.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.4157, allocations: 1.013 MB / 374.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4157, allocations: 4 kB / 374.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/0.4165, allocations: 80.42 kB / 374.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.4165, allocations: 3.938 kB / 374.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.4166, allocations: 11.98 kB / 374.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.4166, allocations: 8 kB / 374.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4166, allocations: 0 / 374.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.4184, allocations: 0.8195 MB / 375.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4186, allocations: 104.7 kB / 375.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.4186, allocations: 8.062 kB / 375.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.4191, allocations: 27.97 kB / 375.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4192, allocations: 27.91 kB / 375.4 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.4193, allocations: 12 kB / 375.4 MB, free: 472 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.4195, allocations: 156.5 kB / 375.6 MB, free: 316 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4195, allocations: 0 / 375.6 MB, free: 316 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006544/0.4202, allocations: 72 kB / 375.7 MB, free: 244 kB / 298.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.0001489/0.4203, allocations: 103.2 kB / 375.8 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.4215, allocations: 304.3 kB / 376.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4215, allocations: 64 / 376.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.4221, allocations: 143.8 kB / 376.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.4227, allocations: 28.38 kB / 376.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.4249, allocations: 1.063 MB / 377.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.4254, allocations: 0.7761 MB / 378.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.4257, allocations: 30.97 kB / 378.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4259, allocations: 31.42 kB / 378.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4259, allocations: 3.938 kB / 378.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Templates: time 0.008688/0.4346, allocations: 2.107 MB / 380.2 MB, free: 11.59 MB / 314.7 MB