Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.85e-05, allocations: 3.938 kB / 292.1 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5411, allocations: 80.9 MB / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5414, allocations: 70.33 kB / 423.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02817/0.5695, allocations: 6.508 MB / 430 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.5696, allocations: 0 / 430 MB, free: 7.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.5696, allocations: 4 kB / 430 MB, free: 7.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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001255/0.5709, allocations: 0.5648 MB / 430.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5709, allocations: 12.03 kB / 430.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.5711, allocations: 43.62 kB / 430.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.5716, allocations: 260 kB / 430.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.5718, allocations: 150.4 kB / 431 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.5719, allocations: 35.39 kB / 431.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.573, allocations: 484 kB / 431.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.5731, allocations: 4 kB / 431.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.5731, allocations: 9.188 kB / 431.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.5731, allocations: 12 kB / 431.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.5741, allocations: 409.9 kB / 432 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.5763, allocations: 1.013 MB / 433 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.5775, allocations: 420.5 kB / 433.4 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.578, allocations: 204.6 kB / 433.6 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.5781, allocations: 11.48 kB / 433.6 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.5781, allocations: 42 kB / 433.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 6.26e-06/0.5781, allocations: 3.938 kB / 433.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.009586/0.5877, allocations: 2.07 MB / 435.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5879, allocations: 144.1 kB / 435.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.5882, allocations: 184.4 kB / 436.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.5883, allocations: 32.08 kB / 436.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5884, allocations: 144 kB / 436.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.5887, allocations: 194.2 kB / 436.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.5888, allocations: 14.75 kB / 436.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.589, allocations: 344.4 kB / 436.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.5901, allocations: 480.7 kB / 437.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.5913, allocations: 0.6452 MB / 437.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.5923, allocations: 427 kB / 438.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.755e-06/0.5923, allocations: 4 kB / 438.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002603/0.5949, allocations: 1.084 MB / 439.4 MB, free: 460 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.595, allocations: 12.12 kB / 439.4 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.595, allocations: 8 kB / 439.4 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.5951, allocations: 8.094 kB / 439.4 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.5968, allocations: 234.8 kB / 439.6 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.5968, allocations: 16 kB / 439.7 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.598, allocations: 129.3 kB / 439.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5981, allocations: 26.88 kB / 439.8 MB, free: 48 kB / 346.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.0003433/0.5985, allocations: 153.2 kB / 440 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.599, allocations: 149.4 kB / 440.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.5992, allocations: 61.02 kB / 440.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5992, allocations: 8.188 kB / 440.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.642e-06/0.5992, allocations: 4 kB / 440.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.5992, allocations: 11.92 kB / 440.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.6046, allocations: 1.992 MB / 442.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/0.6047, allocations: 8 kB / 442.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6058, allocations: 199.5 kB / 442.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/0.6059, allocations: 16 kB / 442.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.6059, allocations: 39.17 kB / 442.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.486e-05/0.606, allocations: 19.94 kB / 442.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/0.606, allocations: 11.94 kB / 442.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.6087, allocations: 1.756 MB / 444.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.609, allocations: 160 kB / 444.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6091, allocations: 30.55 kB / 444.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.61, allocations: 101.8 kB / 444.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.6103, allocations: 110.1 kB / 444.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.6104, allocations: 35.38 kB / 444.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.6106, allocations: 141 kB / 444.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.6106, allocations: 4 kB / 444.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009659/0.6116, allocations: 136.2 kB / 444.9 MB, free: 11.23 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.0002522/0.6118, allocations: 138.7 kB / 445.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.6139, allocations: 0.8367 MB / 445.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.3e-06/0.6139, allocations: 0 / 445.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.6147, allocations: 228 kB / 446.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.6156, allocations: 119.1 kB / 446.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.6183, allocations: 0.9524 MB / 447.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.619, allocations: 0.8287 MB / 448 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008771/0.6199, allocations: 87.38 kB / 448.1 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.6203, allocations: 39.42 kB / 448.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.224e-06/0.6203, allocations: 4 kB / 448.1 MB, free: 8.016 MB / 362.7 MB Notification: Performance of Templates: time 0.01819/0.6385, allocations: 7.254 MB / 455.4 MB, free: 0.7617 MB / 362.7 MB "" Variables in the reference:time,load.phi,load.w,PI.x,PI.y Variables in the result:PI.T,PI.k,PI.x,PI.y,gain.k,hold1.y_start,kinematicPTP.nout,kinematicPTP.p_deltaq[1],kinematicPTP.p_q_begin[1],kinematicPTP.p_q_end[1],kinematicPTP.p_qd_max[1],kinematicPTP.p_qdd_max[1],kinematicPTP.q_begin[1],kinematicPTP.q_end[1],kinematicPTP.qd_max[1],kinematicPTP.qdd_max[1],kinematicPTP.startTime,load.J,load.phi,load.w,periodicRealClock.period,periodicRealClock.useSolver,speed.flange.phi,super.factor,super.inferFactor,time