Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.549e-05, allocations: 0 / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.08981, allocations: 50.43 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4524, allocations: 81.23 MB / 423.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4527, allocations: 72.03 kB / 423.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03113/0.4839, allocations: 7.271 MB / 431.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.211e-06/0.4839, allocations: 0 / 431.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.4839, allocations: 4 kB / 431.1 MB, free: 6.715 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001273/0.4852, allocations: 0.6063 MB / 431.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4853, allocations: 8.031 kB / 431.7 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4854, allocations: 39.62 kB / 431.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.4859, allocations: 291.9 kB / 432.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.4862, allocations: 151.1 kB / 432.2 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.4863, allocations: 28 kB / 432.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.4874, allocations: 0.5067 MB / 432.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4875, allocations: 3.906 kB / 432.7 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.4875, allocations: 10.56 kB / 432.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4876, allocations: 4 kB / 432.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.4885, allocations: 408 kB / 433.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.4906, allocations: 1.039 MB / 434.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.4918, allocations: 413.1 kB / 434.6 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.4922, allocations: 210.1 kB / 434.8 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.4923, allocations: 8.141 kB / 434.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4924, allocations: 48.73 kB / 434.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.716e-06/0.4924, allocations: 0 / 434.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.009434/0.5018, allocations: 2.118 MB / 437 MB, free: 1.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.502, allocations: 159.4 kB / 437.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.5024, allocations: 229.8 kB / 437.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.5025, allocations: 36.27 kB / 437.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5026, allocations: 210.2 kB / 437.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.5029, allocations: 193 kB / 437.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.503, allocations: 9.375 kB / 437.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5032, allocations: 336.7 kB / 438.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.5042, allocations: 482.7 kB / 438.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.5054, allocations: 0.6414 MB / 439.2 MB, free: 104 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.5064, allocations: 435.8 kB / 439.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.191e-06/0.5065, allocations: 0 / 439.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002572/0.509, allocations: 1.089 MB / 440.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.5091, allocations: 8 kB / 440.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5091, allocations: 4.078 kB / 440.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.5092, allocations: 12 kB / 440.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.5109, allocations: 231.5 kB / 441 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/0.5109, allocations: 19.92 kB / 441 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.512, allocations: 125.2 kB / 441.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.5122, allocations: 27.12 kB / 441.2 MB, free: 14.8 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.0003105/0.5125, allocations: 150.6 kB / 441.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/0.513, allocations: 152.6 kB / 441.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.5132, allocations: 66.2 kB / 441.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5132, allocations: 8 kB / 441.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5132, allocations: 4 kB / 441.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5132, allocations: 4.172 kB / 441.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/0.5184, allocations: 2.016 MB / 443.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.5185, allocations: 12 kB / 443.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.5195, allocations: 207 kB / 443.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/0.5196, allocations: 16 kB / 443.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.5197, allocations: 22.56 kB / 443.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-05/0.5197, allocations: 23.92 kB / 443.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/0.5197, allocations: 15.94 kB / 443.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.5223, allocations: 1.76 MB / 445.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.5227, allocations: 186.2 kB / 445.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5228, allocations: 35.61 kB / 445.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.5236, allocations: 94.8 kB / 445.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.5239, allocations: 107.6 kB / 446 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.524, allocations: 30.25 kB / 446.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002601/0.5243, allocations: 191 kB / 446.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.5243, allocations: 0 / 446.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009234/0.5252, allocations: 125.1 kB / 446.4 MB, free: 9.93 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.0002324/0.5254, allocations: 141.4 kB / 446.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.5274, allocations: 0.8488 MB / 447.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.5274, allocations: 4 kB / 447.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.5281, allocations: 226.7 kB / 447.6 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.529, allocations: 129.8 kB / 447.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.5317, allocations: 1.036 MB / 448.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.5323, allocations: 0.8443 MB / 449.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.5329, allocations: 43.42 kB / 449.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of SimCode: time 2.395e-06/0.5329, allocations: 0 / 449.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of Templates: time 0.01377/0.5467, allocations: 7.086 MB / 456.7 MB, free: 15.74 MB / 378.7 MB