Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.028e-05, allocations: 0 / 292.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 50.41 MB / 343.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5513, allocations: 78.96 MB / 422.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5517, allocations: 77.81 kB / 422.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.5634, allocations: 2.592 MB / 424.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5634, allocations: 0 / 424.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5635, allocations: 8 kB / 424.8 MB, free: 12.65 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.0007523/0.5642, allocations: 405.8 kB / 425.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5643, allocations: 12.03 kB / 425.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.5644, allocations: 51.5 kB / 425.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.5644, allocations: 7.906 kB / 425.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.5647, allocations: 202.3 kB / 425.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5648, allocations: 7.375 kB / 425.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.5648, allocations: 18.67 kB / 425.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.5654, allocations: 211.7 kB / 425.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5654, allocations: 3.984 kB / 425.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.5654, allocations: 10.77 kB / 425.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5655, allocations: 8 kB / 425.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.5656, allocations: 59.17 kB / 425.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.5666, allocations: 0.5966 MB / 426.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.567, allocations: 128.8 kB / 426.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.5671, allocations: 66.83 kB / 426.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.5672, allocations: 0 / 426.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.5672, allocations: 50.2 kB / 426.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.5672, allocations: 0 / 426.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003664/0.5676, allocations: 105.9 kB / 426.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5677, allocations: 118.1 kB / 426.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.5679, allocations: 130.6 kB / 426.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.5679, allocations: 29.33 kB / 427 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.568, allocations: 111.1 kB / 427.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.5681, allocations: 30.56 kB / 427.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.5681, allocations: 3.438 kB / 427.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5682, allocations: 326.2 kB / 427.4 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.5683, allocations: 23.25 kB / 427.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5685, allocations: 123.8 kB / 427.6 MB, free: 9.762 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.0003377/0.5688, allocations: 134.6 kB / 427.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5688, allocations: 0 / 427.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003918/0.5692, allocations: 157.7 kB / 427.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.5693, allocations: 11.98 kB / 427.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5693, allocations: 0 / 427.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.5693, allocations: 8 kB / 427.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.5697, allocations: 47.8 kB / 427.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.5697, allocations: 7.984 kB / 427.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.5699, allocations: 26.86 kB / 428 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.5699, allocations: 11.94 kB / 428 MB, free: 9.379 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.0001335/0.5701, allocations: 120.7 kB / 428.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.5703, allocations: 92.05 kB / 428.2 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.5704, allocations: 19.56 kB / 428.2 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5704, allocations: 0 / 428.2 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5705, allocations: 4 kB / 428.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5705, allocations: 0 / 428.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.5709, allocations: 206.7 kB / 428.4 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.5709, allocations: 0 / 428.4 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.5713, allocations: 55.89 kB / 428.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.5713, allocations: 0 / 428.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.5714, allocations: 8.062 kB / 428.5 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.5714, allocations: 0 / 428.5 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5714, allocations: 7.875 kB / 428.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.572, allocations: 370 kB / 428.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.5721, allocations: 92.92 kB / 428.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.5722, allocations: 7.5 kB / 428.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.5724, allocations: 11.98 kB / 428.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.5725, allocations: 7.578 kB / 428.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.5725, allocations: 4 kB / 429 MB, free: 8.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.5726, allocations: 105.2 kB / 429.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5726, allocations: 4 kB / 429.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.5731, allocations: 31.16 kB / 429.1 MB, free: 8.258 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.0009324/0.5741, allocations: 1.042 MB / 430.1 MB, free: 7.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.5744, allocations: 92.22 kB / 430.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5744, allocations: 0 / 430.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.5745, allocations: 15.38 kB / 430.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.5751, allocations: 47.95 kB / 430.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5765, allocations: 372.2 kB / 430.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.5769, allocations: 0.7235 MB / 431.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.021e-05/0.577, allocations: 9.203 kB / 431.4 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.936e-05/0.5771, allocations: 38.89 kB / 431.4 MB, free: 5.949 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5771, allocations: 0 / 431.4 MB, free: 5.949 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.6036, allocations: 2.584 MB / 434 MB, free: 3.484 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003596/0.6041, allocations: 203.8 kB / 434.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.014, allocations: 0 / 434.2 MB, free: 3.254 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat does not exist to compare? outputFormat=mat