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.2_cpp_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.017e-05, allocations: 3.156 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.07961, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4201, allocations: 76.52 MB / 376.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4203, allocations: 75.75 kB / 376.4 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03339/0.4538, allocations: 7.458 MB / 383.9 MB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.074e-06/0.4538, allocations: 0 / 383.9 MB, free: 21.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.495e-05/0.4539, allocations: 7.062 kB / 383.9 MB, free: 21.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001808/0.4557, allocations: 0.6507 MB / 384.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.4558, allocations: 8.219 kB / 384.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.456, allocations: 46.02 kB / 384.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.4568, allocations: 328 kB / 384.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.4569, allocations: 28.97 kB / 384.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4571, allocations: 37.05 kB / 385 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.4583, allocations: 339.9 kB / 385.3 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.4584, allocations: 5.406 kB / 385.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.4585, allocations: 9.906 kB / 385.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.4585, allocations: 7.125 kB / 385.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.4596, allocations: 248.5 kB / 385.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.4636, allocations: 1.189 MB / 386.8 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.4648, allocations: 250.4 kB / 387 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.4652, allocations: 105.5 kB / 387.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.4653, allocations: 10.08 kB / 387.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.4653, allocations: 44.34 kB / 387.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 5.912e-06/0.4654, allocations: 0 / 387.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.00339/0.4688, allocations: 0.9639 MB / 388.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4689, allocations: 80.17 kB / 388.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.4696, allocations: 289.6 kB / 388.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.4697, allocations: 32.58 kB / 388.5 MB, free: 19.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4699, allocations: 258.6 kB / 388.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.47, allocations: 116.1 kB / 388.9 MB, free: 19.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.4701, allocations: 12.78 kB / 388.9 MB, free: 19.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.4702, allocations: 330.1 kB / 389.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.4707, allocations: 105 kB / 389.3 MB, free: 18.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.4712, allocations: 167.4 kB / 389.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.4717, allocations: 120 kB / 389.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4718, allocations: 0 / 389.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00117/0.4729, allocations: 319.9 kB / 389.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.4731, allocations: 455.3 kB / 390.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4731, allocations: 0 / 390.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.4732, allocations: 3.906 kB / 390.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.4753, allocations: 254 kB / 390.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008478/0.4762, allocations: 0.6541 MB / 391.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.477, allocations: 51.88 kB / 391.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.4771, allocations: 14.88 kB / 391.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4771, allocations: 5.938 kB / 391.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.4782, allocations: 280.9 kB / 391.6 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.586e-06/0.4783, allocations: 8 kB / 391.6 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4783, allocations: 0 / 391.6 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4794, allocations: 121.2 kB / 391.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.4794, allocations: 3.906 kB / 391.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.48, allocations: 48.12 kB / 391.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.4801, allocations: 18.02 kB / 391.8 MB, free: 17.61 MB / 314.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: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0001957/0.4803, allocations: 118.6 kB / 391.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.4805, allocations: 32.84 kB / 392 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.4807, allocations: 40.39 kB / 392 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.136e-06/0.4807, allocations: 3.906 kB / 392 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4808, allocations: 7.953 kB / 392 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.4808, allocations: 7.453 kB / 392 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.4831, allocations: 0.7879 MB / 392.8 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.414e-06/0.4832, allocations: 7.859 kB / 392.8 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.4842, allocations: 98.56 kB / 392.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.4843, allocations: 3.906 kB / 392.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.4843, allocations: 7.656 kB / 392.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.391e-06/0.4844, allocations: 3.938 kB / 392.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/0.4844, allocations: 3.906 kB / 392.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.4859, allocations: 0.5495 MB / 393.5 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.4862, allocations: 133 kB / 393.6 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.4863, allocations: 12 kB / 393.6 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.4871, allocations: 40.58 kB / 393.6 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4873, allocations: 32.75 kB / 393.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.4873, allocations: 7.875 kB / 393.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004772/0.4878, allocations: 223 kB / 393.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.355e-06/0.4879, allocations: 0 / 393.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001288/0.4892, allocations: 135.6 kB / 394 MB, free: 16.61 MB / 314.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 (31): * Single equations (assignments): 31 * 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.0002117/0.4894, allocations: 114.3 kB / 394.2 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.4919, allocations: 0.5299 MB / 394.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.235e-06/0.492, allocations: 0 / 394.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.4925, allocations: 124.5 kB / 394.8 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4936, allocations: 75.59 kB / 394.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.497, allocations: 0.8646 MB / 395.7 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4975, allocations: 0.8117 MB / 396.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.4978, allocations: 34.66 kB / 396.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of SimCode: time 2.72e-06/0.4978, allocations: 0 / 396.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of Templates: time 0.01568/0.5135, allocations: 5.214 MB / 401.8 MB, free: 14.96 MB / 314.7 MB