Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.642e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 50.42 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.5957, allocations: 76.24 MB / 418.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5961, allocations: 73.27 kB / 419 MB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002868/0.599, allocations: 0.7829 MB / 419.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.599, allocations: 2.844 kB / 419.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.599, allocations: 4 kB / 419.8 MB, free: 0.7656 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.0004018/0.5995, allocations: 334.4 kB / 420.1 MB, free: 408 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5995, allocations: 8.031 kB / 420.1 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.5996, allocations: 30.56 kB / 420.1 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.5996, allocations: 11.86 kB / 420.1 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5998, allocations: 170.8 kB / 420.3 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.5999, allocations: 0 / 420.3 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.5999, allocations: 11.75 kB / 420.3 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.6002, allocations: 94.52 kB / 420.4 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6002, allocations: 4 kB / 420.4 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6002, allocations: 0 / 420.4 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6003, allocations: 3.953 kB / 420.4 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.6003, allocations: 4 kB / 420.4 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.6005, allocations: 161.8 kB / 420.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6007, allocations: 42.39 kB / 420.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.6007, allocations: 16.7 kB / 420.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.6008, allocations: 3.938 kB / 420.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.6008, allocations: 34.56 kB / 420.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.993e-06/0.6008, allocations: 3.938 kB / 420.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001996/0.601, allocations: 49.61 kB / 420.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.6011, allocations: 55.16 kB / 420.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.6012, allocations: 108.9 kB / 420.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6013, allocations: 29.52 kB / 420.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.6013, allocations: 84.14 kB / 421 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.6013, allocations: 0 / 421 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.6014, allocations: 3.938 kB / 421 MB, free: 15.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6015, allocations: 310.8 kB / 421.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.6015, allocations: 4 kB / 421.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.6016, allocations: 39.23 kB / 421.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.6016, allocations: 11.75 kB / 421.4 MB, free: 15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6016, allocations: 0 / 421.4 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001163/0.6018, allocations: 57.44 kB / 421.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6018, allocations: 8 kB / 421.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6018, allocations: 128 / 421.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6018, allocations: 4 kB / 421.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.6019, allocations: 8 kB / 421.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.602, allocations: 4 kB / 421.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.602, allocations: 3.906 kB / 421.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.602, allocations: 3.953 kB / 421.4 MB, free: 14.91 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 (step.counter,$CLKPRE.step.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.114e-05/0.6021, allocations: 117.4 kB / 421.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.6022, allocations: 49.53 kB / 421.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.6023, allocations: 7.844 kB / 421.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6023, allocations: 8 kB / 421.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6023, allocations: 3.984 kB / 421.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6023, allocations: 0 / 421.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.6025, allocations: 157.6 kB / 421.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6025, allocations: 0 / 421.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.6026, allocations: 11.98 kB / 421.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6026, allocations: 3.938 kB / 421.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6026, allocations: 0 / 421.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.6026, allocations: 0 / 421.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6027, allocations: 0 / 421.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.6028, allocations: 88.48 kB / 421.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.6029, allocations: 81.11 kB / 422 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.6029, allocations: 0 / 422 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.603, allocations: 7.984 kB / 422 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-06/0.603, allocations: 0 / 422 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.603, allocations: 384 / 422 MB, free: 14.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.6031, allocations: 87.22 kB / 422.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6031, allocations: 0 / 422.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.6034, allocations: 8 kB / 422.1 MB, free: 14.22 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 (step.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.0005265/0.6039, allocations: 0.6314 MB / 422.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.604, allocations: 23.81 kB / 422.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6041, allocations: 0 / 422.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.6041, allocations: 0 / 422.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.6043, allocations: 19.19 kB / 422.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.6048, allocations: 105 kB / 422.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6051, allocations: 0.6848 MB / 423.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.6051, allocations: 3.984 kB / 423.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.6052, allocations: 19.05 kB / 423.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6052, allocations: 0 / 423.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.628, allocations: 1.118 MB / 424.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/0.6284, allocations: 173.5 kB / 424.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.049, allocations: 11.88 kB / 424.8 MB, free: 11.39 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat