Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.567e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5329/0.6488, allocations: 77.69 MB / 420.3 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.6491, allocations: 70.77 kB / 420.4 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00932/0.6585, allocations: 2.163 MB / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6585, allocations: 0 / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.6585, allocations: 2.953 kB / 422.6 MB, free: 14.61 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006148/0.6592, allocations: 389.5 kB / 422.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6592, allocations: 8.031 kB / 423 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.6593, allocations: 44.42 kB / 423 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.6594, allocations: 11.86 kB / 423 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.6596, allocations: 194.4 kB / 423.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.6596, allocations: 4.188 kB / 423.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.6597, allocations: 15.44 kB / 423.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.66, allocations: 103.1 kB / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.66, allocations: 0 / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.66, allocations: 3.953 kB / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.6601, allocations: 4 kB / 423.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.6602, allocations: 54.84 kB / 423.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.6612, allocations: 0.541 MB / 423.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.6614, allocations: 68.94 kB / 424 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.6615, allocations: 23.61 kB / 424 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.6616, allocations: 0 / 424 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.6616, allocations: 30.56 kB / 424 MB, free: 13.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.6616, allocations: 0 / 424 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002458/0.6619, allocations: 76.38 kB / 424.1 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.6619, allocations: 51.41 kB / 424.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.662, allocations: 128.1 kB / 424.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.6621, allocations: 25.7 kB / 424.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.6622, allocations: 110.6 kB / 424.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.6622, allocations: 30.7 kB / 424.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.6622, allocations: 2.812 kB / 424.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6624, allocations: 322.1 kB / 424.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.6624, allocations: 19 kB / 424.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/0.6625, allocations: 58.47 kB / 424.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.6626, allocations: 26.38 kB / 424.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6626, allocations: 0 / 424.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002457/0.6629, allocations: 106.6 kB / 425 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6629, allocations: 4.125 kB / 425 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.663, allocations: 8 kB / 425 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.663, allocations: 0 / 425 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.6633, allocations: 39.36 kB / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.6633, allocations: 7.953 kB / 425 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.6635, allocations: 15.92 kB / 425.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6635, allocations: 4 kB / 425.1 MB, free: 12.07 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.638e-05/0.6636, allocations: 112.5 kB / 425.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.6636, allocations: 7.906 kB / 425.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.6637, allocations: 19.48 kB / 425.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6637, allocations: 0 / 425.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6637, allocations: 4 kB / 425.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6637, allocations: 3.953 kB / 425.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.664, allocations: 191.4 kB / 425.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.6641, allocations: 3.984 kB / 425.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.6643, allocations: 19.98 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6644, allocations: 8 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.6644, allocations: 3.438 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6644, allocations: 0 / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6644, allocations: 0 / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.6647, allocations: 192 kB / 425.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.6648, allocations: 81.02 kB / 425.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.6648, allocations: 11.16 kB / 425.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.665, allocations: 8 kB / 425.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.6651, allocations: 11.92 kB / 425.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.6651, allocations: 0 / 425.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.431e-05/0.6652, allocations: 103.2 kB / 425.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6652, allocations: 4.031 kB / 425.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.6656, allocations: 31.31 kB / 425.9 MB, free: 11.24 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006475/0.6662, allocations: 0.7364 MB / 426.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.6665, allocations: 54.42 kB / 426.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6665, allocations: 0 / 426.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.6666, allocations: 27.67 kB / 426.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.6669, allocations: 17.72 kB / 426.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.6679, allocations: 315.7 kB / 427 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.6683, allocations: 0.7082 MB / 427.7 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.6684, allocations: 4.438 kB / 427.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.6684, allocations: 30.41 kB / 427.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6685, allocations: 0 / 427.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.689, allocations: 2.002 MB / 429.7 MB, free: 7.414 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.6893, allocations: 161.8 kB / 429.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.155, allocations: 0 / 429.9 MB, free: 7.191 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat does not exist to compare? outputFormat=mat