Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 238.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.599e-05, allocations: 4.984 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 50.42 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5285, allocations: 77.25 MB / 419.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5288, allocations: 75.52 kB / 420 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005634/0.5345, allocations: 1.436 MB / 421.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5345, allocations: 4 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.5345, allocations: 0 / 421.4 MB, free: 15.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004981/0.535, allocations: 362.2 kB / 421.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5351, allocations: 8.031 kB / 421.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.5352, allocations: 42.11 kB / 421.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.5352, allocations: 11.86 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.5355, allocations: 190.8 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5355, allocations: 7.75 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5355, allocations: 4 kB / 422 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.5359, allocations: 160.3 kB / 422.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.536, allocations: 4 kB / 422.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.536, allocations: 3.953 kB / 422.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.536, allocations: 0 / 422.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.5361, allocations: 27.69 kB / 422.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.5367, allocations: 369.5 kB / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.537, allocations: 108.5 kB / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.5371, allocations: 58.11 kB / 422.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.5372, allocations: 11.89 kB / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5372, allocations: 30.56 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.315e-06/0.5372, allocations: 0 / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000291/0.5375, allocations: 88.95 kB / 422.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.5376, allocations: 114.8 kB / 423 MB, free: 13.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.5378, allocations: 128 kB / 423.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5378, allocations: 25.7 kB / 423.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.5379, allocations: 88.02 kB / 423.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.5379, allocations: 11.66 kB / 423.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.5379, allocations: 4 kB / 423.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5381, allocations: 322.6 kB / 423.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.5381, allocations: 15.88 kB / 423.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.5382, allocations: 59.61 kB / 423.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.5383, allocations: 23.73 kB / 423.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5383, allocations: 0 / 423.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.5385, allocations: 89.39 kB / 423.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.5386, allocations: 18.77 kB / 423.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5386, allocations: 0 / 423.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5386, allocations: 4 kB / 423.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.5388, allocations: 19.56 kB / 423.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.5388, allocations: 7.984 kB / 423.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.5389, allocations: 7.906 kB / 423.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5389, allocations: 4 kB / 423.8 MB, free: 12.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.823e-05/0.539, allocations: 113.5 kB / 423.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.5393, allocations: 81.17 kB / 424 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.5393, allocations: 15.7 kB / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5393, allocations: 0 / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5394, allocations: 0 / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.5394, allocations: 7.969 kB / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.5397, allocations: 185.2 kB / 424.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5397, allocations: 4 kB / 424.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.5399, allocations: 19.94 kB / 424.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5399, allocations: 0 / 424.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5399, allocations: 11.61 kB / 424.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.54, allocations: 7.953 kB / 424.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.54, allocations: 192 / 424.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.5404, allocations: 326.4 kB / 424.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.5405, allocations: 100.8 kB / 424.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.5406, allocations: 3.75 kB / 424.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.5407, allocations: 7.984 kB / 424.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.5408, allocations: 3.953 kB / 424.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5408, allocations: 4 kB / 424.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.5409, allocations: 106.8 kB / 424.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5409, allocations: 0 / 424.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.5413, allocations: 8 kB / 424.8 MB, free: 11.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0007971/0.5422, allocations: 1.005 MB / 425.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5424, allocations: 47.75 kB / 425.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5424, allocations: 0 / 425.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.5424, allocations: 7.938 kB / 425.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.5428, allocations: 43.92 kB / 425.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.5435, allocations: 164.8 kB / 426 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5439, allocations: 0.712 MB / 426.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.544, allocations: 8.656 kB / 426.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.544, allocations: 18.88 kB / 426.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.544, allocations: 0 / 426.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.5693, allocations: 1.574 MB / 428.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003637/0.5698, allocations: 170.8 kB / 428.5 MB, free: 7.898 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.077, allocations: 0 / 428.5 MB, free: 7.898 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat