Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 1.181/1.181, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.906e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 25.16 MB / 176.5 MB, free: 24 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.2578, allocations: 38.01 MB / 214.6 MB, free: 11.46 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.258, allocations: 59.98 kB / 214.6 MB, free: 11.4 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03413/0.2922, allocations: 7.892 MB / 222.5 MB, free: 3.477 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2922, allocations: 4 kB / 222.5 MB, free: 3.473 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.355e-05/0.2923, allocations: 11.92 kB / 222.5 MB, free: 3.461 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001327/0.2936, allocations: 0.6396 MB / 223.2 MB, free: 2.777 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2937, allocations: 12.03 kB / 223.2 MB, free: 2.766 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2938, allocations: 43.44 kB / 223.2 MB, free: 2.723 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/0.2946, allocations: 339 kB / 223.5 MB, free: 2.355 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2947, allocations: 58.81 kB / 223.6 MB, free: 2.293 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.2948, allocations: 35.95 kB / 223.6 MB, free: 2.258 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.2956, allocations: 331.2 kB / 224 MB, free: 1.914 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.2957, allocations: 7.984 kB / 224 MB, free: 1.906 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.2958, allocations: 12 kB / 224 MB, free: 1.895 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2958, allocations: 8 kB / 224 MB, free: 1.887 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.2964, allocations: 229.5 kB / 224.2 MB, free: 1.664 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.2992, allocations: 1.152 MB / 225.4 MB, free: 456 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.2999, allocations: 234.7 kB / 225.6 MB, free: 212 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3002, allocations: 100.8 kB / 225.7 MB, free: 108 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.3002, allocations: 4 kB / 225.7 MB, free: 104 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3003, allocations: 38.98 kB / 225.7 MB, free: 56 kB / 186.7 MB Notification: Performance of pre-optimization done (n=26): time 3.498e-06/0.3003, allocations: 4 kB / 225.7 MB, free: 52 kB / 186.7 MB Notification: Performance of matching and sorting (n=28): time 0.002154/0.3025, allocations: 0.9272 MB / 226.7 MB, free: 15.03 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3026, allocations: 106.8 kB / 226.8 MB, free: 14.9 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.303, allocations: 278.6 kB / 227 MB, free: 14.62 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.3031, allocations: 29.7 kB / 227.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3033, allocations: 266.5 kB / 227.3 MB, free: 14.32 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3035, allocations: 94.56 kB / 227.4 MB, free: 14.23 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.3035, allocations: 8 kB / 227.4 MB, free: 14.22 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3037, allocations: 326.8 kB / 227.7 MB, free: 13.89 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.304, allocations: 105.1 kB / 227.8 MB, free: 13.79 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.3043, allocations: 166.5 kB / 228 MB, free: 13.61 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3046, allocations: 108 kB / 228.1 MB, free: 13.5 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3047, allocations: 0 / 228.1 MB, free: 13.5 MB / 202.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007669/0.3054, allocations: 309.4 kB / 228.4 MB, free: 13.2 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3055, allocations: 4 kB / 228.4 MB, free: 13.19 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3055, allocations: 4 kB / 228.4 MB, free: 13.19 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3055, allocations: 0 / 228.4 MB, free: 13.19 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.3063, allocations: 151.9 kB / 228.6 MB, free: 13.04 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3064, allocations: 7.938 kB / 228.6 MB, free: 13.03 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.3068, allocations: 47.95 kB / 228.6 MB, free: 12.98 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.3068, allocations: 12 kB / 228.6 MB, free: 12.97 MB / 202.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 (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0001645/0.307, allocations: 124.9 kB / 228.8 MB, free: 12.84 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3071, allocations: 31.62 kB / 228.8 MB, free: 12.81 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3073, allocations: 39.77 kB / 228.8 MB, free: 12.77 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-06/0.3073, allocations: 4 kB / 228.8 MB, free: 12.77 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3073, allocations: 7.938 kB / 228.8 MB, free: 12.76 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3073, allocations: 7.984 kB / 228.9 MB, free: 12.75 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3089, allocations: 0.7701 MB / 229.6 MB, free: 11.91 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.309, allocations: 0 / 229.6 MB, free: 11.91 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/0.3096, allocations: 96 kB / 229.7 MB, free: 11.82 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.3096, allocations: 4 kB / 229.7 MB, free: 11.82 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.3096, allocations: 4 kB / 229.7 MB, free: 11.81 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.3097, allocations: 7.984 kB / 229.7 MB, free: 11.8 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-06/0.3097, allocations: 3.953 kB / 229.7 MB, free: 11.8 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3107, allocations: 0.5218 MB / 230.3 MB, free: 11.23 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3109, allocations: 124.7 kB / 230.4 MB, free: 11.09 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.311, allocations: 8 kB / 230.4 MB, free: 11.08 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.3115, allocations: 51.95 kB / 230.4 MB, free: 11.03 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.3116, allocations: 27.83 kB / 230.5 MB, free: 11 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.3117, allocations: 12 kB / 230.5 MB, free: 10.99 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003515/0.312, allocations: 214.2 kB / 230.7 MB, free: 10.78 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.312, allocations: 0 / 230.7 MB, free: 10.78 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.3126, allocations: 76 kB / 230.8 MB, free: 10.71 MB / 202.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 (28): * Single equations (assignments): 28 * 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.0002038/0.3128, allocations: 111.1 kB / 230.9 MB, free: 10.59 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.3134, allocations: 235.8 kB / 231.1 MB, free: 10.36 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.555e-06/0.3135, allocations: 4 kB / 231.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.3138, allocations: 111.9 kB / 231.2 MB, free: 10.24 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.3144, allocations: 69.94 kB / 231.3 MB, free: 10.18 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.317, allocations: 0.9193 MB / 232.2 MB, free: 9.219 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.3175, allocations: 0.8074 MB / 233 MB, free: 8.383 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3177, allocations: 31.44 kB / 233 MB, free: 8.352 MB / 202.7 MB Notification: Performance of SimCode: time 1.69e-06/0.3177, allocations: 0 / 233 MB, free: 8.352 MB / 202.7 MB Notification: Performance of Templates: time 0.009308/0.327, allocations: 4.449 MB / 237.5 MB, free: 3.91 MB / 202.7 MB