Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_CascadeControlledDrive_AbsoluteClocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.351e-05, allocations: 5.562 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 50.41 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.582, allocations: 81.25 MB / 423.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5823, allocations: 70.91 kB / 424 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03388/0.6162, allocations: 7.258 MB / 431.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6162, allocations: 0 / 431.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.6163, allocations: 8 kB / 431.2 MB, free: 6.309 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001906/0.6182, allocations: 0.6137 MB / 431.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.6183, allocations: 8.031 kB / 431.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.6184, allocations: 73.78 kB / 431.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.6186, allocations: 39.62 kB / 431.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.6192, allocations: 296 kB / 432.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/0.6195, allocations: 145 kB / 432.4 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6197, allocations: 27.5 kB / 432.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.6211, allocations: 0.4967 MB / 432.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.6211, allocations: 7.906 kB / 432.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.6212, allocations: 7.75 kB / 432.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.6212, allocations: 8 kB / 432.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6225, allocations: 408.5 kB / 433.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.6251, allocations: 1.041 MB / 434.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.6267, allocations: 417.4 kB / 434.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.6272, allocations: 208.1 kB / 435 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/0.6273, allocations: 7.984 kB / 435 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6273, allocations: 49.11 kB / 435 MB, free: 2.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.066e-06/0.6273, allocations: 0 / 435 MB, free: 2.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.01478/0.6421, allocations: 2.124 MB / 437.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.6423, allocations: 148.8 kB / 437.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.6427, allocations: 231 kB / 437.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.6429, allocations: 43.52 kB / 437.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.643, allocations: 202.4 kB / 437.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.6433, allocations: 199.8 kB / 438 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.6434, allocations: 13.62 kB / 438 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6436, allocations: 342.3 kB / 438.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.6449, allocations: 477.5 kB / 438.8 MB, free: 88 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.6463, allocations: 0.6501 MB / 439.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.6475, allocations: 431.7 kB / 439.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6475, allocations: 0 / 439.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003037/0.6505, allocations: 1.083 MB / 440.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.6506, allocations: 8 kB / 440.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6506, allocations: 4 kB / 440.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.6507, allocations: 12.72 kB / 441 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.6533, allocations: 223 kB / 441.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.102e-05/0.6534, allocations: 15.92 kB / 441.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.6553, allocations: 125.6 kB / 441.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.6554, allocations: 37.23 kB / 441.3 MB, free: 14.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0003537/0.6558, allocations: 152.6 kB / 441.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/0.6563, allocations: 152.3 kB / 441.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.6565, allocations: 69.95 kB / 441.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6566, allocations: 8 kB / 441.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.6566, allocations: 0 / 441.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6566, allocations: 7.984 kB / 441.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.6629, allocations: 2.006 MB / 443.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.663, allocations: 12.03 kB / 443.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.6645, allocations: 204 kB / 443.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.737e-05/0.6646, allocations: 16.17 kB / 444 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.6647, allocations: 26.62 kB / 444 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/0.6647, allocations: 23.88 kB / 444 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.921e-05/0.6648, allocations: 19.88 kB / 444 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.6675, allocations: 1.757 MB / 445.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.6679, allocations: 189.4 kB / 446 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.668, allocations: 26.38 kB / 446 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.6692, allocations: 99.11 kB / 446.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.6695, allocations: 100.9 kB / 446.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.6696, allocations: 35.14 kB / 446.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.6699, allocations: 189.1 kB / 446.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6699, allocations: 0 / 446.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009763/0.6709, allocations: 129.2 kB / 446.5 MB, free: 9.457 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.004197/0.6751, allocations: 5.363 MB / 451.9 MB, free: 4.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.6776, allocations: 0.8439 MB / 452.7 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.6776, allocations: 5.438 kB / 452.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.6784, allocations: 232.7 kB / 453 MB, free: 3.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6794, allocations: 124.4 kB / 453.1 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.6832, allocations: 1.125 MB / 454.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.6838, allocations: 0.8409 MB / 455.1 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/0.6848, allocations: 123.4 kB / 455.2 MB, free: 0.832 MB / 362.7 MB Notification: Performance of SimCode: time 5.561e-06/0.6848, allocations: 4 kB / 455.2 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.524/3.209, allocations: 8.456 MB / 463.6 MB, free: 8.371 MB / 378.7 MB