Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.832e-05, allocations: 0 / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08898, allocations: 50.41 MB / 342.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4516, allocations: 81.12 MB / 423.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4519, allocations: 67.41 kB / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.4838, allocations: 7.199 MB / 430.9 MB, free: 6.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.219e-06/0.4839, allocations: 0 / 430.9 MB, free: 6.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.4839, allocations: 12 kB / 430.9 MB, free: 6.91 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001273/0.4852, allocations: 0.5764 MB / 431.5 MB, free: 6.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4853, allocations: 8.031 kB / 431.5 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.4854, allocations: 39.62 kB / 431.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.4859, allocations: 262.7 kB / 431.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.4861, allocations: 142.6 kB / 432 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.4862, allocations: 29.62 kB / 432 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4873, allocations: 0.4964 MB / 432.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.4874, allocations: 11.91 kB / 432.5 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.4874, allocations: 9.062 kB / 432.5 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4875, allocations: 8 kB / 432.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/0.4884, allocations: 409.7 kB / 432.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.4905, allocations: 1.024 MB / 433.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4917, allocations: 415.2 kB / 434.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.4921, allocations: 202.9 kB / 434.5 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.4922, allocations: 4 kB / 434.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.4922, allocations: 52.41 kB / 434.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.995e-06/0.4923, allocations: 0 / 434.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.009308/0.5016, allocations: 2.084 MB / 436.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.5017, allocations: 146.3 kB / 436.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.502, allocations: 181 kB / 437 MB, free: 1.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5022, allocations: 42.39 kB / 437 MB, free: 1.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5023, allocations: 205.4 kB / 437.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.5026, allocations: 195.6 kB / 437.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.5027, allocations: 17.25 kB / 437.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5028, allocations: 333.4 kB / 437.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.5039, allocations: 477.1 kB / 438.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.5051, allocations: 0.6454 MB / 438.9 MB, free: 444 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.5061, allocations: 437.5 kB / 439.3 MB, free: 200 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.709e-06/0.5062, allocations: 8 kB / 439.3 MB, free: 192 kB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002582/0.5088, allocations: 1.075 MB / 440.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.5088, allocations: 8 kB / 440.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5089, allocations: 11.94 kB / 440.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.5089, allocations: 8 kB / 440.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.5106, allocations: 231.6 kB / 440.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.5106, allocations: 15.92 kB / 440.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.5118, allocations: 121.2 kB / 440.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.5119, allocations: 27.86 kB / 440.8 MB, free: 15.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (84): * Single equations (assignments): 84 * 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.0003093/0.5122, allocations: 151.6 kB / 441 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.5127, allocations: 151.2 kB / 441.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.5129, allocations: 68.08 kB / 441.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.5129, allocations: 8 kB / 441.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.569e-06/0.5129, allocations: 0 / 441.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.5129, allocations: 7.984 kB / 441.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.5181, allocations: 1.987 MB / 443.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.5181, allocations: 12.03 kB / 443.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5192, allocations: 195.2 kB / 443.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/0.5192, allocations: 20 kB / 443.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.5193, allocations: 32.17 kB / 443.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.128e-05/0.5194, allocations: 19.94 kB / 443.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/0.5194, allocations: 11.94 kB / 443.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.522, allocations: 1.763 MB / 445.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.5223, allocations: 161.6 kB / 445.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.5224, allocations: 26.48 kB / 445.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.5232, allocations: 97.92 kB / 445.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.5235, allocations: 109.3 kB / 445.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.5236, allocations: 34.75 kB / 445.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.5238, allocations: 146.2 kB / 445.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.5238, allocations: 0 / 445.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009393/0.5248, allocations: 129.2 kB / 445.9 MB, free: 10.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * 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 (73): * Single equations (assignments): 73 * 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.0002362/0.5251, allocations: 145.1 kB / 446 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.527, allocations: 0.8348 MB / 446.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.437e-06/0.527, allocations: 4.25 kB / 446.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.5277, allocations: 225.9 kB / 447.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.5286, allocations: 120.3 kB / 447.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.5312, allocations: 1.001 MB / 448.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.5318, allocations: 0.8245 MB / 449.1 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.5323, allocations: 43.42 kB / 449.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.642e-06/0.5323, allocations: 0 / 449.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Templates: time 0.01365/0.546, allocations: 6.879 MB / 456 MB, free: 0.4961 MB / 362.7 MB