Running command: translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") Notification: Performance of loadModel(ModelicaByExample): time 2.082/2.082, allocations: 203.4 MB / 215.5 MB, free: 12.97 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.395e-05, allocations: 4 kB / 264.7 MB, free: 10.51 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.081/0.08106, allocations: 46.19 MB / 310.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4105, allocations: 74.59 MB / 385.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001193/0.4107, allocations: 48.42 kB / 385.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.4258, allocations: 4.016 MB / 389.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.212e-06/0.4258, allocations: 0 / 389.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4259, allocations: 3.906 kB / 389.5 MB, free: 12.17 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008069/0.4267, allocations: 0.5313 MB / 390 MB, free: 11.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4267, allocations: 11.59 kB / 390 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.4268, allocations: 26.94 kB / 390.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.4271, allocations: 240.4 kB / 390.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.4271, allocations: 22.78 kB / 390.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.4272, allocations: 22.44 kB / 390.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.4276, allocations: 184 kB / 390.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.4276, allocations: 3.438 kB / 390.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.4277, allocations: 10.44 kB / 390.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.26e-06/0.4277, allocations: 3.875 kB / 390.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.428, allocations: 134.4 kB / 390.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.4295, allocations: 0.7149 MB / 391.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.4299, allocations: 185.3 kB / 391.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.4301, allocations: 94.45 kB / 391.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.4302, allocations: 7.062 kB / 391.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.4305, allocations: 137.5 kB / 391.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.156e-06/0.4305, allocations: 0 / 391.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001745/0.4322, allocations: 0.9534 MB / 392.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4323, allocations: 59.73 kB / 392.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4325, allocations: 159.7 kB / 393 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4325, allocations: 31.17 kB / 393 MB, free: 10.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.4326, allocations: 141.4 kB / 393.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.4327, allocations: 111.1 kB / 393.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.4327, allocations: 6.688 kB / 393.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.4328, allocations: 335.2 kB / 393.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.433, allocations: 70.67 kB / 393.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.4332, allocations: 102.2 kB / 393.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.4334, allocations: 106.6 kB / 393.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-06/0.4334, allocations: 0 / 393.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005758/0.434, allocations: 305.2 kB / 394.2 MB, free: 9.699 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4341, allocations: 35.67 kB / 394.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-06/0.4341, allocations: 0 / 394.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4341, allocations: 2.75 kB / 394.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.4345, allocations: 83.31 kB / 394.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.453e-06/0.4346, allocations: 5.531 kB / 394.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.4348, allocations: 34.39 kB / 394.3 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.4349, allocations: 12.5 kB / 394.3 MB, free: 9.652 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: speedSensor.w:DISCRETE(fixed = false ) "Sensed speed" type: Real damper.phi_rel:VARIABLE(start = 0.0 unit = "rad" nominal = if damper.phi_nominal >= 1e-15 then damper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real springDamper.w_rel:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "Relative angular velocity (= der(phi_rel))" type: Real springDamper.phi_rel:VARIABLE(start = 0.0 unit = "rad" nominal = if springDamper.phi_nominal >= 1e-15 then springDamper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) "Relative rotation angle (= flange_b.phi - flange_a.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.speedSensor.w,speedSensor.w,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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.0001706/0.4351, allocations: 152.2 kB / 394.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.4351, allocations: 21.39 kB / 394.5 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.4352, allocations: 35.31 kB / 394.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4352, allocations: 3.094 kB / 394.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-06/0.4352, allocations: 0 / 394.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4353, allocations: 0 / 394.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4363, allocations: 0.7387 MB / 395.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4364, allocations: 0 / 395.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.4368, allocations: 76.17 kB / 395.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4368, allocations: 0 / 395.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.4368, allocations: 7.625 kB / 395.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.979e-06/0.4369, allocations: 0 / 395.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.748e-06/0.4369, allocations: 3.938 kB / 395.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.4376, allocations: 476.4 kB / 395.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.4376, allocations: 95.44 kB / 395.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.4377, allocations: 3.938 kB / 395.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.438, allocations: 35.28 kB / 396 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.4381, allocations: 38.16 kB / 396 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.4382, allocations: 7.812 kB / 396 MB, free: 8.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4383, allocations: 139.7 kB / 396.1 MB, free: 8.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.4383, allocations: 0 / 396.1 MB, free: 8.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.4387, allocations: 64.72 kB / 396.2 MB, free: 8.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (springDamper.phi_rel,springDamper.w_rel,damper.phi_rel,damper.w_rel) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,speedSensor.w,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001296/0.4389, allocations: 121.8 kB / 396.3 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.4393, allocations: 257.5 kB / 396.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.973e-06/0.4394, allocations: 0 / 396.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.4396, allocations: 109.1 kB / 396.7 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.44, allocations: 40.55 kB / 396.7 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4413, allocations: 0.6014 MB / 397.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.442, allocations: 0.7642 MB / 398.1 MB, free: 23.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.4422, allocations: 19.47 kB / 398.1 MB, free: 23.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.4423, allocations: 30.59 kB / 398.1 MB, free: 23.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.349e-06/0.4423, allocations: 0 / 398.1 MB, free: 23.48 MB / 330.7 MB Notification: Performance of Templates: time 0.007566/0.4498, allocations: 2.58 MB / 400.7 MB, free: 23.27 MB / 330.7 MB