Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.341e-05, allocations: 7.984 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.08985, allocations: 50.42 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4463, allocations: 77.76 MB / 420.3 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4465, allocations: 78.06 kB / 420.4 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008435/0.455, allocations: 2.154 MB / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.809e-06/0.455, allocations: 4 kB / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.4551, allocations: 3.938 kB / 422.5 MB, free: 14.5 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005581/0.4556, allocations: 383.8 kB / 422.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4557, allocations: 12.03 kB / 422.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.4558, allocations: 15.86 kB / 422.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.456, allocations: 189.2 kB / 423.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.456, allocations: 11.44 kB / 423.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.4561, allocations: 15.12 kB / 423.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.4563, allocations: 99.39 kB / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4563, allocations: 0 / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4564, allocations: 5.984 kB / 423.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.4564, allocations: 7.953 kB / 423.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.4565, allocations: 45.61 kB / 423.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/0.4575, allocations: 0.5362 MB / 423.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.4577, allocations: 70.19 kB / 423.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.4578, allocations: 27.23 kB / 423.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4578, allocations: 0 / 423.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4578, allocations: 34 kB / 424 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.088e-06/0.4579, allocations: 0 / 424 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002288/0.4581, allocations: 76.02 kB / 424 MB, free: 12.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.4582, allocations: 55.41 kB / 424.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4583, allocations: 119.5 kB / 424.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4583, allocations: 32.45 kB / 424.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4584, allocations: 176.3 kB / 424.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4585, allocations: 30.08 kB / 424.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-06/0.4585, allocations: 7.188 kB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4587, allocations: 318.2 kB / 424.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.4587, allocations: 19.44 kB / 424.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.4588, allocations: 51.17 kB / 424.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.4589, allocations: 27.48 kB / 424.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-06/0.459, allocations: 0 / 424.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002313/0.4592, allocations: 104.9 kB / 425 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4592, allocations: 8.031 kB / 425 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.902e-06/0.4593, allocations: 4 kB / 425 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4593, allocations: 0 / 425 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.4595, allocations: 39.91 kB / 425 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4596, allocations: 4.031 kB / 425 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4597, allocations: 23.39 kB / 425 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.4597, allocations: 7.984 kB / 425 MB, free: 11.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.882e-05/0.4598, allocations: 112.5 kB / 425.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.4599, allocations: 7.906 kB / 425.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.4599, allocations: 8 kB / 425.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-06/0.4599, allocations: 0 / 425.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-06/0.4599, allocations: 4 kB / 425.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-06/0.46, allocations: 3.953 kB / 425.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.4603, allocations: 194 kB / 425.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-06/0.4603, allocations: 0 / 425.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.4605, allocations: 27.92 kB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.383e-06/0.4605, allocations: 4 kB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4605, allocations: 0 / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.811e-06/0.4606, allocations: 0 / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-06/0.4606, allocations: 0 / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.4609, allocations: 199.9 kB / 425.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.461, allocations: 81.02 kB / 425.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.461, allocations: 4 kB / 425.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4611, allocations: 16.03 kB / 425.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.4612, allocations: 7.375 kB / 425.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.4612, allocations: 0 / 425.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.4613, allocations: 103.8 kB / 425.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.894e-06/0.4613, allocations: 4 kB / 425.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.4617, allocations: 23.44 kB / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001495/0.4619, allocations: 110.6 kB / 425.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.462, allocations: 62.22 kB / 426 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4621, allocations: 288 / 426 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.133e-05/0.4621, allocations: 22.94 kB / 426 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.4625, allocations: 27.09 kB / 426 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.4632, allocations: 287.1 kB / 426.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.4636, allocations: 0.712 MB / 427 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.4636, allocations: 11.44 kB / 427.1 MB, free: 9.867 MB / 346.7 MB Notification: Performance of SimCode: time 1.569e-06/0.4637, allocations: 0 / 427.1 MB, free: 9.867 MB / 346.7 MB Notification: Performance of Templates: time 0.003201/0.4669, allocations: 1.224 MB / 428.3 MB, free: 8.66 MB / 346.7 MB