Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.681e-05, allocations: 7.797 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 50.4 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.548, allocations: 77.38 MB / 420 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5483, allocations: 80.7 kB / 420.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006462/0.5548, allocations: 1.626 MB / 421.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5548, allocations: 0 / 421.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.5549, allocations: 8 kB / 421.7 MB, free: 15.33 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004239/0.5553, allocations: 356.6 kB / 422.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5553, allocations: 12.02 kB / 422.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.5554, allocations: 41.89 kB / 422.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.5555, allocations: 7.906 kB / 422.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.5557, allocations: 201.9 kB / 422.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5557, allocations: 7.625 kB / 422.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.5558, allocations: 4 kB / 422.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.5562, allocations: 132.8 kB / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5562, allocations: 0 / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.5563, allocations: 4 kB / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5563, allocations: 7.891 kB / 422.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.5564, allocations: 26.55 kB / 422.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5569, allocations: 287.8 kB / 422.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.5571, allocations: 86.53 kB / 422.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.5572, allocations: 38.73 kB / 422.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.5572, allocations: 3.5 kB / 422.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5573, allocations: 46.45 kB / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.5573, allocations: 0 / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002351/0.5575, allocations: 68.34 kB / 423 MB, free: 13.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.274e-05/0.5576, allocations: 136.1 kB / 423.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.5578, allocations: 135.5 kB / 423.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5578, allocations: 29.58 kB / 423.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.5579, allocations: 94.7 kB / 423.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.5579, allocations: 7.891 kB / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5579, allocations: 0 / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5581, allocations: 322.1 kB / 423.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.5581, allocations: 7.375 kB / 423.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.5582, allocations: 48.77 kB / 423.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.5582, allocations: 7.625 kB / 423.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5583, allocations: 0 / 423.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001611/0.5584, allocations: 80.47 kB / 423.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5585, allocations: 4 kB / 423.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.5585, allocations: 4 kB / 423.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5585, allocations: 3.953 kB / 423.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5586, allocations: 15.98 kB / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5587, allocations: 3.984 kB / 423.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.5588, allocations: 4 kB / 423.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5588, allocations: 4.188 kB / 423.9 MB, free: 12.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.477e-05/0.5589, allocations: 124.2 kB / 424.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.559, allocations: 56.92 kB / 424.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.5591, allocations: 18.27 kB / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5591, allocations: 3.953 kB / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5591, allocations: 8.125 kB / 424.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5591, allocations: 0 / 424.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.5594, allocations: 172.6 kB / 424.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5594, allocations: 3.938 kB / 424.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5595, allocations: 22.39 kB / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5595, allocations: 0 / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5596, allocations: 4 kB / 424.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5596, allocations: 0 / 424.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5596, allocations: 3.953 kB / 424.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5598, allocations: 227.3 kB / 424.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.5599, allocations: 99.91 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.56, allocations: 3.984 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5601, allocations: 7.25 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.5602, allocations: 0 / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.5602, allocations: 4 kB / 424.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5603, allocations: 114.7 kB / 424.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5603, allocations: 0 / 424.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.5607, allocations: 11.31 kB / 424.8 MB, free: 12 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006461/0.5613, allocations: 0.9644 MB / 425.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.5615, allocations: 30.62 kB / 425.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5615, allocations: 0 / 425.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.5616, allocations: 11.92 kB / 425.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.562, allocations: 42.72 kB / 425.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.5626, allocations: 170.8 kB / 426 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5629, allocations: 0.7004 MB / 426.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.563, allocations: 4.953 kB / 426.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.5631, allocations: 25.73 kB / 426.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5631, allocations: 0 / 426.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.5845, allocations: 1.705 MB / 428.4 MB, free: 8.367 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000405/0.585, allocations: 174.6 kB / 428.6 MB, free: 8.133 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.903, allocations: 0 / 428.6 MB, free: 8.133 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat