Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.057e-05, allocations: 0 / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.6044, allocations: 76.58 MB / 419.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6048, allocations: 74.95 kB / 419.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005289/0.6101, allocations: 1.325 MB / 421.1 MB, free: 28 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6101, allocations: 3.938 kB / 421.1 MB, free: 24 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.6101, allocations: 8 kB / 421.1 MB, free: 16 kB / 330.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.000541/0.6107, allocations: 358.3 kB / 421.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6108, allocations: 8.031 kB / 421.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.188e-05/0.6108, allocations: 38.44 kB / 421.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.6109, allocations: 11.86 kB / 421.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.6112, allocations: 194.6 kB / 421.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6112, allocations: 0 / 421.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.6112, allocations: 4 kB / 421.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.6115, allocations: 112.8 kB / 421.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6116, allocations: 0 / 421.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.6116, allocations: 11.89 kB / 421.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6116, allocations: 0 / 421.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.015e-05/0.6117, allocations: 23.86 kB / 421.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.6123, allocations: 369.1 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.6124, allocations: 67.36 kB / 422.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.6125, allocations: 35.61 kB / 422.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.6125, allocations: 0 / 422.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.6126, allocations: 42.48 kB / 422.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.6126, allocations: 0 / 422.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002487/0.6129, allocations: 68.91 kB / 422.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.613, allocations: 106.8 kB / 422.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.6131, allocations: 131.2 kB / 422.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6132, allocations: 25.7 kB / 422.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.6132, allocations: 87.83 kB / 422.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.6133, allocations: 11.89 kB / 422.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.6133, allocations: 3.938 kB / 422.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6134, allocations: 318.9 kB / 423.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.6135, allocations: 4 kB / 423.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.6135, allocations: 35.17 kB / 423.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.6136, allocations: 11.88 kB / 423.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6136, allocations: 0 / 423.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.6137, allocations: 73.02 kB / 423.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6138, allocations: 4 kB / 423.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6138, allocations: 0 / 423.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6138, allocations: 4 kB / 423.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.614, allocations: 11.98 kB / 423.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.614, allocations: 4 kB / 423.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.6141, allocations: 4.125 kB / 423.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6141, allocations: 11.94 kB / 423.3 MB, free: 13.68 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.958e-05/0.6142, allocations: 109 kB / 423.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6144, allocations: 53.48 kB / 423.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.6144, allocations: 11.47 kB / 423.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6144, allocations: 3.938 kB / 423.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6144, allocations: 0 / 423.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6144, allocations: 0 / 423.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.6148, allocations: 177.3 kB / 423.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6148, allocations: 4.031 kB / 423.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.615, allocations: 8 kB / 423.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.615, allocations: 7.953 kB / 423.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.615, allocations: 0 / 423.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.615, allocations: 0 / 423.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.615, allocations: 4 kB / 423.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.6153, allocations: 278.4 kB / 423.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.6154, allocations: 100.9 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.6154, allocations: 0 / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.6156, allocations: 7.984 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.6157, allocations: 7.688 kB / 424.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.6157, allocations: 0 / 424.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.6158, allocations: 114.2 kB / 424.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6158, allocations: 0 / 424.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.6162, allocations: 8 kB / 424.2 MB, free: 12.74 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.0006817/0.6169, allocations: 0.9389 MB / 425.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.617, allocations: 27.86 kB / 425.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6171, allocations: 4 kB / 425.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.6171, allocations: 7.688 kB / 425.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.6176, allocations: 39.59 kB / 425.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.6182, allocations: 163.7 kB / 425.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.6186, allocations: 0.6965 MB / 426 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.6187, allocations: 8.172 kB / 426.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.6188, allocations: 15.38 kB / 426.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of SimCode: time 3.877e-06/0.6188, allocations: 0 / 426.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.6463, allocations: 1.439 MB / 427.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003654/0.6467, allocations: 182.5 kB / 427.7 MB, free: 9.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.086, allocations: 4 kB / 427.7 MB, free: 9.215 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat