Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.403e-05/5.407e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.42 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.551, allocations: 76.57 MB / 419.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5513, allocations: 74.27 kB / 419.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005254/0.5566, allocations: 1.323 MB / 420.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.127e-06/0.5566, allocations: 0 / 420.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.5567, allocations: 11.94 kB / 420.6 MB, free: 15.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004465/0.5571, allocations: 354.2 kB / 421 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5572, allocations: 8.031 kB / 421 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.5572, allocations: 38.31 kB / 421 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.5573, allocations: 11.86 kB / 421 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.5575, allocations: 202.4 kB / 421.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5576, allocations: 0 / 421.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.5576, allocations: 4 kB / 421.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.5579, allocations: 108.2 kB / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5579, allocations: 0 / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.558, allocations: 15.94 kB / 421.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.558, allocations: 0 / 421.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.5581, allocations: 23.8 kB / 421.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.5586, allocations: 372.6 kB / 421.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.5587, allocations: 63.66 kB / 421.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.5588, allocations: 31.5 kB / 421.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.5589, allocations: 0 / 421.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5589, allocations: 42.5 kB / 421.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.5589, allocations: 0 / 421.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002514/0.5592, allocations: 69.2 kB / 422 MB, free: 14.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.5593, allocations: 110.8 kB / 422.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5594, allocations: 127.4 kB / 422.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5595, allocations: 25.7 kB / 422.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.5595, allocations: 91.72 kB / 422.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.5596, allocations: 11.91 kB / 422.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.5596, allocations: 0 / 422.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5597, allocations: 318.5 kB / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.5597, allocations: 11.92 kB / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.5598, allocations: 27.44 kB / 422.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.5599, allocations: 19.73 kB / 422.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5599, allocations: 0 / 422.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.56, allocations: 61.45 kB / 422.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5601, allocations: 4 kB / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5601, allocations: 0 / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5601, allocations: 4 kB / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.5603, allocations: 15.88 kB / 422.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.5603, allocations: 8 kB / 422.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.5604, allocations: 7.984 kB / 422.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5604, allocations: 4 kB / 422.8 MB, free: 13.63 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 9.202e-05/0.5605, allocations: 105 kB / 422.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5607, allocations: 57.23 kB / 422.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.5607, allocations: 11.59 kB / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5607, allocations: 0 / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5607, allocations: 4.031 kB / 423 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.5608, allocations: 3.984 kB / 423 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.5611, allocations: 173.3 kB / 423.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5611, allocations: 3.938 kB / 423.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.5612, allocations: 15.8 kB / 423.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.5612, allocations: 7.953 kB / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.5612, allocations: 0 / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5613, allocations: 0 / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5613, allocations: 4 kB / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.5615, allocations: 262.4 kB / 423.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.5616, allocations: 96.94 kB / 423.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.5616, allocations: 7.922 kB / 423.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.5618, allocations: 8 kB / 423.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.5619, allocations: 7.938 kB / 423.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5619, allocations: 0 / 423.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.562, allocations: 109.8 kB / 423.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.562, allocations: 0 / 423.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.5624, allocations: 7.938 kB / 423.7 MB, free: 12.7 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0006057/0.563, allocations: 0.9469 MB / 424.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5632, allocations: 23.69 kB / 424.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5632, allocations: 7.688 kB / 424.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.5632, allocations: 8.25 kB / 424.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.5636, allocations: 35.97 kB / 424.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.5642, allocations: 162.8 kB / 424.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.5646, allocations: 0.6964 MB / 425.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.366e-05/0.5647, allocations: 12.16 kB / 425.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.5647, allocations: 19.41 kB / 425.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5647, allocations: 0 / 425.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.5884, allocations: 1.436 MB / 427 MB, free: 9.387 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/0.5887, allocations: 186.1 kB / 427.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.005, allocations: 4.062 kB / 427.2 MB, free: 9.16 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat