Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.086e-05, allocations: 4 kB / 269.4 MB, free: 6.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08495, allocations: 47.56 MB / 316.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4198, allocations: 81.72 MB / 398.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.42, allocations: 71.97 kB / 398.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03424/0.4543, allocations: 8.27 MB / 407 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.387e-06/0.4544, allocations: 0 / 407 MB, free: 15.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.665e-05/0.4544, allocations: 11.94 kB / 407 MB, free: 15.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001378/0.4558, allocations: 0.6795 MB / 407.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4559, allocations: 8.031 kB / 407.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.456, allocations: 51.44 kB / 407.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.4567, allocations: 366.5 kB / 408.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.4568, allocations: 28.47 kB / 408.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.4569, allocations: 43.28 kB / 408.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.4577, allocations: 382.6 kB / 408.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.4577, allocations: 3.938 kB / 408.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.4578, allocations: 11.69 kB / 408.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4578, allocations: 8 kB / 408.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/0.4585, allocations: 265.1 kB / 408.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.4614, allocations: 1.593 MB / 410.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.4621, allocations: 255.1 kB / 410.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.4624, allocations: 115.1 kB / 410.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.4624, allocations: 7.938 kB / 410.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.4625, allocations: 34.5 kB / 410.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.087e-06/0.4625, allocations: 4 kB / 410.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002164/0.4647, allocations: 1.002 MB / 411.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.4647, allocations: 81.11 kB / 411.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.4653, allocations: 321 kB / 412.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.4653, allocations: 36.52 kB / 412.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.4655, allocations: 241.6 kB / 412.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4657, allocations: 110.5 kB / 412.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.4657, allocations: 10.44 kB / 412.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4659, allocations: 357.5 kB / 412.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.4662, allocations: 104.8 kB / 413 MB, free: 10.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.4666, allocations: 191.1 kB / 413.2 MB, free: 9.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.4669, allocations: 129.3 kB / 413.4 MB, free: 9.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.4669, allocations: 0 / 413.4 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008533/0.4678, allocations: 385.5 kB / 413.7 MB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.4683, allocations: 0.7881 MB / 414.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.972e-06/0.4683, allocations: 0 / 414.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4683, allocations: 11.94 kB / 414.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4696, allocations: 263.2 kB / 414.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007648/0.4703, allocations: 0.6597 MB / 415.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.4709, allocations: 50.8 kB / 415.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.471, allocations: 15.94 kB / 415.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.471, allocations: 4 kB / 415.5 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007657/0.4718, allocations: 314 kB / 415.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4718, allocations: 7.969 kB / 415.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4718, allocations: 4 kB / 415.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.4725, allocations: 127.1 kB / 416 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4725, allocations: 4 kB / 416 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.4729, allocations: 45.72 kB / 416 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.473, allocations: 12 kB / 416 MB, free: 7.367 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.4732, allocations: 139.4 kB / 416.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4733, allocations: 39.44 kB / 416.2 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.4734, allocations: 51.98 kB / 416.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4735, allocations: 8 kB / 416.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4735, allocations: 0 / 416.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.4735, allocations: 0 / 416.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4751, allocations: 0.8142 MB / 417.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.4752, allocations: 0 / 417.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.4758, allocations: 107 kB / 417.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.4758, allocations: 4 kB / 417.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.4759, allocations: 10.86 kB / 417.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.4759, allocations: 3.953 kB / 417.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4759, allocations: 4 kB / 417.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4769, allocations: 0.5728 MB / 417.8 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.4772, allocations: 134.4 kB / 417.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.4773, allocations: 10.88 kB / 417.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.4777, allocations: 43.02 kB / 418 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.4778, allocations: 27.47 kB / 418 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.4778, allocations: 15.39 kB / 418 MB, free: 5.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003851/0.4782, allocations: 250 kB / 418.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.4783, allocations: 0 / 418.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007671/0.479, allocations: 142.2 kB / 418.4 MB, free: 5.309 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.000175/0.4792, allocations: 110.5 kB / 418.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.4808, allocations: 0.5731 MB / 419.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4808, allocations: 448 / 419.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.4812, allocations: 129.9 kB / 419.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.4818, allocations: 80.59 kB / 419.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.4839, allocations: 0.8058 MB / 420.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.4845, allocations: 0.8357 MB / 420.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005055/0.485, allocations: 89.2 kB / 421 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4851, allocations: 31.06 kB / 421 MB, free: 2.859 MB / 330.7 MB Notification: Performance of SimCode: time 1.954e-06/0.4851, allocations: 0 / 421 MB, free: 2.859 MB / 330.7 MB Notification: Performance of Templates: time 0.01401/0.4992, allocations: 4.77 MB / 425.8 MB, free: 14.12 MB / 346.7 MB