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 0.9826/0.9826, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.137e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05176/0.05181, allocations: 25.17 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.00356/0.05542, allocations: 2.105 MB / 181.8 MB, free: 7.508 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.05744, allocations: 0.7177 MB / 182.5 MB, free: 6.785 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.05774, allocations: 15.94 kB / 182.5 MB, free: 6.77 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.05802, allocations: 43.64 kB / 182.6 MB, free: 6.727 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.05844, allocations: 107.6 kB / 182.7 MB, free: 6.621 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.05936, allocations: 219.5 kB / 182.9 MB, free: 6.406 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.05994, allocations: 240 kB / 183.1 MB, free: 6.172 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.06019, allocations: 82.69 kB / 183.2 MB, free: 6.09 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.06044, allocations: 131.6 kB / 183.3 MB, free: 5.961 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.06073, allocations: 139.4 kB / 183.5 MB, free: 5.824 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.06082, allocations: 12 kB / 183.5 MB, free: 5.812 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.06088, allocations: 12 kB / 183.5 MB, free: 5.801 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.061, allocations: 63.73 kB / 183.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.06111, allocations: 28 kB / 183.6 MB, free: 5.711 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.06158, allocations: 315.5 kB / 183.9 MB, free: 5.402 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.0616, allocations: 0 / 183.9 MB, free: 5.402 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.06162, allocations: 11.88 kB / 183.9 MB, free: 5.391 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.06164, allocations: 0 / 183.9 MB, free: 5.391 MB / 154.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.001655/0.0633, allocations: 0.6201 MB / 184.5 MB, free: 4.723 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.06336, allocations: 8.031 kB / 184.5 MB, free: 4.715 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.06352, allocations: 51.44 kB / 184.6 MB, free: 4.664 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.0641, allocations: 306.2 kB / 184.9 MB, free: 4.328 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.06421, allocations: 54.36 kB / 184.9 MB, free: 4.27 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.06431, allocations: 32 kB / 185 MB, free: 4.238 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.06572, allocations: 409.7 kB / 185.4 MB, free: 3.82 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.06577, allocations: 4 kB / 185.4 MB, free: 3.816 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.06583, allocations: 12 kB / 185.4 MB, free: 3.805 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.06586, allocations: 8 kB / 185.4 MB, free: 3.797 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.06757, allocations: 386.3 kB / 185.8 MB, free: 3.422 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.07068, allocations: 1.14 MB / 186.9 MB, free: 2.215 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.07221, allocations: 326.5 kB / 187.2 MB, free: 1.887 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.07227, allocations: 0 / 187.2 MB, free: 1.887 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.07232, allocations: 38.56 kB / 187.2 MB, free: 1.84 MB / 154.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.07233, allocations: 0 / 187.2 MB, free: 1.84 MB / 154.7 MB Notification: Performance of matching and sorting (n=28): time 0.005583/0.07792, allocations: 1.432 MB / 188.7 MB, free: 324 kB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.07804, allocations: 85.09 kB / 188.8 MB, free: 220 kB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.07855, allocations: 271.6 kB / 189 MB, free: 15.94 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.07862, allocations: 29.7 kB / 189.1 MB, free: 15.91 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.07883, allocations: 254.6 kB / 189.3 MB, free: 15.66 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.07897, allocations: 98.55 kB / 189.4 MB, free: 15.56 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.07903, allocations: 15.94 kB / 189.4 MB, free: 15.54 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.07919, allocations: 326.8 kB / 189.7 MB, free: 15.21 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007325/0.07994, allocations: 164.5 kB / 189.9 MB, free: 15.05 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.08075, allocations: 214.1 kB / 190.1 MB, free: 14.83 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.08152, allocations: 171.9 kB / 190.3 MB, free: 14.66 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.08154, allocations: 0 / 190.3 MB, free: 14.66 MB / 170.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001716/0.08326, allocations: 433.3 kB / 190.7 MB, free: 14.23 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.08331, allocations: 4 kB / 190.7 MB, free: 14.23 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.08333, allocations: 8 kB / 190.7 MB, free: 14.22 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.08336, allocations: 0 / 190.7 MB, free: 14.22 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.08446, allocations: 147.8 kB / 190.9 MB, free: 14.07 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.08449, allocations: 4 kB / 190.9 MB, free: 14.07 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.085, allocations: 47.91 kB / 190.9 MB, free: 14.02 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.08506, allocations: 12 kB / 190.9 MB, free: 14.01 MB / 170.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.0002741/0.08534, allocations: 161.7 kB / 191.1 MB, free: 13.84 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.08545, allocations: 31.62 kB / 191.1 MB, free: 13.81 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.08558, allocations: 39.77 kB / 191.1 MB, free: 13.77 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.08559, allocations: 0 / 191.1 MB, free: 13.77 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.08561, allocations: 0 / 191.1 MB, free: 13.77 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.08562, allocations: 0 / 191.1 MB, free: 13.77 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.08827, allocations: 0.9106 MB / 192.1 MB, free: 12.79 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.08832, allocations: 4 kB / 192.1 MB, free: 12.79 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.08917, allocations: 99.98 kB / 192.2 MB, free: 12.69 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.08919, allocations: 0 / 192.2 MB, free: 12.69 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.08924, allocations: 8 kB / 192.2 MB, free: 12.68 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.08925, allocations: 4 kB / 192.2 MB, free: 12.68 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.08927, allocations: 0 / 192.2 MB, free: 12.68 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.09191, allocations: 0.7442 MB / 192.9 MB, free: 11.88 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.0921, allocations: 108.6 kB / 193 MB, free: 11.76 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.0922, allocations: 4.062 kB / 193 MB, free: 11.75 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.09284, allocations: 59.94 kB / 193.1 MB, free: 11.7 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.09296, allocations: 19.97 kB / 193.1 MB, free: 11.68 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.09301, allocations: 12 kB / 193.1 MB, free: 11.66 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.09337, allocations: 211.1 kB / 193.3 MB, free: 11.46 MB / 170.7 MB Notification: Performance of sort global known variables: time 2.805e-06/0.09338, allocations: 0 / 193.3 MB, free: 11.46 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004917/0.09389, allocations: 75.94 kB / 193.4 MB, free: 11.39 MB / 170.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.0001645/0.09407, allocations: 103.2 kB / 193.5 MB, free: 11.28 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.09577, allocations: 371.6 kB / 193.9 MB, free: 10.91 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.0958, allocations: 0 / 193.9 MB, free: 10.91 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008366/0.09665, allocations: 192.1 kB / 194 MB, free: 10.73 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.09744, allocations: 76.92 kB / 194.1 MB, free: 10.65 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1011, allocations: 1.272 MB / 195.4 MB, free: 9.332 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.1016, allocations: 0.8112 MB / 196.2 MB, free: 8.492 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.1019, allocations: 31.44 kB / 196.2 MB, free: 8.461 MB / 170.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1019, allocations: 0 / 196.2 MB, free: 8.461 MB / 170.7 MB Notification: Performance of Templates: time 0.01127/0.1131, allocations: 4.417 MB / 200.6 MB, free: 4.039 MB / 170.7 MB