Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadModel(Modelica_Synchronous): time 1.976/1.976, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.612e-05/4.633e-05, allocations: 4 kB / 284.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09339, allocations: 50.36 MB / 334.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4547, allocations: 80.28 MB / 415 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.4549, allocations: 77.94 kB / 415.1 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01041/0.4654, allocations: 2.631 MB / 417.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4654, allocations: 0 / 417.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4654, allocations: 4 kB / 417.7 MB, free: 11.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005782/0.466, allocations: 415.5 kB / 418.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.4661, allocations: 12.03 kB / 418.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.4661, allocations: 19.72 kB / 418.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4664, allocations: 213.5 kB / 418.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4664, allocations: 11.89 kB / 418.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.4665, allocations: 18.55 kB / 418.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.467, allocations: 233.9 kB / 418.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.467, allocations: 0 / 418.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.467, allocations: 11.88 kB / 418.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.974e-06/0.4671, allocations: 11.98 kB / 418.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.4673, allocations: 52.31 kB / 418.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.4681, allocations: 0.5977 MB / 419.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.4684, allocations: 131.8 kB / 419.4 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4686, allocations: 63.7 kB / 419.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4686, allocations: 0 / 419.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4686, allocations: 42.52 kB / 419.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.166e-06/0.4687, allocations: 0 / 419.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003357/0.469, allocations: 114.7 kB / 419.6 MB, free: 9.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.4691, allocations: 118.7 kB / 419.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4693, allocations: 142 kB / 419.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4693, allocations: 28.95 kB / 419.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.4694, allocations: 116 kB / 420 MB, free: 9.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.4695, allocations: 29.64 kB / 420 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.4695, allocations: 3.125 kB / 420 MB, free: 9.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.4697, allocations: 321.5 kB / 420.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4698, allocations: 23.25 kB / 420.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.47, allocations: 125.7 kB / 420.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.4701, allocations: 45.61 kB / 420.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.147e-06/0.4701, allocations: 4 kB / 420.5 MB, free: 8.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003474/0.4705, allocations: 152.8 kB / 420.7 MB, free: 8.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4705, allocations: 11.94 kB / 420.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4705, allocations: 11.94 kB / 420.7 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4706, allocations: 8 kB / 420.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.4708, allocations: 47.67 kB / 420.8 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4708, allocations: 11.88 kB / 420.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.471, allocations: 26.89 kB / 420.8 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4711, allocations: 8 kB / 420.8 MB, free: 8.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001151/0.4712, allocations: 115.2 kB / 420.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.4714, allocations: 90.94 kB / 421 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.4715, allocations: 21.55 kB / 421 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4715, allocations: 11.95 kB / 421.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.072e-06/0.4715, allocations: 0 / 421.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-06/0.4715, allocations: 0 / 421.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.4719, allocations: 212.7 kB / 421.3 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.943e-06/0.472, allocations: 4 kB / 421.3 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.4722, allocations: 31.98 kB / 421.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.646e-06/0.4722, allocations: 0 / 421.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.4723, allocations: 7.781 kB / 421.3 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.4723, allocations: 3.984 kB / 421.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.4723, allocations: 7.953 kB / 421.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.4728, allocations: 366.7 kB / 421.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4729, allocations: 108.1 kB / 421.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.4729, allocations: 7.562 kB / 421.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.4732, allocations: 12.06 kB / 421.8 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.4732, allocations: 6.859 kB / 421.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.4732, allocations: 4 kB / 421.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.4734, allocations: 114 kB / 421.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.4734, allocations: 0 / 421.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.4738, allocations: 34.56 kB / 422 MB, free: 7.445 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001294/0.474, allocations: 103.2 kB / 422.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.4742, allocations: 85.19 kB / 422.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.353e-06/0.4742, allocations: 4 kB / 422.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.4743, allocations: 18.81 kB / 422.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.4747, allocations: 59.61 kB / 422.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.4755, allocations: 320.8 kB / 422.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.4759, allocations: 0.7392 MB / 423.3 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.363e-05/0.476, allocations: 5.219 kB / 423.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.476, allocations: 19.42 kB / 423.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.37e-06/0.476, allocations: 0 / 423.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of Templates: time 0.004531/0.4806, allocations: 1.154 MB / 424.4 MB, free: 4.961 MB / 346.7 MB