Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.118e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 50.41 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5334, allocations: 77.22 MB / 419.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5338, allocations: 78.14 kB / 420 MB, free: 0.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005952/0.5397, allocations: 1.471 MB / 421.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5398, allocations: 0 / 421.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5398, allocations: 7.938 kB / 421.4 MB, free: 15.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000447/0.5403, allocations: 362.2 kB / 421.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5403, allocations: 12.03 kB / 421.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.5404, allocations: 34.52 kB / 421.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.5404, allocations: 7.906 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.5407, allocations: 190.7 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5407, allocations: 0 / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.5407, allocations: 7.812 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.541, allocations: 112.5 kB / 422.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.541, allocations: 0 / 422.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.541, allocations: 0 / 422.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5411, allocations: 3.953 kB / 422.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.5411, allocations: 11.88 kB / 422.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.5416, allocations: 269.1 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.5418, allocations: 134.1 kB / 422.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.5419, allocations: 22.69 kB / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.5419, allocations: 0 / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.542, allocations: 38.45 kB / 422.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.542, allocations: 4 kB / 422.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000191/0.5422, allocations: 61.56 kB / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.5423, allocations: 85.03 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5424, allocations: 118.3 kB / 422.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5424, allocations: 33.33 kB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.5425, allocations: 87.98 kB / 423 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.5425, allocations: 0 / 423 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.5425, allocations: 0 / 423 MB, free: 13.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5427, allocations: 330.7 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.5427, allocations: 4 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.5427, allocations: 27.31 kB / 423.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.5428, allocations: 4 kB / 423.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5428, allocations: 4 kB / 423.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.543, allocations: 61.47 kB / 423.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.543, allocations: 6.656 kB / 423.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.543, allocations: 3.984 kB / 423.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.543, allocations: 8.094 kB / 423.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5431, allocations: 11.94 kB / 423.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.5432, allocations: 0 / 423.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.5432, allocations: 15.98 kB / 423.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.5433, allocations: 11.98 kB / 423.5 MB, free: 13.02 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.113e-05/0.5433, allocations: 101 kB / 423.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.5435, allocations: 49.23 kB / 423.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.5435, allocations: 15.95 kB / 423.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.5435, allocations: 3.953 kB / 423.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5435, allocations: 0 / 423.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5435, allocations: 0 / 423.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.5438, allocations: 169.3 kB / 423.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5438, allocations: 4 kB / 423.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.5439, allocations: 15.98 kB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5439, allocations: 3.938 kB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5439, allocations: 0 / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5439, allocations: 4 kB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5439, allocations: 3.953 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.5441, allocations: 165.3 kB / 424 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.5442, allocations: 97 kB / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.5443, allocations: 0 / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5444, allocations: 11.94 kB / 424.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.5444, allocations: 3.75 kB / 424.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5444, allocations: 0 / 424.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.5445, allocations: 107.1 kB / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5446, allocations: 0 / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000308/0.5449, allocations: 4 kB / 424.2 MB, free: 12.21 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.0005425/0.5454, allocations: 0.7762 MB / 425 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5456, allocations: 23.61 kB / 425 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5456, allocations: 256 / 425 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.5456, allocations: 8 kB / 425 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.5459, allocations: 27.72 kB / 425.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.5465, allocations: 130.7 kB / 425.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5468, allocations: 0.6965 MB / 425.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.5468, allocations: 4.5 kB / 425.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.5469, allocations: 11.92 kB / 425.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5469, allocations: 4.062 kB / 425.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.5713, allocations: 1.293 MB / 427.2 MB, free: 9.25 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/0.5717, allocations: 162.7 kB / 427.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/3.43, allocations: 0 / 427.3 MB, free: 9.027 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat