Running command: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") Notification: Performance of loadModel(ModelicaByExample): time 1.888/1.888, allocations: 203.4 MB / 215.6 MB, free: 12.95 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.124e-05/5.14e-05, allocations: 4 kB / 264.7 MB, free: 10.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09547, allocations: 46.19 MB / 310.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4663, allocations: 72.54 MB / 383.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001217/0.4664, allocations: 48.95 kB / 383.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.4765, allocations: 2.845 MB / 386.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4765, allocations: 0 / 386.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.4766, allocations: 3.75 kB / 386.3 MB, free: 12.29 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000532/0.4771, allocations: 434.3 kB / 386.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4772, allocations: 11.34 kB / 386.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.4772, allocations: 23.33 kB / 386.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.4773, allocations: 188.6 kB / 386.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.4774, allocations: 15.66 kB / 386.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.4775, allocations: 22.22 kB / 387 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.4778, allocations: 182.3 kB / 387.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4779, allocations: 2.109 kB / 387.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.4779, allocations: 7.438 kB / 387.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.359e-06/0.4779, allocations: 7.594 kB / 387.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.4782, allocations: 113.1 kB / 387.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.4795, allocations: 0.7438 MB / 388 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.48, allocations: 266.2 kB / 388.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.4802, allocations: 107.6 kB / 388.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4803, allocations: 7.875 kB / 388.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.4805, allocations: 119.7 kB / 388.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 4.557e-06/0.4805, allocations: 0 / 388.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001107/0.4816, allocations: 0.5827 MB / 389.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4817, allocations: 59.02 kB / 389.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.4818, allocations: 125.9 kB / 389.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.4818, allocations: 29.14 kB / 389.3 MB, free: 10.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.4819, allocations: 138.9 kB / 389.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.482, allocations: 75.58 kB / 389.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.482, allocations: 10.66 kB / 389.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.4821, allocations: 324.4 kB / 389.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.4822, allocations: 59.78 kB / 389.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.4824, allocations: 126.4 kB / 390 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.4826, allocations: 84.66 kB / 390.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-06/0.4826, allocations: 0 / 390.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000434/0.483, allocations: 246.1 kB / 390.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4831, allocations: 3.969 kB / 390.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.4831, allocations: 3.906 kB / 390.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4831, allocations: 3.875 kB / 390.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4834, allocations: 62.41 kB / 390.4 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4834, allocations: 7.906 kB / 390.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.4836, allocations: 7.344 kB / 390.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.4836, allocations: 11.27 kB / 390.4 MB, free: 9.949 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: intervalMeasure.w:DISCRETE(fixed = false ) "Sensed speed" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.intervalMeasure.last_time,intervalMeasure.last_time,$PRE.intervalMeasure.w,intervalMeasure.w,$whenCondition2,$whenCondition1,$PRE.intervalMeasure.next_phi,intervalMeasure.next_phi,$PRE.intervalMeasure.prev_phi,intervalMeasure.prev_phi) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001519/0.4838, allocations: 140.2 kB / 390.6 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.4838, allocations: 15.56 kB / 390.6 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.4839, allocations: 21.91 kB / 390.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-06/0.4839, allocations: 3.875 kB / 390.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4839, allocations: 4 kB / 390.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.872e-06/0.4839, allocations: 0 / 390.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009713/0.4849, allocations: 0.6213 MB / 391.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-06/0.4849, allocations: 4.062 kB / 391.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.4852, allocations: 44.12 kB / 391.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.985e-06/0.4852, allocations: 0 / 391.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4852, allocations: 9.062 kB / 391.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.056e-06/0.4853, allocations: 0 / 391.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.739e-06/0.4853, allocations: 11.83 kB / 391.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.4858, allocations: 397.3 kB / 391.7 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.4859, allocations: 92.78 kB / 391.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.4859, allocations: 5.906 kB / 391.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4861, allocations: 8.859 kB / 391.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.4861, allocations: 17.77 kB / 391.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.4862, allocations: 15.72 kB / 391.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.4862, allocations: 100.8 kB / 391.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.4863, allocations: 0 / 391.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.4867, allocations: 49.56 kB / 392 MB, free: 9.078 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.w,idealSensor.flange.phi) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,intervalMeasure.w,intervalMeasure.next_phi,intervalMeasure.prev_phi,intervalMeasure.last_time) * Number of discrete states: 3 (intervalMeasure.prev_phi,intervalMeasure.next_phi,intervalMeasure.last_time) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001304/0.4868, allocations: 111.9 kB / 392.1 MB, free: 8.988 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.4872, allocations: 164.8 kB / 392.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.969e-06/0.4872, allocations: 0 / 392.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.4874, allocations: 86.44 kB / 392.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.4876, allocations: 10.67 kB / 392.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4887, allocations: 0.5129 MB / 392.9 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.4893, allocations: 0.7369 MB / 393.6 MB, free: 23.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.774e-05/0.4894, allocations: 20.42 kB / 393.6 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4894, allocations: 23.36 kB / 393.6 MB, free: 23.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.505e-06/0.4894, allocations: 1.594 kB / 393.6 MB, free: 23.93 MB / 330.7 MB Notification: Performance of Templates: time 0.005021/0.4945, allocations: 1.378 MB / 395 MB, free: 23.8 MB / 330.7 MB