Running command: translateModel(Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|angle.phi|gain.y|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.63/2.63, allocations: 251.5 MB / 266 MB, free: 0.6992 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09995/0.09995, allocations: 12.59 MB / 336.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.6e-05/4.587e-05, allocations: 7.984 kB / 399.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4118, allocations: 59.42 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.CascadeControlledDrive.SuperSampled): time 0.002697/0.4146, allocations: 1.904 MB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.4161, allocations: 0.7261 MB / 461.8 MB, free: 25.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.4163, allocations: 8 kB / 461.8 MB, free: 25.97 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.4165, allocations: 35.77 kB / 461.8 MB, free: 25.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.4167, allocations: 47.83 kB / 461.9 MB, free: 25.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.4173, allocations: 131.7 kB / 462 MB, free: 25.76 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.4176, allocations: 168.1 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.4178, allocations: 53.27 kB / 462.2 MB, free: 25.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.418, allocations: 119.7 kB / 462.4 MB, free: 25.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.4182, allocations: 131.6 kB / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.4183, allocations: 16 kB / 462.5 MB, free: 25.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.4184, allocations: 16 kB / 462.5 MB, free: 25.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.4185, allocations: 75.7 kB / 462.6 MB, free: 25.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.4185, allocations: 20 kB / 462.6 MB, free: 25.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.4188, allocations: 222.1 kB / 462.8 MB, free: 24.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4188, allocations: 0 / 462.8 MB, free: 24.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4188, allocations: 0 / 462.8 MB, free: 24.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4189, allocations: 0 / 462.8 MB, free: 24.96 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.001418/0.4203, allocations: 0.5694 MB / 463.4 MB, free: 24.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4203, allocations: 12.03 kB / 463.4 MB, free: 24.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.4204, allocations: 39.58 kB / 463.4 MB, free: 24.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.4209, allocations: 261.2 kB / 463.7 MB, free: 24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.4211, allocations: 145.6 kB / 463.8 MB, free: 23.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.4212, allocations: 32 kB / 463.9 MB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.423, allocations: 0.5548 MB / 464.4 MB, free: 23.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.4231, allocations: 7.891 kB / 464.4 MB, free: 23.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.4231, allocations: 12 kB / 464.5 MB, free: 23.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4232, allocations: 8 kB / 464.5 MB, free: 23.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.4254, allocations: 0.5347 MB / 465 MB, free: 22.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.4275, allocations: 1.018 MB / 466 MB, free: 21.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.4302, allocations: 0.5124 MB / 466.5 MB, free: 21.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.369e-05/0.4304, allocations: 12.33 kB / 466.5 MB, free: 21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4304, allocations: 46.69 kB / 466.6 MB, free: 20.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.817e-06/0.4304, allocations: 0 / 466.6 MB, free: 20.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.07673/0.5072, allocations: 6.731 MB / 473.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.5073, allocations: 148.9 kB / 473.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.5076, allocations: 185.7 kB / 473.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.5077, allocations: 33.7 kB / 473.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.5078, allocations: 145.6 kB / 473.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.508, allocations: 189.3 kB / 474 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5081, allocations: 12 kB / 474 MB, free: 13.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.5082, allocations: 342.8 kB / 474.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.5111, allocations: 0.6539 MB / 475 MB, free: 12.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/0.514, allocations: 0.8315 MB / 475.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.5167, allocations: 0.602 MB / 476.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5168, allocations: 11.95 kB / 476.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00621/0.523, allocations: 1.453 MB / 477.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.5231, allocations: 13.03 kB / 477.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.5231, allocations: 7.984 kB / 477.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/0.5232, allocations: 12.05 kB / 477.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/0.5258, allocations: 231.7 kB / 478.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.5259, allocations: 8 kB / 478.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5276, allocations: 131.7 kB / 478.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.5278, allocations: 31.94 kB / 478.3 MB, free: 9.055 MB / 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: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0004454/0.5283, allocations: 183.5 kB / 478.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.5287, allocations: 157.2 kB / 478.7 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.529, allocations: 55.31 kB / 478.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.529, allocations: 8 kB / 478.7 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.529, allocations: 0 / 478.7 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.529, allocations: 7.984 kB / 478.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007875/0.5369, allocations: 2.292 MB / 481 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.537, allocations: 12.94 kB / 481 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.5385, allocations: 200 kB / 481.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/0.5385, allocations: 19.98 kB / 481.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.5386, allocations: 24 kB / 481.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.5387, allocations: 19.88 kB / 481.3 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.5387, allocations: 19.94 kB / 481.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.5443, allocations: 2.177 MB / 483.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.5446, allocations: 164.6 kB / 483.6 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5448, allocations: 27.98 kB / 483.7 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5458, allocations: 95.97 kB / 483.8 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.5461, allocations: 103.7 kB / 483.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.5462, allocations: 28 kB / 483.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.5464, allocations: 140.3 kB / 484 MB, free: 2.699 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5464, allocations: 4 kB / 484 MB, free: 2.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000868/0.5473, allocations: 128 kB / 484.2 MB, free: 2.57 MB / 346.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: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.000188/0.5475, allocations: 127 kB / 484.3 MB, free: 2.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004857/0.5524, allocations: 1.186 MB / 485.5 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/0.5524, allocations: 5.375 kB / 485.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.5543, allocations: 373.9 kB / 485.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.5552, allocations: 128.1 kB / 486 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.559, allocations: 1.324 MB / 487.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.5596, allocations: 0.821 MB / 488.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001046/0.5607, allocations: 91.36 kB / 488.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.5612, allocations: 35.44 kB / 488.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5612, allocations: 0 / 488.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Templates: time 0.02089/0.5821, allocations: 7.232 MB / 495.5 MB, free: 7.07 MB / 362.7 MB