Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.184e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08859, allocations: 50.42 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4524, allocations: 80.95 MB / 423.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4526, allocations: 65.78 kB / 423.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02802/0.4807, allocations: 6.513 MB / 430.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.25e-06/0.4807, allocations: 0 / 430.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.4808, allocations: 4 kB / 430.1 MB, free: 7.578 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001246/0.482, allocations: 0.5668 MB / 430.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4821, allocations: 8.031 kB / 430.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4822, allocations: 39.62 kB / 430.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4826, allocations: 258.3 kB / 430.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.4829, allocations: 151.6 kB / 431.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.483, allocations: 33.78 kB / 431.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.4841, allocations: 491.2 kB / 431.6 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4842, allocations: 0 / 431.6 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.4842, allocations: 15.17 kB / 431.6 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4843, allocations: 8 kB / 431.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009287/0.4852, allocations: 405.6 kB / 432 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.4873, allocations: 1.023 MB / 433 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.4885, allocations: 414.5 kB / 433.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.4889, allocations: 206.9 kB / 433.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.489, allocations: 7.875 kB / 433.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4891, allocations: 46.25 kB / 433.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 1.49e-05/0.4891, allocations: 0 / 433.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.009433/0.4985, allocations: 2.067 MB / 435.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.4987, allocations: 151.6 kB / 435.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.499, allocations: 179.8 kB / 436.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.4991, allocations: 37.45 kB / 436.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4993, allocations: 202.6 kB / 436.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.4995, allocations: 194.4 kB / 436.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.4997, allocations: 14.81 kB / 436.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4998, allocations: 345.7 kB / 436.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.5009, allocations: 479.5 kB / 437.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.5022, allocations: 0.6436 MB / 438 MB, free: 1.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.5032, allocations: 427.6 kB / 438.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.744e-06/0.5032, allocations: 4 kB / 438.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00258/0.5058, allocations: 1.083 MB / 439.5 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.5059, allocations: 4 kB / 439.5 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5059, allocations: 8 kB / 439.5 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.5059, allocations: 8.719 kB / 439.5 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.5077, allocations: 227.2 kB / 439.7 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/0.5078, allocations: 11.94 kB / 439.7 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.509, allocations: 127.5 kB / 439.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5091, allocations: 30.69 kB / 439.9 MB, free: 15.87 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.0003177/0.5094, allocations: 151.7 kB / 440 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/0.5099, allocations: 153.9 kB / 440.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.5101, allocations: 61.33 kB / 440.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.5101, allocations: 8.094 kB / 440.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.5102, allocations: 4 kB / 440.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.5102, allocations: 7.969 kB / 440.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.5154, allocations: 1.991 MB / 442.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.5155, allocations: 8 kB / 442.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5167, allocations: 208.2 kB / 442.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.062e-05/0.5167, allocations: 12 kB / 442.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/0.5168, allocations: 31 kB / 442.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-05/0.5168, allocations: 24.12 kB / 442.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.002e-05/0.5169, allocations: 19.92 kB / 442.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.5195, allocations: 1.758 MB / 444.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.5199, allocations: 165.3 kB / 444.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.864e-05/0.52, allocations: 26 kB / 444.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.5209, allocations: 98.8 kB / 444.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.5211, allocations: 110 kB / 444.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/0.5212, allocations: 31.38 kB / 444.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.5214, allocations: 145.2 kB / 444.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.5215, allocations: 0 / 444.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009547/0.5224, allocations: 132.6 kB / 445 MB, free: 11.05 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.0002404/0.5227, allocations: 145 kB / 445.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.5246, allocations: 0.8383 MB / 446 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.5247, allocations: 0 / 446 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.5254, allocations: 227.4 kB / 446.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.5263, allocations: 115.5 kB / 446.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.529, allocations: 0.9927 MB / 447.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.5296, allocations: 0.821 MB / 448.1 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.5301, allocations: 43.44 kB / 448.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.949e-06/0.5302, allocations: 0 / 448.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of Templates: time 0.01411/0.5443, allocations: 6.866 MB / 455 MB, free: 1.371 MB / 362.7 MB