Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.228e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 50.41 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4211/0.5463, allocations: 76.68 MB / 419.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5466, allocations: 76.33 kB / 419.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005171/0.5518, allocations: 1.264 MB / 420.7 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.679e-06/0.5519, allocations: 0 / 420.7 MB, free: 376 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.5519, allocations: 7.875 kB / 420.7 MB, free: 368 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004343/0.5524, allocations: 350.9 kB / 421 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5524, allocations: 12.03 kB / 421 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.5525, allocations: 34.5 kB / 421.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.5526, allocations: 15.86 kB / 421.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.5528, allocations: 190.8 kB / 421.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5529, allocations: 0.875 kB / 421.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.5529, allocations: 7.812 kB / 421.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.5532, allocations: 117.8 kB / 421.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5533, allocations: 3.984 kB / 421.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5533, allocations: 7.953 kB / 421.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5533, allocations: 0 / 421.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.762e-05/0.5534, allocations: 15.56 kB / 421.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.5536, allocations: 177.2 kB / 421.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.5538, allocations: 62.22 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.5539, allocations: 44.3 kB / 421.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5539, allocations: 3.984 kB / 421.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5539, allocations: 34.56 kB / 421.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/0.554, allocations: 0 / 421.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002369/0.5542, allocations: 77.83 kB / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.5543, allocations: 59.3 kB / 421.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.5545, allocations: 120.8 kB / 422 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.5545, allocations: 25.7 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.5546, allocations: 88.06 kB / 422.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.5546, allocations: 15.38 kB / 422.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.5546, allocations: 0 / 422.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5548, allocations: 314.8 kB / 422.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.5549, allocations: 11.94 kB / 422.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.5549, allocations: 58.61 kB / 422.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.555, allocations: 12 kB / 422.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.555, allocations: 0 / 422.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001906/0.5552, allocations: 89.05 kB / 422.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5553, allocations: 10.81 kB / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5553, allocations: 0 / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.5553, allocations: 4 kB / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5554, allocations: 19.88 kB / 422.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.5555, allocations: 4.078 kB / 422.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.5555, allocations: 11.94 kB / 422.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.5555, allocations: 7.984 kB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.000103/0.5557, allocations: 114.2 kB / 422.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5558, allocations: 65.05 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.5559, allocations: 16.48 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5559, allocations: 4 kB / 422.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5559, allocations: 0 / 422.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5559, allocations: 0 / 422.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.5561, allocations: 177.3 kB / 423 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.5561, allocations: 0 / 423 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.5562, allocations: 12 kB / 423 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5563, allocations: 0 / 423 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5563, allocations: 0 / 423 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5563, allocations: 4 kB / 423 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5563, allocations: 0 / 423 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.5565, allocations: 112.2 kB / 423.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/0.5566, allocations: 89 kB / 423.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.5566, allocations: 7.5 kB / 423.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.5567, allocations: 3.984 kB / 423.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-06/0.5567, allocations: 0 / 423.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5567, allocations: 4 kB / 423.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.742e-05/0.5568, allocations: 106.9 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.535e-06/0.5568, allocations: 0 / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.5571, allocations: 15.88 kB / 423.4 MB, free: 13.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006499/0.5578, allocations: 0.6581 MB / 424 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.558, allocations: 39.44 kB / 424.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.558, allocations: 4 kB / 424.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.558, allocations: 0 / 424.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.5584, allocations: 37.14 kB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.5589, allocations: 142.2 kB / 424.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5593, allocations: 0.7043 MB / 424.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.906e-05/0.5593, allocations: 4.5 kB / 424.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.5594, allocations: 19 kB / 425 MB, free: 11.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5594, allocations: 0 / 425 MB, free: 11.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.584, allocations: 1.47 MB / 426.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.5844, allocations: 172 kB / 426.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.945, allocations: 0 / 426.6 MB, free: 10.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat