Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.748e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09057, allocations: 50.42 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.45, allocations: 79.62 MB / 422.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4502, allocations: 71.14 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02357/0.4738, allocations: 5.585 MB / 427.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.228e-06/0.4739, allocations: 0 / 427.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.4739, allocations: 4 kB / 427.8 MB, free: 9.699 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001114/0.475, allocations: 0.5362 MB / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4751, allocations: 12.03 kB / 428.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.4752, allocations: 27.72 kB / 428.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.4756, allocations: 246.8 kB / 428.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.4759, allocations: 141.2 kB / 428.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.476, allocations: 23.56 kB / 428.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.4767, allocations: 305.8 kB / 429.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4767, allocations: 4 kB / 429.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.4768, allocations: 15.56 kB / 429.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4768, allocations: 11.98 kB / 429.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008872/0.4777, allocations: 379.9 kB / 429.5 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.48, allocations: 1.031 MB / 430.5 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.4808, allocations: 256.7 kB / 430.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.4811, allocations: 130.2 kB / 430.9 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.4812, allocations: 4 kB / 430.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4812, allocations: 45.94 kB / 431 MB, free: 6.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.636e-06/0.4812, allocations: 0 / 431 MB, free: 6.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.009889/0.4911, allocations: 3.083 MB / 434 MB, free: 4.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4912, allocations: 59.84 kB / 434.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.4915, allocations: 191 kB / 434.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.4916, allocations: 38.89 kB / 434.3 MB, free: 4.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4918, allocations: 209.5 kB / 434.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.492, allocations: 172.5 kB / 434.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.4921, allocations: 10.25 kB / 434.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4922, allocations: 337.7 kB / 435 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.493, allocations: 323.5 kB / 435.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007883/0.4938, allocations: 381.4 kB / 435.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.4944, allocations: 268.1 kB / 436 MB, free: 3.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-06/0.4945, allocations: 0 / 436 MB, free: 3.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001699/0.4962, allocations: 0.7072 MB / 436.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4962, allocations: 7.938 kB / 436.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-06/0.4962, allocations: 3.938 kB / 436.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4963, allocations: 7.953 kB / 436.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4975, allocations: 187.1 kB / 436.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.4976, allocations: 4 kB / 436.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/0.4984, allocations: 103.3 kB / 437 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.4985, allocations: 19 kB / 437 MB, free: 2.258 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: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002355/0.4987, allocations: 142.3 kB / 437.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4989, allocations: 23.72 kB / 437.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.499, allocations: 47.34 kB / 437.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.499, allocations: 11.95 kB / 437.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.499, allocations: 0 / 437.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4991, allocations: 3.984 kB / 437.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/0.5034, allocations: 1.704 MB / 438.9 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.5035, allocations: 8 kB / 439 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.5044, allocations: 167 kB / 439.1 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.5044, allocations: 15.98 kB / 439.1 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.5045, allocations: 18.69 kB / 439.2 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-05/0.5045, allocations: 15.94 kB / 439.2 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.5046, allocations: 15.94 kB / 439.2 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.5067, allocations: 1.333 MB / 440.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.5069, allocations: 149.6 kB / 440.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.507, allocations: 23.12 kB / 440.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.5078, allocations: 94.28 kB / 440.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.508, allocations: 100.5 kB / 440.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.5081, allocations: 20 kB / 440.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.5083, allocations: 152.8 kB / 441 MB, free: 14.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.89e-07/0.5084, allocations: 3.938 kB / 441.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000694/0.5091, allocations: 101.4 kB / 441.1 MB, free: 14.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 3 (load.w,speed.flange.phi,PI.x) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.0002241/0.5093, allocations: 125.7 kB / 441.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.5107, allocations: 0.5978 MB / 441.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.576e-06/0.5107, allocations: 8.25 kB / 441.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006142/0.5114, allocations: 210 kB / 442.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.5119, allocations: 56.34 kB / 442.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.5143, allocations: 0.8677 MB / 443 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.5149, allocations: 0.7887 MB / 443.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.5152, allocations: 34.69 kB / 443.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.478e-06/0.5153, allocations: 0 / 443.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Templates: time 0.01114/0.5264, allocations: 5.37 MB / 449.2 MB, free: 6.617 MB / 362.7 MB