Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadModel(Modelica_Synchronous): time 1.984/1.984, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.129e-05, allocations: 4 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.09871, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.461, allocations: 80.32 MB / 415 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4612, allocations: 70.03 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009717/0.471, allocations: 2.538 MB / 417.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.522e-06/0.471, allocations: 4 kB / 417.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.471, allocations: 3.938 kB / 417.6 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005623/0.4716, allocations: 412.9 kB / 418 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4717, allocations: 8.031 kB / 418 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.4717, allocations: 15.81 kB / 418.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.472, allocations: 207.2 kB / 418.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.472, allocations: 19.39 kB / 418.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.4721, allocations: 11.5 kB / 418.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.4725, allocations: 203.9 kB / 418.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4726, allocations: 4 kB / 418.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4726, allocations: 7.25 kB / 418.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.4726, allocations: 7.984 kB / 418.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.4728, allocations: 59.75 kB / 418.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/0.4736, allocations: 0.5998 MB / 419.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.474, allocations: 130.9 kB / 419.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4741, allocations: 61.59 kB / 419.3 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.4741, allocations: 11.98 kB / 419.4 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.4742, allocations: 42.52 kB / 419.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.561e-06/0.4742, allocations: 0 / 419.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003173/0.4745, allocations: 106.9 kB / 419.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.4746, allocations: 110.1 kB / 419.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4748, allocations: 128.9 kB / 419.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4748, allocations: 29.73 kB / 419.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.4749, allocations: 118 kB / 419.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.475, allocations: 19.3 kB / 419.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.475, allocations: 7.5 kB / 419.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4751, allocations: 325.4 kB / 420.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.4752, allocations: 27.44 kB / 420.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4754, allocations: 117.7 kB / 420.4 MB, free: 8.91 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.4757, allocations: 146.7 kB / 420.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.402e-06/0.4757, allocations: 0 / 420.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003523/0.476, allocations: 153.5 kB / 420.7 MB, free: 8.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4761, allocations: 12.42 kB / 420.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.362e-06/0.4761, allocations: 8 kB / 420.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4761, allocations: 4 kB / 420.7 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.4764, allocations: 55.34 kB / 420.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4764, allocations: 4.094 kB / 420.7 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.4765, allocations: 30.83 kB / 420.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4766, allocations: 11.94 kB / 420.8 MB, free: 8.508 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: PI.y = 0.0. 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.0001116/0.4767, allocations: 119.5 kB / 420.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.4769, allocations: 81.53 kB / 421 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.477, allocations: 22.45 kB / 421 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-06/0.477, allocations: 7.984 kB / 421 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.802e-06/0.477, allocations: 0 / 421 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-06/0.477, allocations: 0 / 421 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.4774, allocations: 205.8 kB / 421.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-06/0.4774, allocations: 0 / 421.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.4777, allocations: 51.59 kB / 421.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.7e-06/0.4777, allocations: 7.938 kB / 421.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4778, allocations: 0 / 421.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.731e-06/0.4778, allocations: 7.953 kB / 421.3 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4778, allocations: 3.984 kB / 421.3 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.4783, allocations: 360.9 kB / 421.6 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.4784, allocations: 96.84 kB / 421.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4784, allocations: 7.234 kB / 421.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4786, allocations: 8 kB / 421.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.4787, allocations: 11.17 kB / 421.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.4787, allocations: 8 kB / 421.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.013e-05/0.4788, allocations: 105.5 kB / 421.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4788, allocations: 0 / 421.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004485/0.4793, allocations: 33.25 kB / 421.9 MB, free: 7.395 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.0001219/0.4794, allocations: 98.31 kB / 422 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.4796, allocations: 95.55 kB / 422.1 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.367e-06/0.4797, allocations: 0 / 422.1 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.4797, allocations: 15.19 kB / 422.1 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.4801, allocations: 58.84 kB / 422.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.481, allocations: 316.5 kB / 422.5 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4814, allocations: 0.7166 MB / 423.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.4815, allocations: 17.14 kB / 423.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.4815, allocations: 19.42 kB / 423.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.389e-06/0.4815, allocations: 4 kB / 423.2 MB, free: 6.066 MB / 346.7 MB Notification: Performance of Templates: time 0.00457/0.4861, allocations: 1.127 MB / 424.4 MB, free: 4.949 MB / 346.7 MB