Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.154/2.154, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.888e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5565, allocations: 80.33 MB / 415.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.5569, allocations: 74.08 kB / 415.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01367/0.5706, allocations: 2.55 MB / 417.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5706, allocations: 0 / 417.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.5707, allocations: 4 kB / 417.7 MB, free: 11.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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008335/0.5715, allocations: 411.9 kB / 418.1 MB, free: 11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.5716, allocations: 8.031 kB / 418.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.906e-05/0.5717, allocations: 45.3 kB / 418.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.5718, allocations: 17.67 kB / 418.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.5721, allocations: 197.4 kB / 418.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.5722, allocations: 19.89 kB / 418.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.5722, allocations: 11.69 kB / 418.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.5729, allocations: 204.1 kB / 418.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.573, allocations: 4 kB / 418.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.573, allocations: 3.812 kB / 418.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.573, allocations: 4 kB / 418.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.5733, allocations: 62.55 kB / 418.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.5744, allocations: 0.6058 MB / 419.3 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.5749, allocations: 130.2 kB / 419.4 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.575, allocations: 61.39 kB / 419.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.5751, allocations: 12.12 kB / 419.5 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5751, allocations: 34.52 kB / 419.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.5751, allocations: 0 / 419.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003805/0.5755, allocations: 109 kB / 419.7 MB, free: 9.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.5756, allocations: 118.6 kB / 419.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5758, allocations: 130.9 kB / 419.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.5758, allocations: 33.61 kB / 419.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.5759, allocations: 115.6 kB / 420 MB, free: 9.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.576, allocations: 19.48 kB / 420.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.576, allocations: 7.875 kB / 420.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5762, allocations: 318.8 kB / 420.4 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.5763, allocations: 28.12 kB / 420.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.5764, allocations: 117.6 kB / 420.5 MB, free: 8.555 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.0003231/0.5768, allocations: 144 kB / 420.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5768, allocations: 0 / 420.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003891/0.5772, allocations: 160 kB / 420.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5772, allocations: 8.469 kB / 420.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5773, allocations: 8 kB / 420.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.5773, allocations: 7.984 kB / 420.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.5776, allocations: 43.92 kB / 420.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.5776, allocations: 11.94 kB / 420.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.5778, allocations: 27.7 kB / 420.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5779, allocations: 8 kB / 420.9 MB, free: 8.156 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.0001195/0.578, allocations: 128.1 kB / 421.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.5782, allocations: 84.91 kB / 421.1 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.5783, allocations: 19.5 kB / 421.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5783, allocations: 4 kB / 421.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5783, allocations: 0 / 421.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5783, allocations: 0 / 421.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.5787, allocations: 208.2 kB / 421.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5787, allocations: 0 / 421.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.5792, allocations: 51.89 kB / 421.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5792, allocations: 7.938 kB / 421.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.5792, allocations: 7.828 kB / 421.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.5792, allocations: 4 kB / 421.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5792, allocations: 0 / 421.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.5798, allocations: 368.9 kB / 421.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.5799, allocations: 92.94 kB / 421.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.5799, allocations: 3.969 kB / 421.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.5801, allocations: 15.92 kB / 421.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.5802, allocations: 7.812 kB / 421.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5802, allocations: 4 kB / 421.9 MB, free: 7.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.543e-05/0.5803, allocations: 107.2 kB / 422 MB, free: 7.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5804, allocations: 0 / 422 MB, free: 7.062 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00047/0.5808, allocations: 31.94 kB / 422.1 MB, free: 7.035 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.000895/0.5817, allocations: 1.035 MB / 423.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.582, allocations: 91.41 kB / 423.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5821, allocations: 4 kB / 423.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.5821, allocations: 14.69 kB / 423.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.5827, allocations: 65.08 kB / 423.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.584, allocations: 355.6 kB / 423.6 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.5844, allocations: 0.7245 MB / 424.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.5845, allocations: 9.203 kB / 424.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.5846, allocations: 40.73 kB / 424.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5846, allocations: 0 / 424.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.6109, allocations: 2.586 MB / 427 MB, free: 2.234 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.6113, allocations: 208.6 kB / 427.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.092, allocations: 0 / 427.2 MB, free: 2.008 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat does not exist to compare? outputFormat=mat