Running command: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") Notification: Performance of loadModel(ModelicaByExample): time 2.123/2.123, allocations: 203.4 MB / 215.6 MB, free: 12.97 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.974e-05, allocations: 0 / 264.7 MB, free: 10.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08377/0.08383, allocations: 46.19 MB / 310.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4481, allocations: 71.88 MB / 382.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001318/0.4483, allocations: 46.28 kB / 382.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009074/0.4574, allocations: 2.427 MB / 385.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.423e-06/0.4575, allocations: 0 / 385.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.4575, allocations: 4.188 kB / 385.2 MB, free: 12.32 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007354/0.4583, allocations: 407.7 kB / 385.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.4584, allocations: 11 kB / 385.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.4585, allocations: 20.42 kB / 385.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.4586, allocations: 176 kB / 385.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.4587, allocations: 18.47 kB / 385.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.4588, allocations: 16.91 kB / 385.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.4594, allocations: 146.4 kB / 386 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.4595, allocations: 5.5 kB / 386 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.4595, allocations: 12.64 kB / 386 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.4596, allocations: 4.344 kB / 386 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.4599, allocations: 92.8 kB / 386.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.4617, allocations: 0.6937 MB / 386.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.4623, allocations: 221 kB / 387 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.4627, allocations: 91.98 kB / 387.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4628, allocations: 1.406 kB / 387.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4628, allocations: 41.3 kB / 387.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 7.52e-06/0.4629, allocations: 4 kB / 387.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001355/0.4642, allocations: 449.9 kB / 387.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4643, allocations: 51.41 kB / 387.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4644, allocations: 114 kB / 387.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4645, allocations: 25.7 kB / 387.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.4646, allocations: 132.6 kB / 387.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.4646, allocations: 52.28 kB / 387.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.4647, allocations: 7.125 kB / 388 MB, free: 10.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.4648, allocations: 326.2 kB / 388.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4649, allocations: 45.44 kB / 388.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.4651, allocations: 84.38 kB / 388.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.4653, allocations: 64.78 kB / 388.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.041e-06/0.4654, allocations: 0 / 388.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005408/0.4659, allocations: 172.7 kB / 388.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.466, allocations: 7.75 kB / 388.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.466, allocations: 0 / 388.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.466, allocations: 3.875 kB / 388.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.4664, allocations: 47.02 kB / 388.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4665, allocations: 7.75 kB / 388.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.4666, allocations: 7.625 kB / 388.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.4667, allocations: 3.891 kB / 388.7 MB, free: 10.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 9.838e-05/0.4668, allocations: 115.9 kB / 388.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.4669, allocations: 17.62 kB / 388.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.467, allocations: 19.23 kB / 388.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.625e-06/0.467, allocations: 0 / 388.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.467, allocations: 4 kB / 388.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.986e-06/0.4671, allocations: 1.781 kB / 388.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.4683, allocations: 0.4922 MB / 389.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-06/0.4684, allocations: 0 / 389.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.4688, allocations: 35.84 kB / 389.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.49e-06/0.4688, allocations: 0 / 389.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.4689, allocations: 3.562 kB / 389.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.918e-06/0.4689, allocations: 7.828 kB / 389.4 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4689, allocations: 4 kB / 389.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.4695, allocations: 271.6 kB / 389.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.4695, allocations: 81.02 kB / 389.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.4696, allocations: 6.938 kB / 389.8 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.4698, allocations: 7.812 kB / 389.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.4699, allocations: 7.438 kB / 389.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.4699, allocations: 3.875 kB / 389.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.862e-05/0.47, allocations: 95.7 kB / 389.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.268e-06/0.4701, allocations: 0 / 389.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000634/0.4707, allocations: 37.72 kB / 389.9 MB, free: 9.258 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.w,idealSensor.flange.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001222/0.4709, allocations: 107.7 kB / 390 MB, free: 9.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.4711, allocations: 115 kB / 390.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.989e-06/0.4712, allocations: 0 / 390.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.4713, allocations: 49.95 kB / 390.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.4715, allocations: 15.55 kB / 390.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009569/0.4724, allocations: 465.4 kB / 390.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.473, allocations: 0.7227 MB / 391.4 MB, free: 24.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.4731, allocations: 12.56 kB / 391.4 MB, free: 24.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.4731, allocations: 15.22 kB / 391.4 MB, free: 24.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.57e-06/0.4731, allocations: 0 / 391.4 MB, free: 24.15 MB / 330.7 MB Notification: Performance of Templates: time 0.004025/0.4772, allocations: 0.9127 MB / 392.3 MB, free: 24.05 MB / 330.7 MB