Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,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.Continuous") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.631e-05, allocations: 4 kB / 292.1 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.08929, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5069, allocations: 79.57 MB / 422.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5071, allocations: 66.84 kB / 422.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02462/0.5318, allocations: 5.587 MB / 427.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.356e-06/0.5318, allocations: 0 / 427.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.5319, allocations: 4 kB / 427.8 MB, free: 9.824 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.001144/0.533, allocations: 0.5377 MB / 428.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5331, allocations: 12.03 kB / 428.3 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.5332, allocations: 27.72 kB / 428.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.5336, allocations: 248.2 kB / 428.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.5339, allocations: 137 kB / 428.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.534, allocations: 26.55 kB / 428.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.5346, allocations: 305.2 kB / 429.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.5347, allocations: 7.984 kB / 429.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.5347, allocations: 11.14 kB / 429.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.5348, allocations: 8 kB / 429.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.5357, allocations: 379.4 kB / 429.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.5381, allocations: 1.035 MB / 430.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.5389, allocations: 255 kB / 430.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.5392, allocations: 128.7 kB / 430.9 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.5392, allocations: 4 kB / 430.9 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5393, allocations: 45.38 kB / 430.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.549e-06/0.5393, allocations: 0 / 430.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.01003/0.5494, allocations: 3.083 MB / 434 MB, free: 4.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5494, allocations: 67.72 kB / 434.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.5497, allocations: 185.5 kB / 434.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.5498, allocations: 36.08 kB / 434.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.55, allocations: 142.9 kB / 434.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.5502, allocations: 174.1 kB / 434.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.5503, allocations: 14.38 kB / 434.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5505, allocations: 335.7 kB / 434.9 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.5512, allocations: 329.9 kB / 435.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/0.552, allocations: 379.2 kB / 435.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.5526, allocations: 264.8 kB / 435.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.507e-06/0.5527, allocations: 4 kB / 435.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001717/0.5544, allocations: 0.712 MB / 436.6 MB, free: 2.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.5544, allocations: 8 kB / 436.6 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5545, allocations: 7.938 kB / 436.6 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.5545, allocations: 7.953 kB / 436.6 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.5557, allocations: 189.9 kB / 436.8 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.5558, allocations: 4 kB / 436.8 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008248/0.5566, allocations: 110.9 kB / 436.9 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.5567, allocations: 15.69 kB / 436.9 MB, free: 2.434 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.0002277/0.557, allocations: 138.4 kB / 437.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5571, allocations: 23.72 kB / 437.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.5572, allocations: 51.58 kB / 437.1 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5573, allocations: 7.953 kB / 437.1 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.463e-06/0.5573, allocations: 0 / 437.1 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.481e-06/0.5573, allocations: 3.984 kB / 437.2 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/0.5617, allocations: 1.704 MB / 438.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.5618, allocations: 8 kB / 438.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/0.5627, allocations: 163.3 kB / 439 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/0.5627, allocations: 12 kB / 439 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.5628, allocations: 21.69 kB / 439.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.98e-05/0.5629, allocations: 19.92 kB / 439.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.5629, allocations: 11.94 kB / 439.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.565, allocations: 1.333 MB / 440.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5652, allocations: 143.5 kB / 440.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5654, allocations: 28.23 kB / 440.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.5661, allocations: 94.47 kB / 440.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.5664, allocations: 92.86 kB / 440.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.5665, allocations: 23.31 kB / 440.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.5667, allocations: 152 kB / 440.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.5667, allocations: 0 / 440.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.5674, allocations: 100.3 kB / 441 MB, free: 14.54 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.0002316/0.5677, allocations: 129.5 kB / 441.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.5691, allocations: 0.6055 MB / 441.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5691, allocations: 4.125 kB / 441.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.5698, allocations: 209.2 kB / 442 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.5704, allocations: 50.25 kB / 442 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.5727, allocations: 0.8434 MB / 442.9 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.5732, allocations: 0.7881 MB / 443.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006884/0.5739, allocations: 78.94 kB / 443.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5742, allocations: 35.42 kB / 443.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.735e-06/0.5743, allocations: 0 / 443.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01301/0.5873, allocations: 5.071 MB / 448.8 MB, free: 7.035 MB / 362.7 MB