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_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.975e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07827/0.07833, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4084, allocations: 76.53 MB / 376.4 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4086, allocations: 70.59 kB / 376.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02941/0.4381, allocations: 7.463 MB / 383.9 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.769e-06/0.4381, allocations: 1.688 kB / 383.9 MB, free: 21.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.4382, allocations: 11.94 kB / 383.9 MB, free: 21.54 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.001195/0.4394, allocations: 0.6413 MB / 384.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4394, allocations: 14.66 kB / 384.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4396, allocations: 48.59 kB / 384.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.4401, allocations: 320.7 kB / 385 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.4402, allocations: 24.56 kB / 385 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.4402, allocations: 42.11 kB / 385 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.4409, allocations: 326.2 kB / 385.3 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.441, allocations: 9.062 kB / 385.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.441, allocations: 18.34 kB / 385.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4411, allocations: 8.469 kB / 385.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.4417, allocations: 242.7 kB / 385.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.444, allocations: 1.19 MB / 386.8 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.4448, allocations: 246.9 kB / 387 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.4451, allocations: 109.4 kB / 387.2 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.4452, allocations: 5.766 kB / 387.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4452, allocations: 41.5 kB / 387.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 4.193e-06/0.4452, allocations: 0 / 387.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001954/0.4472, allocations: 0.9688 MB / 388.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.4473, allocations: 81.05 kB / 388.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.4477, allocations: 280.1 kB / 388.5 MB, free: 19.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.4477, allocations: 36.95 kB / 388.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4479, allocations: 209.6 kB / 388.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.448, allocations: 113.9 kB / 388.9 MB, free: 19.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.448, allocations: 15.16 kB / 388.9 MB, free: 19.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.4481, allocations: 346.8 kB / 389.2 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.4484, allocations: 102.3 kB / 389.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.4487, allocations: 160.5 kB / 389.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.449, allocations: 125.5 kB / 389.6 MB, free: 18.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-06/0.449, allocations: 4.031 kB / 389.6 MB, free: 18.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007454/0.4498, allocations: 342.8 kB / 389.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.4499, allocations: 451.6 kB / 390.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.904e-06/0.4499, allocations: 0 / 390.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.45, allocations: 7.844 kB / 390.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4511, allocations: 253.9 kB / 390.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005162/0.4517, allocations: 0.6507 MB / 391.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.4521, allocations: 47.73 kB / 391.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.4522, allocations: 11.59 kB / 391.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4522, allocations: 7.906 kB / 391.4 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006103/0.4528, allocations: 280.2 kB / 391.6 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.586e-06/0.4529, allocations: 0 / 391.6 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.4529, allocations: 3.875 kB / 391.6 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.4536, allocations: 133 kB / 391.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.526e-06/0.4536, allocations: 0 / 391.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.454, allocations: 40.08 kB / 391.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.4541, allocations: 11.38 kB / 391.8 MB, free: 17.58 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.0001258/0.4542, allocations: 123.7 kB / 391.9 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.4543, allocations: 42.36 kB / 392 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.4545, allocations: 40.33 kB / 392 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-06/0.4545, allocations: 3.906 kB / 392 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.733e-06/0.4545, allocations: 3.953 kB / 392 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-06/0.4545, allocations: 7.172 kB / 392 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4559, allocations: 0.7853 MB / 392.8 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.099e-06/0.4559, allocations: 3.953 kB / 392.8 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/0.4566, allocations: 92.92 kB / 392.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.4566, allocations: 6.859 kB / 392.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.4567, allocations: 15.84 kB / 392.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.758e-06/0.4567, allocations: 3.906 kB / 392.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4567, allocations: 0 / 392.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008496/0.4575, allocations: 0.5447 MB / 393.5 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.4577, allocations: 129.6 kB / 393.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.4578, allocations: 7.781 kB / 393.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.4583, allocations: 56.56 kB / 393.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-05/0.4584, allocations: 22.23 kB / 393.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.4584, allocations: 7.875 kB / 393.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.4587, allocations: 222.8 kB / 393.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.78e-07/0.4587, allocations: 3.938 kB / 393.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007293/0.4595, allocations: 132.4 kB / 394.1 MB, free: 16.59 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.0001581/0.4596, allocations: 118.2 kB / 394.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.4611, allocations: 0.5338 MB / 394.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.898e-06/0.4611, allocations: 0 / 394.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4614, allocations: 116.1 kB / 394.8 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.462, allocations: 82.75 kB / 394.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4641, allocations: 0.832 MB / 395.7 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4644, allocations: 0.8253 MB / 396.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.4649, allocations: 73.55 kB / 396.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.465, allocations: 27.19 kB / 396.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.956e-06/0.465, allocations: 0 / 396.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Templates: time 0.0116/0.4766, allocations: 4.329 MB / 401 MB, free: 14.99 MB / 314.7 MB