Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.483e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08777, allocations: 50.42 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4465, allocations: 82.75 MB / 425.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.4467, allocations: 69.78 kB / 425.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03265/0.4794, allocations: 8.263 MB / 433.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.14e-06/0.4794, allocations: 4 kB / 433.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.803e-05/0.4795, allocations: 8 kB / 433.6 MB, free: 4.43 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001332/0.4808, allocations: 0.6709 MB / 434.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4809, allocations: 12.03 kB / 434.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.481, allocations: 55.34 kB / 434.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.4817, allocations: 348.6 kB / 434.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.4817, allocations: 23.44 kB / 434.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/0.4818, allocations: 43.52 kB / 434.8 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.4826, allocations: 382.8 kB / 435.1 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.4827, allocations: 7.906 kB / 435.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.4827, allocations: 14.19 kB / 435.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.4827, allocations: 12 kB / 435.2 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.4834, allocations: 261.6 kB / 435.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.4863, allocations: 1.584 MB / 437 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.487, allocations: 244.8 kB / 437.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.4872, allocations: 114.7 kB / 437.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.4873, allocations: 4.5 kB / 437.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4873, allocations: 38.19 kB / 437.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.425e-06/0.4873, allocations: 3.938 kB / 437.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002144/0.4895, allocations: 1.003 MB / 438.4 MB, free: 180 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.4896, allocations: 89.05 kB / 438.5 MB, free: 72 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.4901, allocations: 315.2 kB / 438.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.4901, allocations: 32.7 kB / 438.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.4904, allocations: 288.9 kB / 439.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4905, allocations: 115.4 kB / 439.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.4905, allocations: 7.188 kB / 439.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4907, allocations: 329.7 kB / 439.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.491, allocations: 104.7 kB / 439.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.4914, allocations: 193.4 kB / 439.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.4917, allocations: 131.2 kB / 440 MB, free: 14.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-06/0.4917, allocations: 4 kB / 440 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008001/0.4925, allocations: 355.9 kB / 440.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/0.493, allocations: 0.7886 MB / 441.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.627e-06/0.493, allocations: 0 / 441.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.493, allocations: 4 kB / 441.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4943, allocations: 270.7 kB / 441.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007096/0.495, allocations: 0.6482 MB / 442 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.4955, allocations: 55.52 kB / 442.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.4955, allocations: 14.81 kB / 442.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4956, allocations: 4 kB / 442.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007116/0.4963, allocations: 312.2 kB / 442.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4963, allocations: 8 kB / 442.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.993e-06/0.4963, allocations: 4 kB / 442.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.497, allocations: 135.1 kB / 442.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.319e-06/0.497, allocations: 4 kB / 442.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.4974, allocations: 43.03 kB / 442.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.4974, allocations: 15.94 kB / 442.6 MB, free: 12.31 MB / 362.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.000157/0.4976, allocations: 124.2 kB / 442.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4977, allocations: 43.52 kB / 442.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4978, allocations: 44.62 kB / 442.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.164e-06/0.4979, allocations: 4 kB / 442.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.107e-06/0.4979, allocations: 0 / 442.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4979, allocations: 4 kB / 442.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4995, allocations: 0.8203 MB / 443.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-06/0.4996, allocations: 4 kB / 443.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.5002, allocations: 99.98 kB / 443.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.311e-06/0.5002, allocations: 3.984 kB / 443.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5002, allocations: 15 kB / 443.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.098e-06/0.5003, allocations: 4 kB / 443.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-06/0.5003, allocations: 0 / 443.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5013, allocations: 0.5705 MB / 444.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.5015, allocations: 130.1 kB / 444.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.5016, allocations: 10 kB / 444.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.502, allocations: 48.89 kB / 444.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.5021, allocations: 22.59 kB / 444.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.5022, allocations: 11.69 kB / 444.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000369/0.5026, allocations: 245.2 kB / 444.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.243e-06/0.5026, allocations: 3.938 kB / 444.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007679/0.5034, allocations: 148.7 kB / 445 MB, free: 10.27 MB / 362.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.000183/0.5036, allocations: 114.8 kB / 445.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.5051, allocations: 0.5558 MB / 445.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.678e-06/0.5051, allocations: 0 / 445.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.5054, allocations: 123.5 kB / 445.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.5061, allocations: 88.42 kB / 445.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.5081, allocations: 0.8334 MB / 446.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.5087, allocations: 0.8347 MB / 447.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.5089, allocations: 31.44 kB / 447.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5089, allocations: 4 kB / 447.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Templates: time 0.01076/0.5196, allocations: 5.708 MB / 453.3 MB, free: 2.25 MB / 362.7 MB