Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.4e-05, allocations: 2.031 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5733, allocations: 79.02 MB / 421.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5736, allocations: 72.28 kB / 421.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.5846, allocations: 2.593 MB / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5847, allocations: 3.938 kB / 424.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5847, allocations: 4 kB / 424.3 MB, free: 12.47 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000709/0.5854, allocations: 410.8 kB / 424.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5855, allocations: 8.031 kB / 424.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.5855, allocations: 45.39 kB / 424.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.5856, allocations: 11.91 kB / 424.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.5859, allocations: 208.5 kB / 425 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5859, allocations: 10.69 kB / 425 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.586, allocations: 11.12 kB / 425 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.5865, allocations: 211.4 kB / 425.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5866, allocations: 0 / 425.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.5866, allocations: 7.266 kB / 425.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.5866, allocations: 4 kB / 425.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.5868, allocations: 64.92 kB / 425.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.5877, allocations: 0.5968 MB / 425.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.5881, allocations: 134.7 kB / 426 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.5882, allocations: 59.95 kB / 426.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.5883, allocations: 8.266 kB / 426.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5883, allocations: 38.5 kB / 426.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.445e-06/0.5883, allocations: 0 / 426.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000359/0.5887, allocations: 111 kB / 426.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.5888, allocations: 113.8 kB / 426.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.589, allocations: 129.3 kB / 426.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.589, allocations: 33.42 kB / 426.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.5891, allocations: 180.9 kB / 426.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.5892, allocations: 26.95 kB / 426.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.5892, allocations: 4 kB / 426.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5893, allocations: 314.2 kB / 427 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.5894, allocations: 26 kB / 427 MB, free: 9.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.5896, allocations: 122.6 kB / 427.2 MB, free: 9.527 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.5899, allocations: 141.4 kB / 427.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5899, allocations: 4 kB / 427.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003607/0.5903, allocations: 152.4 kB / 427.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5903, allocations: 4 kB / 427.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5903, allocations: 8 kB / 427.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.5904, allocations: 8 kB / 427.5 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.5907, allocations: 47.91 kB / 427.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.5907, allocations: 7.938 kB / 427.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.5909, allocations: 31.59 kB / 427.6 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.5909, allocations: 8 kB / 427.6 MB, free: 9.137 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: PI.y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001147/0.5911, allocations: 123.9 kB / 427.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.5913, allocations: 81.91 kB / 427.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.5914, allocations: 22.36 kB / 427.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.5914, allocations: 4 kB / 427.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5914, allocations: 0 / 427.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5914, allocations: 4 kB / 427.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.5918, allocations: 205.9 kB / 428 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5918, allocations: 0 / 428 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.5922, allocations: 50.66 kB / 428 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5922, allocations: 4.188 kB / 428 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.5923, allocations: 4 kB / 428 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5923, allocations: 11.86 kB / 428.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5923, allocations: 0 / 428.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.5928, allocations: 368.1 kB / 428.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.5929, allocations: 92.89 kB / 428.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.5929, allocations: 11.48 kB / 428.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.5931, allocations: 6.562 kB / 428.5 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.5932, allocations: 11.94 kB / 428.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.5932, allocations: 4 kB / 428.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.075e-05/0.5933, allocations: 105.9 kB / 428.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5933, allocations: 0 / 428.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004424/0.5938, allocations: 31.62 kB / 428.7 MB, free: 8.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0008353/0.5946, allocations: 1.047 MB / 429.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.5949, allocations: 83.5 kB / 429.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.595, allocations: 0 / 429.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.595, allocations: 22.8 kB / 429.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.5955, allocations: 48.83 kB / 429.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.5969, allocations: 388 kB / 430.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5972, allocations: 0.7245 MB / 431 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.5973, allocations: 41.33 kB / 431 MB, free: 5.695 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5974, allocations: 0 / 431 MB, free: 5.695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.302/2.899, allocations: 2.185 MB / 433.2 MB, free: 3.531 MB / 346.7 MB