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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.333e-05, allocations: 7.984 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09155, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5458, allocations: 78.93 MB / 421.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.546, allocations: 74.64 kB / 421.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.5563, allocations: 2.596 MB / 424.2 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.5563, allocations: 0 / 424.2 MB, free: 13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.5564, allocations: 4 kB / 424.2 MB, free: 13 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.0006138/0.557, allocations: 397.1 kB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5571, allocations: 15.97 kB / 424.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.5571, allocations: 19.84 kB / 424.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.5574, allocations: 197.4 kB / 424.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5574, allocations: 7.625 kB / 424.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.5575, allocations: 14.81 kB / 424.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.558, allocations: 214 kB / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.558, allocations: 0 / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.5581, allocations: 7.578 kB / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.5581, allocations: 4 kB / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.5583, allocations: 60.23 kB / 425.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.5592, allocations: 0.5989 MB / 425.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.5596, allocations: 144.1 kB / 425.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.5597, allocations: 61.14 kB / 425.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.5598, allocations: 8.016 kB / 425.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5598, allocations: 34.56 kB / 425.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.624e-06/0.5598, allocations: 0 / 425.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003503/0.5602, allocations: 115.2 kB / 426 MB, free: 11.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.5603, allocations: 114 kB / 426.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.5604, allocations: 125.4 kB / 426.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.5605, allocations: 28.58 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.5606, allocations: 113 kB / 426.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.5606, allocations: 26.33 kB / 426.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-06/0.5606, allocations: 3.812 kB / 426.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5608, allocations: 328 kB / 426.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.5609, allocations: 23 kB / 426.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5611, allocations: 130.4 kB / 426.9 MB, free: 10.16 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.0002992/0.5614, allocations: 131.4 kB / 427 MB, free: 10.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.5614, allocations: 0 / 427 MB, free: 10.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003684/0.5618, allocations: 162.7 kB / 427.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5618, allocations: 8 kB / 427.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.431e-06/0.5618, allocations: 0 / 427.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.5619, allocations: 8 kB / 427.2 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.5621, allocations: 48.38 kB / 427.2 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5621, allocations: 4 kB / 427.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5623, allocations: 27.16 kB / 427.3 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.5624, allocations: 11.95 kB / 427.3 MB, free: 9.785 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.0001283/0.5625, allocations: 124.7 kB / 427.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.5627, allocations: 92.53 kB / 427.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.5628, allocations: 23.06 kB / 427.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-06/0.5628, allocations: 0 / 427.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.777e-06/0.5628, allocations: 0 / 427.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.359e-06/0.5629, allocations: 11.98 kB / 427.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.5632, allocations: 205.1 kB / 427.7 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-06/0.5633, allocations: 0 / 427.7 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.5636, allocations: 46.72 kB / 427.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.946e-06/0.5636, allocations: 0 / 427.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5636, allocations: 4 kB / 427.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5637, allocations: 3.938 kB / 427.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.373e-06/0.5637, allocations: 0 / 427.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.5642, allocations: 377.8 kB / 428.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.5643, allocations: 88.98 kB / 428.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.5643, allocations: 7.125 kB / 428.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5645, allocations: 12.05 kB / 428.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.5646, allocations: 15.38 kB / 428.3 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.5646, allocations: 4 kB / 428.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.5647, allocations: 101.3 kB / 428.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.182e-06/0.5647, allocations: 0 / 428.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.5652, allocations: 35.16 kB / 428.4 MB, free: 8.66 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.0001522/0.5654, allocations: 110.3 kB / 428.5 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.5657, allocations: 86.75 kB / 428.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.681e-06/0.5657, allocations: 0 / 428.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.5657, allocations: 23.3 kB / 428.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.5662, allocations: 45.98 kB / 428.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.5671, allocations: 324.3 kB / 429 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.5676, allocations: 0.7167 MB / 429.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.133e-05/0.5677, allocations: 13.2 kB / 429.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.5677, allocations: 15.44 kB / 429.7 MB, free: 7.332 MB / 346.7 MB Notification: Performance of SimCode: time 1.625e-06/0.5677, allocations: 0 / 429.7 MB, free: 7.332 MB / 346.7 MB Notification: Performance of Templates: time 0.004886/0.5726, allocations: 1.141 MB / 430.9 MB, free: 6.203 MB / 346.7 MB