Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.765e-05/4.793e-05, allocations: 0 / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5691, allocations: 77.2 MB / 419.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5694, allocations: 81.14 kB / 419.9 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006116/0.5755, allocations: 1.512 MB / 421.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5756, allocations: 4 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.5756, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004216/0.576, allocations: 350.4 kB / 421.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5761, allocations: 8.031 kB / 421.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.5762, allocations: 38.44 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.5762, allocations: 11.86 kB / 421.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.5765, allocations: 198.6 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5765, allocations: 4 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5765, allocations: 4 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.5768, allocations: 96.23 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5768, allocations: 4 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5768, allocations: 3.953 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5769, allocations: 0 / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.5769, allocations: 7.938 kB / 422.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.5774, allocations: 273.4 kB / 422.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.5775, allocations: 38.47 kB / 422.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.5775, allocations: 13.59 kB / 422.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.5776, allocations: 12.02 kB / 422.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5776, allocations: 38.44 kB / 422.5 MB, free: 14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.427e-06/0.5776, allocations: 3.984 kB / 422.5 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001909/0.5778, allocations: 49.41 kB / 422.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.5779, allocations: 77.11 kB / 422.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.578, allocations: 131.5 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.5781, allocations: 25.7 kB / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.5781, allocations: 92.06 kB / 422.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.5782, allocations: 3.906 kB / 422.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.5782, allocations: 0 / 422.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5783, allocations: 318.7 kB / 423.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.5783, allocations: 7.938 kB / 423.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.5784, allocations: 17.28 kB / 423.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.5784, allocations: 8.062 kB / 423.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5785, allocations: 3.984 kB / 423.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.5786, allocations: 45.53 kB / 423.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5786, allocations: 4 kB / 423.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5786, allocations: 0 / 423.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5786, allocations: 0 / 423.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.5788, allocations: 15.92 kB / 423.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5788, allocations: 0 / 423.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.5788, allocations: 8.062 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.5789, allocations: 0 / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.9e-05/0.579, allocations: 101 kB / 423.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.5791, allocations: 49.42 kB / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.5791, allocations: 7.656 kB / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5791, allocations: 0 / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5791, allocations: 0 / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5791, allocations: 0 / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.5794, allocations: 173.4 kB / 423.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5794, allocations: 0 / 423.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.5795, allocations: 7.984 kB / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5795, allocations: 4 kB / 423.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5795, allocations: 3.953 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5795, allocations: 4 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5795, allocations: 3.938 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.5797, allocations: 165.8 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.5798, allocations: 96.89 kB / 423.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.5799, allocations: 0 / 423.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.58, allocations: 4 kB / 423.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.58, allocations: 0 / 423.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.58, allocations: 0 / 423.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.5802, allocations: 110.1 kB / 424 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5802, allocations: 3.969 kB / 424 MB, free: 12.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.5805, allocations: 8 kB / 424 MB, free: 12.38 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 (2): * Single equations (assignments): 2 * 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.000492/0.581, allocations: 0.772 MB / 424.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5811, allocations: 12.03 kB / 424.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5812, allocations: 7.938 kB / 424.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.5812, allocations: 3.75 kB / 424.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.5815, allocations: 27.39 kB / 424.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.582, allocations: 123.4 kB / 425 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5824, allocations: 0.6926 MB / 425.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.5824, allocations: 12.48 kB / 425.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.5825, allocations: 11.31 kB / 425.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5825, allocations: 0 / 425.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.6143, allocations: 1.328 MB / 427 MB, free: 9.406 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.6146, allocations: 171.9 kB / 427.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.182, allocations: 0 / 427.2 MB, free: 9.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat