Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.44e-05, allocations: 4 kB / 292.7 MB, free: 8.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 50.41 MB / 343.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5523, allocations: 78.94 MB / 422 MB, free: 15.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5526, allocations: 74.27 kB / 422.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.5628, allocations: 2.593 MB / 424.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.703e-06/0.5628, allocations: 0 / 424.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.5629, allocations: 0 / 424.7 MB, free: 13.05 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.0006013/0.5635, allocations: 412.6 kB / 425.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5635, allocations: 8.031 kB / 425.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.5636, allocations: 15.86 kB / 425.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.5639, allocations: 201.4 kB / 425.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5639, allocations: 11.25 kB / 425.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.5639, allocations: 15 kB / 425.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.5644, allocations: 206.7 kB / 425.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.5644, allocations: 7.938 kB / 425.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.5645, allocations: 6.641 kB / 425.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.829e-06/0.5645, allocations: 4 kB / 425.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.5647, allocations: 56.73 kB / 425.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.5655, allocations: 0.608 MB / 426.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.5659, allocations: 135.2 kB / 426.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.566, allocations: 60.95 kB / 426.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.5661, allocations: 11.52 kB / 426.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.5661, allocations: 38.5 kB / 426.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.631e-06/0.5662, allocations: 0 / 426.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003344/0.5665, allocations: 107.3 kB / 426.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.5666, allocations: 117.8 kB / 426.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.5668, allocations: 125.2 kB / 426.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5668, allocations: 32.92 kB / 426.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.5669, allocations: 114.5 kB / 426.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.5669, allocations: 23.2 kB / 426.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.567, allocations: 3.312 kB / 427 MB, free: 10.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5671, allocations: 325.3 kB / 427.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.5672, allocations: 23 kB / 427.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.5674, allocations: 128.2 kB / 427.4 MB, free: 10.21 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.0002734/0.5677, allocations: 131.6 kB / 427.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-06/0.5677, allocations: 0 / 427.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003573/0.5681, allocations: 161.1 kB / 427.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5681, allocations: 4.469 kB / 427.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5681, allocations: 8 kB / 427.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5681, allocations: 4 kB / 427.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5684, allocations: 51.91 kB / 427.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5684, allocations: 4 kB / 427.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.5686, allocations: 23.28 kB / 427.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5686, allocations: 11.95 kB / 427.8 MB, free: 9.832 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.0001249/0.5688, allocations: 127.8 kB / 427.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.569, allocations: 90.81 kB / 428 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.5691, allocations: 11.44 kB / 428 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.748e-06/0.5691, allocations: 4 kB / 428 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5691, allocations: 0 / 428 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.63e-06/0.5691, allocations: 3.984 kB / 428 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.5695, allocations: 214 kB / 428.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-06/0.5695, allocations: 0 / 428.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.5698, allocations: 47.91 kB / 428.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5699, allocations: 4.188 kB / 428.3 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.5699, allocations: 7.688 kB / 428.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.674e-06/0.5699, allocations: 3.938 kB / 428.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-06/0.5699, allocations: 3.938 kB / 428.3 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.5704, allocations: 369.4 kB / 428.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.5705, allocations: 88.98 kB / 428.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.5706, allocations: 7.5 kB / 428.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.5708, allocations: 7.984 kB / 428.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.5708, allocations: 14.77 kB / 428.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5709, allocations: 11.98 kB / 428.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.198e-05/0.571, allocations: 103.4 kB / 428.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.571, allocations: 0 / 428.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000463/0.5714, allocations: 31.09 kB / 428.9 MB, free: 8.707 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.0001518/0.5716, allocations: 110.7 kB / 429 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.5719, allocations: 89.06 kB / 429.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.06e-06/0.5719, allocations: 0 / 429.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.572, allocations: 20.42 kB / 429.2 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.5724, allocations: 50.17 kB / 429.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.5734, allocations: 319.5 kB / 429.5 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.5738, allocations: 0.7167 MB / 430.2 MB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.5739, allocations: 9.203 kB / 430.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.5739, allocations: 15.44 kB / 430.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5739, allocations: 4 kB / 430.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of Templates: time 0.005478/0.5794, allocations: 1.14 MB / 431.4 MB, free: 6.254 MB / 346.7 MB