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 1.848/1.848, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.839e-05/4.86e-05, allocations: 4.125 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08176, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.4808, allocations: 76.53 MB / 376.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.481, allocations: 72.22 kB / 376.4 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02812/0.5092, allocations: 7.467 MB / 383.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.992e-06/0.5092, allocations: 0 / 383.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.5092, allocations: 8.25 kB / 383.9 MB, free: 21.66 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.001225/0.5105, allocations: 0.6538 MB / 384.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5105, allocations: 8.25 kB / 384.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5107, allocations: 46.86 kB / 384.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.5111, allocations: 319.5 kB / 384.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.5112, allocations: 27.66 kB / 385 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.5113, allocations: 34.06 kB / 385 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.512, allocations: 327.2 kB / 385.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.512, allocations: 12.61 kB / 385.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.5121, allocations: 10.03 kB / 385.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5121, allocations: 7.562 kB / 385.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.5127, allocations: 248.8 kB / 385.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.5149, allocations: 1.184 MB / 386.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.5156, allocations: 250.3 kB / 387 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.5159, allocations: 102.2 kB / 387.1 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5159, allocations: 11.05 kB / 387.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.5159, allocations: 45.12 kB / 387.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.434e-06/0.516, allocations: 0 / 387.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001909/0.5179, allocations: 0.9619 MB / 388.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.5179, allocations: 80.27 kB / 388.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.5183, allocations: 294.2 kB / 388.5 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.5184, allocations: 29.27 kB / 388.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5185, allocations: 262.1 kB / 388.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.5186, allocations: 110.6 kB / 388.9 MB, free: 19.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.5186, allocations: 7.844 kB / 388.9 MB, free: 19.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.5187, allocations: 332.8 kB / 389.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.5189, allocations: 101.7 kB / 389.3 MB, free: 18.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.5192, allocations: 171.2 kB / 389.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.5195, allocations: 118.8 kB / 389.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-06/0.5195, allocations: 0 / 389.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006759/0.5202, allocations: 321.4 kB / 389.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.5203, allocations: 450.5 kB / 390.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.552e-06/0.5203, allocations: 7.906 kB / 390.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5203, allocations: 3.906 kB / 390.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5214, allocations: 251.3 kB / 390.6 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004824/0.5219, allocations: 0.6543 MB / 391.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.5223, allocations: 52.41 kB / 391.3 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.5224, allocations: 11.12 kB / 391.3 MB, free: 17.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.671e-06/0.5224, allocations: 3.906 kB / 391.3 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005621/0.523, allocations: 281.7 kB / 391.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.523, allocations: 8 kB / 391.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.507e-06/0.523, allocations: 0 / 391.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.5236, allocations: 123.1 kB / 391.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5236, allocations: 3.938 kB / 391.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.5239, allocations: 44.45 kB / 391.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.524, allocations: 11.75 kB / 391.8 MB, free: 17.64 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.000106/0.5241, allocations: 123.1 kB / 391.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.5242, allocations: 31.25 kB / 392 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.5243, allocations: 43.84 kB / 392 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.431e-06/0.5243, allocations: 3.906 kB / 392 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.528e-06/0.5243, allocations: 15.89 kB / 392 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.542e-06/0.5243, allocations: 0 / 392 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.5256, allocations: 0.7765 MB / 392.8 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.679e-06/0.5256, allocations: 11.86 kB / 392.8 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.5262, allocations: 97.2 kB / 392.9 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.5262, allocations: 3.906 kB / 392.9 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.5263, allocations: 3.75 kB / 392.9 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.534e-06/0.5263, allocations: 7.297 kB / 392.9 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.304e-06/0.5263, allocations: 7.922 kB / 392.9 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.5271, allocations: 0.5428 MB / 393.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5272, allocations: 131.4 kB / 393.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.5273, allocations: 10.98 kB / 393.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.5277, allocations: 41.27 kB / 393.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.5278, allocations: 32.75 kB / 393.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5279, allocations: 15.5 kB / 393.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002552/0.5281, allocations: 220.7 kB / 393.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.5281, allocations: 0 / 393.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006642/0.5288, allocations: 135.5 kB / 394 MB, free: 16.65 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.0001377/0.529, allocations: 117.1 kB / 394.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.5303, allocations: 0.5156 MB / 394.7 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.594e-06/0.5303, allocations: 0 / 394.7 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.5305, allocations: 124.6 kB / 394.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.5311, allocations: 75.11 kB / 394.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.5329, allocations: 0.8659 MB / 395.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5332, allocations: 0.8208 MB / 396.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.5334, allocations: 27.09 kB / 396.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5334, allocations: 4 kB / 396.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.007841/0.5412, allocations: 5.182 MB / 401.8 MB, free: 15.01 MB / 314.7 MB