Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.656e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.57, allocations: 76.25 MB / 418.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5703, allocations: 76.52 kB / 419 MB, free: 1.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003519/0.5739, allocations: 0.8558 MB / 419.8 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5739, allocations: 0 / 419.8 MB, free: 1.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.574, allocations: 0 / 419.8 MB, free: 1.078 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005421/0.5745, allocations: 341.7 kB / 420.2 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.5746, allocations: 9.031 kB / 420.2 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.5746, allocations: 33.62 kB / 420.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.5747, allocations: 11.86 kB / 420.2 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.5749, allocations: 174.4 kB / 420.4 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.575, allocations: 4 kB / 420.4 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.575, allocations: 0 / 420.4 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.5753, allocations: 111.3 kB / 420.5 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5753, allocations: 0 / 420.5 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5754, allocations: 0 / 420.5 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5754, allocations: 3.953 kB / 420.5 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.5755, allocations: 18.62 kB / 420.5 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.5756, allocations: 164 kB / 420.7 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.5758, allocations: 47.41 kB / 420.7 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.5759, allocations: 18.3 kB / 420.7 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.5759, allocations: 3.938 kB / 420.7 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.576, allocations: 34.56 kB / 420.8 MB, free: 4 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.576, allocations: 4 kB / 420.8 MB, free: 0 / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.5762, allocations: 52.23 kB / 420.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.5763, allocations: 58.72 kB / 420.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.5764, allocations: 104.2 kB / 421 MB, free: 15.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5764, allocations: 25.7 kB / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.5765, allocations: 87.52 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5765, allocations: 4 kB / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.5765, allocations: 0 / 421.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5767, allocations: 322.1 kB / 421.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.5767, allocations: 4 kB / 421.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/0.5767, allocations: 30.69 kB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.5768, allocations: 7.312 kB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.5768, allocations: 4 kB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001191/0.5769, allocations: 60.97 kB / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.577, allocations: 8 kB / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.577, allocations: 0.5469 kB / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.577, allocations: 0 / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.5771, allocations: 8 kB / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5771, allocations: 3.984 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.5772, allocations: 4 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5772, allocations: 3.953 kB / 421.6 MB, free: 15.2 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.189e-05/0.5773, allocations: 120.6 kB / 421.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5774, allocations: 48.5 kB / 421.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.5774, allocations: 8.031 kB / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.5775, allocations: 96 / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5775, allocations: 3.938 kB / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5775, allocations: 3.984 kB / 421.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.5776, allocations: 168.9 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5776, allocations: 0 / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.5778, allocations: 19.97 kB / 421.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5779, allocations: 128 / 421.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5779, allocations: 8 kB / 421.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5779, allocations: 4 kB / 421.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5779, allocations: 0 / 421.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.5781, allocations: 82.95 kB / 422 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.5781, allocations: 77.11 kB / 422.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.5782, allocations: 7.984 kB / 422.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.5783, allocations: 7.984 kB / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-06/0.5783, allocations: 0 / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5783, allocations: 4 kB / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.037e-05/0.5784, allocations: 94.31 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5784, allocations: 0 / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.5787, allocations: 6.875 kB / 422.2 MB, free: 14.48 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: 1 (ramp.counter) * 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.0005988/0.5793, allocations: 0.6359 MB / 422.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.5794, allocations: 30.5 kB / 422.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5795, allocations: 0 / 422.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.5795, allocations: 0 / 422.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.5798, allocations: 30.58 kB / 422.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.5802, allocations: 111.4 kB / 423 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5805, allocations: 0.6848 MB / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.944e-05/0.5806, allocations: 8.234 kB / 423.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.5806, allocations: 14.75 kB / 423.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5807, allocations: 0 / 423.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.6045, allocations: 1.221 MB / 424.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/0.605, allocations: 172.6 kB / 425.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.934, allocations: 4 kB / 425.1 MB, free: 11.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat does not exist to compare? outputFormat=mat