Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.885e-05, allocations: 4 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08898, allocations: 50.41 MB / 342.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3653/0.4543, allocations: 78.99 MB / 421.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4547, allocations: 73.41 kB / 421.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.4652, allocations: 2.595 MB / 424.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.888e-06/0.4653, allocations: 0 / 424.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.4653, allocations: 4 kB / 424.2 MB, free: 12.92 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.0006187/0.466, allocations: 401.9 kB / 424.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.466, allocations: 12.22 kB / 424.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.4661, allocations: 15.86 kB / 424.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4664, allocations: 202.4 kB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4664, allocations: 7.938 kB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.4665, allocations: 11.88 kB / 424.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.467, allocations: 216.8 kB / 425.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.467, allocations: 0 / 425.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.467, allocations: 15.7 kB / 425.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.4671, allocations: 3.938 kB / 425.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.4672, allocations: 55.69 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.4681, allocations: 0.6016 MB / 425.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.4685, allocations: 138.8 kB / 425.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4686, allocations: 65.97 kB / 425.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.4687, allocations: 4 kB / 425.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4687, allocations: 30.56 kB / 426 MB, free: 11.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.077e-06/0.4687, allocations: 0 / 426 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003483/0.4691, allocations: 112.7 kB / 426.1 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.4692, allocations: 118.6 kB / 426.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4694, allocations: 123.6 kB / 426.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4694, allocations: 32.2 kB / 426.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4695, allocations: 180.2 kB / 426.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.4696, allocations: 22.45 kB / 426.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.4696, allocations: 2.812 kB / 426.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4698, allocations: 318.8 kB / 426.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.4698, allocations: 32.12 kB / 426.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.47, allocations: 119.1 kB / 427 MB, free: 10.03 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.0003062/0.4703, allocations: 137.1 kB / 427.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-06/0.4703, allocations: 0 / 427.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003584/0.4707, allocations: 160.3 kB / 427.3 MB, free: 9.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4708, allocations: 8 kB / 427.3 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.963e-06/0.4708, allocations: 4 kB / 427.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4708, allocations: 4 kB / 427.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4711, allocations: 47.91 kB / 427.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.4711, allocations: 4 kB / 427.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.4713, allocations: 31.61 kB / 427.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4713, allocations: 15.08 kB / 427.4 MB, free: 9.641 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.0001308/0.4714, allocations: 116.2 kB / 427.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.4717, allocations: 91.19 kB / 427.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.4717, allocations: 22.67 kB / 427.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-06/0.4718, allocations: 0 / 427.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4718, allocations: 4 kB / 427.6 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-06/0.4718, allocations: 0 / 427.6 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.4722, allocations: 214.6 kB / 427.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-06/0.4722, allocations: 0 / 427.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.4725, allocations: 47.95 kB / 427.9 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.218e-06/0.4726, allocations: 0 / 427.9 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.4726, allocations: 7.812 kB / 427.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-06/0.4726, allocations: 3.938 kB / 427.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.558e-06/0.4726, allocations: 7.938 kB / 427.9 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.4731, allocations: 363.8 kB / 428.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.4732, allocations: 92.89 kB / 428.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4733, allocations: 7.125 kB / 428.4 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4735, allocations: 11.98 kB / 428.4 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.4735, allocations: 7.203 kB / 428.4 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4736, allocations: 12.06 kB / 428.4 MB, free: 8.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.4737, allocations: 101.6 kB / 428.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.4737, allocations: 0 / 428.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005215/0.4742, allocations: 30.56 kB / 428.5 MB, free: 8.523 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.0001627/0.4744, allocations: 107.2 kB / 428.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.4747, allocations: 86.73 kB / 428.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-06/0.4747, allocations: 4.125 kB / 428.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.4748, allocations: 22.44 kB / 428.7 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.4753, allocations: 51.39 kB / 428.8 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.4762, allocations: 339.2 kB / 429.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4767, allocations: 0.7206 MB / 429.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.4767, allocations: 15.44 kB / 429.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.86e-06/0.4768, allocations: 4 kB / 429.9 MB, free: 7.176 MB / 346.7 MB Notification: Performance of Templates: time 0.00405/0.4808, allocations: 1.575 MB / 431.4 MB, free: 5.621 MB / 346.7 MB