Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4.019e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 50.4 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5696, allocations: 76.68 MB / 419.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.57, allocations: 78.64 kB / 419.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004253/0.5742, allocations: 1.148 MB / 420.6 MB, free: 48 kB / 330.7 MB Notification: Performance of FrontEnd: time 6.202e-06/0.5743, allocations: 0.5 kB / 420.6 MB, free: 48 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.5743, allocations: 11.94 kB / 420.6 MB, free: 36 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004387/0.5748, allocations: 349.9 kB / 420.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.5748, allocations: 8.031 kB / 420.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.5749, allocations: 38.81 kB / 421 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.5749, allocations: 11.86 kB / 421 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.5752, allocations: 190.1 kB / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5752, allocations: 0 / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.5752, allocations: 4 kB / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.5755, allocations: 109.2 kB / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5756, allocations: 0 / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.5756, allocations: 0 / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5756, allocations: 3.953 kB / 421.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.5756, allocations: 15.12 kB / 421.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.5761, allocations: 271.2 kB / 421.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.5764, allocations: 125.6 kB / 421.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.5764, allocations: 28.03 kB / 421.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.5765, allocations: 8 kB / 421.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5765, allocations: 30.56 kB / 421.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.5765, allocations: 3.938 kB / 421.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001918/0.5767, allocations: 60.27 kB / 421.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.5768, allocations: 81.09 kB / 421.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.577, allocations: 120 kB / 422 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.577, allocations: 29.72 kB / 422 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.5771, allocations: 91.45 kB / 422.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.5771, allocations: 0 / 422.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.5771, allocations: 0 / 422.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5773, allocations: 314.2 kB / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.5773, allocations: 4 kB / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.5773, allocations: 34.72 kB / 422.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.5774, allocations: 9.156 kB / 422.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5774, allocations: 0 / 422.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.5775, allocations: 64.09 kB / 422.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5776, allocations: 4 kB / 422.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5776, allocations: 0 / 422.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5776, allocations: 7.953 kB / 422.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.5777, allocations: 16.06 kB / 422.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5777, allocations: 0 / 422.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.5778, allocations: 7.984 kB / 422.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5778, allocations: 0 / 422.6 MB, free: 13.84 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 8.175e-05/0.5779, allocations: 108.9 kB / 422.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.578, allocations: 44.73 kB / 422.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.5781, allocations: 10.89 kB / 422.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.5781, allocations: 7.953 kB / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5781, allocations: 4 kB / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5781, allocations: 0 / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.5784, allocations: 165.8 kB / 422.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5784, allocations: 0 / 422.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.5785, allocations: 11.94 kB / 422.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5785, allocations: 4 kB / 422.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5785, allocations: 0 / 422.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5785, allocations: 0 / 422.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5785, allocations: 7.938 kB / 422.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.5787, allocations: 172 kB / 423.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.5788, allocations: 96.38 kB / 423.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.5788, allocations: 0 / 423.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.5789, allocations: 7.953 kB / 423.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.579, allocations: 0 / 423.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.579, allocations: 0 / 423.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.5791, allocations: 110.1 kB / 423.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.535e-06/0.5791, allocations: 0 / 423.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.5794, allocations: 19.38 kB / 423.3 MB, free: 13.01 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 (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.000529/0.58, allocations: 0.7586 MB / 424.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.5801, allocations: 27.61 kB / 424.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5801, allocations: 0 / 424.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.5802, allocations: 0 / 424.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.5805, allocations: 24.48 kB / 424.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.581, allocations: 138.1 kB / 424.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.5814, allocations: 0.689 MB / 424.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.5814, allocations: 4 kB / 425 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.5815, allocations: 22.67 kB / 425 MB, free: 11.29 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5815, allocations: 0 / 425 MB, free: 11.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.6079, allocations: 1.217 MB / 426.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/0.6083, allocations: 155.8 kB / 426.3 MB, free: 9.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.989, allocations: 3.938 kB / 426.3 MB, free: 9.918 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat