Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.867e-05, allocations: 7.797 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 50.42 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5637, allocations: 77.06 MB / 419.7 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/0.5641, allocations: 75.27 kB / 419.8 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007167/0.5713, allocations: 1.405 MB / 421.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.5714, allocations: 4 kB / 421.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.5714, allocations: 3.938 kB / 421.2 MB, free: 15.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005159/0.5719, allocations: 349.3 kB / 421.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.572, allocations: 8.031 kB / 421.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.5721, allocations: 38.7 kB / 421.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.5721, allocations: 7.906 kB / 421.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.5724, allocations: 194.6 kB / 421.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5725, allocations: 4 kB / 421.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.5725, allocations: 4 kB / 421.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.5728, allocations: 87.88 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5728, allocations: 3.984 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5728, allocations: 0 / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5729, allocations: 3.953 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.11e-05/0.5729, allocations: 11.31 kB / 421.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.5735, allocations: 266.7 kB / 422.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.5736, allocations: 40.64 kB / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.5736, allocations: 18.19 kB / 422.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5737, allocations: 0 / 422.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.5737, allocations: 42.45 kB / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.5738, allocations: 0 / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.574, allocations: 48.97 kB / 422.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.5741, allocations: 77.11 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.5743, allocations: 128 kB / 422.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5743, allocations: 25.7 kB / 422.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.5744, allocations: 87.39 kB / 422.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.5744, allocations: 4 kB / 422.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.5745, allocations: 0 / 422.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5746, allocations: 321.9 kB / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.5747, allocations: 7.5 kB / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.5747, allocations: 9.719 kB / 422.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.5748, allocations: 8.062 kB / 423 MB, free: 13.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5748, allocations: 0 / 423 MB, free: 13.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.5749, allocations: 49.47 kB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.575, allocations: 4 kB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.575, allocations: 4 kB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.575, allocations: 3.953 kB / 423 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5752, allocations: 11.88 kB / 423 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5752, allocations: 0 / 423 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.5753, allocations: 8.047 kB / 423 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5753, allocations: 4 kB / 423 MB, free: 13.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.414e-05/0.5754, allocations: 112.1 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.5755, allocations: 33.61 kB / 423.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.5756, allocations: 15.27 kB / 423.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5756, allocations: 3.953 kB / 423.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5757, allocations: 0 / 423.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.5757, allocations: 4 kB / 423.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.576, allocations: 165 kB / 423.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.576, allocations: 4.031 kB / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.5761, allocations: 4 kB / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5761, allocations: 4 kB / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5761, allocations: 0 / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5762, allocations: 0 / 423.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5762, allocations: 7.891 kB / 423.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.5764, allocations: 164.5 kB / 423.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5765, allocations: 85.09 kB / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.5766, allocations: 3 kB / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5767, allocations: 11.94 kB / 423.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.5768, allocations: 0 / 423.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.5768, allocations: 0 / 423.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.5769, allocations: 110 kB / 423.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.577, allocations: 0 / 423.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.5774, allocations: 4 kB / 423.8 MB, free: 12.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000621/0.5781, allocations: 0.7628 MB / 424.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.5782, allocations: 11.47 kB / 424.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.5783, allocations: 4.062 kB / 424.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.5783, allocations: 4 kB / 424.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.5787, allocations: 31.47 kB / 424.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.5794, allocations: 126.7 kB / 424.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.5799, allocations: 0.6887 MB / 425.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.58, allocations: 4.141 kB / 425.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.5801, allocations: 18.94 kB / 425.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5801, allocations: 0 / 425.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08052/0.6606, allocations: 1.201 MB / 426.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004439/0.6612, allocations: 170 kB / 426.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.985, allocations: 0 / 426.8 MB, free: 9.609 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat