Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.395e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.41 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5413, allocations: 77.21 MB / 419.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5416, allocations: 77.39 kB / 419.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005916/0.5476, allocations: 1.509 MB / 421.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-05/0.5476, allocations: 0 / 421.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.5476, allocations: 4 kB / 421.5 MB, free: 15.61 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.0004298/0.5481, allocations: 357.6 kB / 421.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5481, allocations: 12.03 kB / 421.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.5482, allocations: 34.52 kB / 421.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.5482, allocations: 7.906 kB / 421.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.5485, allocations: 198.8 kB / 422.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5485, allocations: 0 / 422.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5485, allocations: 7.562 kB / 422.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5488, allocations: 108.4 kB / 422.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5489, allocations: 3.953 kB / 422.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5489, allocations: 0 / 422.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5489, allocations: 0 / 422.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.549, allocations: 11.94 kB / 422.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.5494, allocations: 281.8 kB / 422.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.5495, allocations: 59.58 kB / 422.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.5496, allocations: 38.34 kB / 422.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.5496, allocations: 0 / 422.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5496, allocations: 34.56 kB / 422.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.5497, allocations: 0 / 422.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002075/0.5499, allocations: 61.34 kB / 422.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.55, allocations: 110.9 kB / 422.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.5501, allocations: 130.1 kB / 422.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5501, allocations: 25.7 kB / 422.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.5502, allocations: 95.23 kB / 423 MB, free: 13.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.5502, allocations: 0 / 423 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.5502, allocations: 3.938 kB / 423 MB, free: 13.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5504, allocations: 318.7 kB / 423.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.5504, allocations: 8 kB / 423.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.5504, allocations: 30.69 kB / 423.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.5505, allocations: 8 kB / 423.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5505, allocations: 0 / 423.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.5506, allocations: 68.61 kB / 423.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5507, allocations: 8 kB / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5507, allocations: 0 / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5507, allocations: 7.922 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5508, allocations: 8 kB / 423.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5509, allocations: 4 kB / 423.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.5509, allocations: 7.938 kB / 423.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.551, allocations: 0 / 423.5 MB, free: 13.41 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.625e-05/0.551, allocations: 117 kB / 423.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5512, allocations: 49.38 kB / 423.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.5512, allocations: 15.2 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5512, allocations: 0 / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5512, allocations: 0 / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5513, allocations: 4.094 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.5515, allocations: 168.5 kB / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.5515, allocations: 11.98 kB / 423.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.5516, allocations: 11.98 kB / 423.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5516, allocations: 8.016 kB / 423.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.5517, allocations: 0 / 423.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5517, allocations: 7.938 kB / 423.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5517, allocations: 0 / 423.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.5519, allocations: 190.1 kB / 424 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.552, allocations: 92.44 kB / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.552, allocations: 0 / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5521, allocations: 7.984 kB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.5522, allocations: 0 / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.5522, allocations: 4 kB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.5523, allocations: 112.7 kB / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5523, allocations: 0 / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.5527, allocations: 4 kB / 424.2 MB, free: 12.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000573/0.5532, allocations: 0.8766 MB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.5534, allocations: 27.88 kB / 425.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5534, allocations: 0 / 425.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.5534, allocations: 0 / 425.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.5538, allocations: 34.72 kB / 425.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.5543, allocations: 142.2 kB / 425.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.5546, allocations: 0.7009 MB / 426 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.133e-05/0.5547, allocations: 8.172 kB / 426 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.5548, allocations: 14.5 kB / 426 MB, free: 10.69 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5548, allocations: 3.938 kB / 426.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.5769, allocations: 1.442 MB / 427.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.5772, allocations: 164 kB / 427.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.892, allocations: 4 kB / 427.7 MB, free: 9.094 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat