Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.319/2.319, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.355e-05, allocations: 10.19 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 50.35 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5639, allocations: 77.81 MB / 412.6 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.5643, allocations: 78.27 kB / 412.7 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005156/0.5695, allocations: 1.282 MB / 414 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5695, allocations: 0 / 414 MB, free: 15.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5695, allocations: 3.938 kB / 414 MB, free: 15.29 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.0005028/0.5701, allocations: 374.8 kB / 414.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.5701, allocations: 12.03 kB / 414.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.5702, allocations: 30.56 kB / 414.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.5702, allocations: 11.81 kB / 414.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.5705, allocations: 194.7 kB / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5705, allocations: 3.812 kB / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5706, allocations: 4 kB / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.5709, allocations: 117.3 kB / 414.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5709, allocations: 0 / 414.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5709, allocations: 0 / 414.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.571, allocations: 0 / 414.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.571, allocations: 19.8 kB / 414.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.5716, allocations: 376 kB / 415.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5718, allocations: 63.16 kB / 415.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.5718, allocations: 31.02 kB / 415.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.5719, allocations: 4 kB / 415.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.572, allocations: 33.69 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.572, allocations: 0 / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.5722, allocations: 67.39 kB / 415.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.5723, allocations: 110.9 kB / 415.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5725, allocations: 133.6 kB / 415.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5725, allocations: 29.08 kB / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.5726, allocations: 95.53 kB / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.5727, allocations: 11.23 kB / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.5727, allocations: 0 / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5728, allocations: 317.8 kB / 416 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.5729, allocations: 7.984 kB / 416 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.817e-05/0.5729, allocations: 34.38 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.573, allocations: 10.44 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.573, allocations: 0 / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001397/0.5731, allocations: 63.94 kB / 416.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5732, allocations: 12.02 kB / 416.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5732, allocations: 4 kB / 416.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5732, allocations: 0 / 416.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.5734, allocations: 12 kB / 416.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.5734, allocations: 0 / 416.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.5735, allocations: 7.984 kB / 416.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.5735, allocations: 11.89 kB / 416.1 MB, free: 12.94 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 (sample.u[1],sample.u[2],sample.y[2],sample.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 0.0001074/0.5737, allocations: 119.3 kB / 416.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5738, allocations: 48.53 kB / 416.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.5739, allocations: 15.16 kB / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5739, allocations: 0 / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5739, allocations: 0 / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5739, allocations: 8.078 kB / 416.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.5742, allocations: 178.8 kB / 416.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5743, allocations: 0 / 416.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.5744, allocations: 15.98 kB / 416.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5744, allocations: 4.031 kB / 416.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5744, allocations: 3.438 kB / 416.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.5744, allocations: 4 kB / 416.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5745, allocations: 3.938 kB / 416.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.5747, allocations: 264.9 kB / 416.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.5748, allocations: 96.38 kB / 416.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.5749, allocations: 3.984 kB / 416.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.575, allocations: 8 kB / 416.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.5751, allocations: 3.953 kB / 416.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.5751, allocations: 0 / 416.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.5752, allocations: 113 kB / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5753, allocations: 0 / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00038/0.5757, allocations: 15.62 kB / 417 MB, free: 11.99 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 (sample.u[1],sample.u[2],sample.y[1],sample.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.000685/0.5763, allocations: 0.9386 MB / 417.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.5765, allocations: 26.8 kB / 418 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.5766, allocations: 0 / 418 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.5766, allocations: 11.44 kB / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.5771, allocations: 23.31 kB / 418 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.5777, allocations: 151.3 kB / 418.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.5781, allocations: 0.7037 MB / 418.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.5782, allocations: 8.172 kB / 418.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.5783, allocations: 19.12 kB / 418.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5783, allocations: 0 / 418.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.6022, allocations: 1.443 MB / 420.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.6026, allocations: 191.8 kB / 420.5 MB, free: 8.457 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.035, allocations: 4 kB / 420.5 MB, free: 8.453 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat