Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.506e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50.42 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5703, allocations: 76.28 MB / 418.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5706, allocations: 73.77 kB / 419 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002333/0.573, allocations: 0.709 MB / 419.7 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.573, allocations: 0 / 419.7 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.573, allocations: 0 / 419.7 MB, free: 0.8633 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003651/0.5734, allocations: 333.8 kB / 420 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5735, allocations: 12.03 kB / 420.1 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.5735, allocations: 41.64 kB / 420.1 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.5736, allocations: 3.906 kB / 420.1 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.5738, allocations: 173.9 kB / 420.3 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5738, allocations: 3 kB / 420.3 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.5738, allocations: 4.75 kB / 420.3 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.5741, allocations: 87.83 kB / 420.4 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5741, allocations: 8 kB / 420.4 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5742, allocations: 0 / 420.4 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5742, allocations: 3.953 kB / 420.4 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.5742, allocations: 6.875 kB / 420.4 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.5744, allocations: 155.9 kB / 420.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.5745, allocations: 41 kB / 420.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.5746, allocations: 16.52 kB / 420.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.5746, allocations: 4 kB / 420.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.5747, allocations: 38.5 kB / 420.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.5747, allocations: 0 / 420.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.5749, allocations: 52.11 kB / 420.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5749, allocations: 55.36 kB / 420.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.575, allocations: 99.75 kB / 420.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.575, allocations: 28.27 kB / 420.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.5751, allocations: 80.14 kB / 420.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.5751, allocations: 15.8 kB / 421 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5751, allocations: 0 / 421 MB, free: 15.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.5752, allocations: 310.8 kB / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.5753, allocations: 4 kB / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.5753, allocations: 31.09 kB / 421.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.5754, allocations: 11.94 kB / 421.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5754, allocations: 0 / 421.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.5755, allocations: 62.88 kB / 421.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.5755, allocations: 4 kB / 421.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5755, allocations: 0 / 421.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5756, allocations: 4 kB / 421.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.5756, allocations: 7.984 kB / 421.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5757, allocations: 128 / 421.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.5757, allocations: 15.89 kB / 421.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5757, allocations: 0 / 421.4 MB, free: 15.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.362e-05/0.5758, allocations: 105 kB / 421.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5759, allocations: 56.97 kB / 421.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.576, allocations: 4.031 kB / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.576, allocations: 0 / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.576, allocations: 0 / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.576, allocations: 4 kB / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.5761, allocations: 156.9 kB / 421.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5762, allocations: 4 kB / 421.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.5763, allocations: 15.61 kB / 421.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5763, allocations: 0 / 421.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5763, allocations: 0 / 421.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5763, allocations: 0 / 421.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5763, allocations: 0 / 421.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.5764, allocations: 75.83 kB / 421.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.5765, allocations: 81.02 kB / 421.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.5765, allocations: 4 kB / 421.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.5766, allocations: 7.984 kB / 421.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-06/0.5766, allocations: 3.938 kB / 421.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.5766, allocations: 0 / 421.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.5767, allocations: 90.84 kB / 422 MB, free: 14.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5767, allocations: 0 / 422 MB, free: 14.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.577, allocations: 4 kB / 422 MB, free: 14.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004102/0.5774, allocations: 0.61 MB / 422.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.5775, allocations: 23.42 kB / 422.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5775, allocations: 0 / 422.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.5775, allocations: 4 kB / 422.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.5777, allocations: 15.38 kB / 422.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.5781, allocations: 96.98 kB / 422.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.5783, allocations: 0.6848 MB / 423.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.5784, allocations: 3.984 kB / 423.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.5784, allocations: 11.05 kB / 423.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5784, allocations: 3.938 kB / 423.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.6023, allocations: 1.012 MB / 424.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.6026, allocations: 165.3 kB / 424.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.041, allocations: 3.938 kB / 424.6 MB, free: 11.65 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat