Running command: translateModel(Modelica_Synchronous.Examples.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|angle.phi|gain.y|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.CascadeControlledDrive.Continuous") Notification: Performance of loadModel(Modelica_Synchronous): time 1.972/1.972, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.662e-05, allocations: 4 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08945, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4584, allocations: 81.09 MB / 415.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.4586, allocations: 72.52 kB / 415.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02348/0.4821, allocations: 5.528 MB / 421.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.4822, allocations: 0 / 421.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4822, allocations: 8 kB / 421.4 MB, free: 8.516 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.001112/0.4833, allocations: 0.534 MB / 421.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4834, allocations: 8.031 kB / 421.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.27e-05/0.4835, allocations: 31.72 kB / 422 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.4839, allocations: 249.3 kB / 422.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4841, allocations: 140.2 kB / 422.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.4842, allocations: 30.59 kB / 422.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/0.4849, allocations: 307.2 kB / 422.7 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4849, allocations: 4 kB / 422.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.485, allocations: 8.938 kB / 422.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.485, allocations: 7.984 kB / 422.7 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.4859, allocations: 388.6 kB / 423.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.4882, allocations: 1.029 MB / 424.1 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.4889, allocations: 256.3 kB / 424.4 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.4893, allocations: 130.7 kB / 424.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.4893, allocations: 8 kB / 424.5 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4894, allocations: 34.56 kB / 424.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.637e-06/0.4894, allocations: 0 / 424.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.009985/0.4994, allocations: 3.098 MB / 427.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.4995, allocations: 55.84 kB / 427.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.4997, allocations: 178.7 kB / 427.9 MB, free: 3.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.4998, allocations: 31.83 kB / 427.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5, allocations: 153.9 kB / 428 MB, free: 2.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.5002, allocations: 176.5 kB / 428.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.5003, allocations: 15.19 kB / 428.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5004, allocations: 336.8 kB / 428.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.5012, allocations: 326.7 kB / 428.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007958/0.502, allocations: 381.6 kB / 429.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.5026, allocations: 267.8 kB / 429.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.323e-06/0.5027, allocations: 3.938 kB / 429.5 MB, free: 1.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001711/0.5044, allocations: 0.7123 MB / 430.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5044, allocations: 7.938 kB / 430.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.765e-06/0.5044, allocations: 4 kB / 430.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5045, allocations: 4 kB / 430.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.5058, allocations: 190.8 kB / 430.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.5058, allocations: 4 kB / 430.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.5067, allocations: 106.2 kB / 430.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.5068, allocations: 19.48 kB / 430.5 MB, free: 1.121 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.0002279/0.507, allocations: 135.6 kB / 430.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.5071, allocations: 27.72 kB / 430.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.5073, allocations: 48.09 kB / 430.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.713e-06/0.5073, allocations: 4 kB / 430.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5073, allocations: 0 / 430.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5073, allocations: 3.984 kB / 430.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/0.5117, allocations: 1.712 MB / 432.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.5118, allocations: 8 kB / 432.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.5128, allocations: 167 kB / 432.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/0.5128, allocations: 12 kB / 432.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.5129, allocations: 25.95 kB / 432.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/0.5129, allocations: 15.94 kB / 432.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/0.5129, allocations: 11.94 kB / 432.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.515, allocations: 1.342 MB / 434 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.5153, allocations: 148.3 kB / 434.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.5154, allocations: 19.62 kB / 434.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.5162, allocations: 99.09 kB / 434.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.5164, allocations: 93.08 kB / 434.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.5165, allocations: 23.56 kB / 434.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.5167, allocations: 144.1 kB / 434.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.5168, allocations: 4 kB / 434.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007089/0.5175, allocations: 97.52 kB / 434.7 MB, free: 13.21 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.0002065/0.5177, allocations: 125.1 kB / 434.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.5191, allocations: 0.6053 MB / 435.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5191, allocations: 0 / 435.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.5198, allocations: 220.1 kB / 435.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.5203, allocations: 53.28 kB / 435.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.5226, allocations: 0.8437 MB / 436.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.5232, allocations: 0.7848 MB / 437.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006695/0.5239, allocations: 74.94 kB / 437.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.5242, allocations: 31.44 kB / 437.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.639e-06/0.5242, allocations: 0 / 437.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.01343/0.5376, allocations: 5.075 MB / 442.5 MB, free: 5.703 MB / 362.7 MB