Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.476/2.476, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.319e-05, allocations: 4 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 50.35 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5647, allocations: 77.75 MB / 412.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.5651, allocations: 77.02 kB / 412.6 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004036/0.5692, allocations: 1.06 MB / 413.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5692, allocations: 0 / 413.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5692, allocations: 4 kB / 413.7 MB, free: 15.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004069/0.5696, allocations: 352.2 kB / 414 MB, free: 15.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5697, allocations: 8.031 kB / 414 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.5698, allocations: 34.55 kB / 414.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.5698, allocations: 11.41 kB / 414.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.5701, allocations: 179 kB / 414.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5701, allocations: 7.891 kB / 414.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.5701, allocations: 11.19 kB / 414.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.5704, allocations: 83.62 kB / 414.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5704, allocations: 0 / 414.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.5704, allocations: 0 / 414.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5704, allocations: 3.984 kB / 414.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.5705, allocations: 7.938 kB / 414.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.5709, allocations: 269.6 kB / 414.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.571, allocations: 40.72 kB / 414.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.571, allocations: 13.78 kB / 414.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.5711, allocations: 0 / 414.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5711, allocations: 34.56 kB / 414.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.5711, allocations: 0 / 414.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.5713, allocations: 53.28 kB / 414.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.5714, allocations: 77.11 kB / 414.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.5715, allocations: 124 kB / 415 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5716, allocations: 25.7 kB / 415 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5716, allocations: 88.08 kB / 415.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.5717, allocations: 4.047 kB / 415.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.5717, allocations: 4 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5718, allocations: 314.8 kB / 415.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.5718, allocations: 7.875 kB / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.5719, allocations: 13.66 kB / 415.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.5719, allocations: 4 kB / 415.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5719, allocations: 0 / 415.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.266e-05/0.572, allocations: 53.28 kB / 415.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5721, allocations: 8 kB / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5721, allocations: 0 / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5721, allocations: 0 / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.5722, allocations: 7.938 kB / 415.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5722, allocations: 4 kB / 415.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.5723, allocations: 0 / 415.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5723, allocations: 4 kB / 415.5 MB, free: 13.51 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: 2 (sample.u,sample.y) * 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 8.549e-05/0.5724, allocations: 117.9 kB / 415.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.5725, allocations: 41.14 kB / 415.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.5725, allocations: 3.656 kB / 415.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5726, allocations: 4 kB / 415.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5726, allocations: 0 / 415.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5726, allocations: 0 / 415.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.5728, allocations: 172 kB / 415.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5728, allocations: 0 / 415.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.5729, allocations: 8 kB / 415.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5729, allocations: 4.031 kB / 415.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.5729, allocations: 0 / 415.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.5729, allocations: 3.984 kB / 415.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.573, allocations: 0 / 415.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.5731, allocations: 153.8 kB / 416 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.5732, allocations: 96.88 kB / 416.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5732, allocations: 4.031 kB / 416.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.5733, allocations: 11.98 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.5734, allocations: 3.938 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.5734, allocations: 0 / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.599e-05/0.5735, allocations: 102 kB / 416.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5735, allocations: 0 / 416.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.5738, allocations: 4 kB / 416.2 MB, free: 12.72 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: 2 (sample.u,sample.y) * 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.0005365/0.5744, allocations: 0.7598 MB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.225e-05/0.5745, allocations: 15.69 kB / 417 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5745, allocations: 0 / 417 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.5745, allocations: 3.938 kB / 417 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.5749, allocations: 15.62 kB / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.5754, allocations: 127.2 kB / 417.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5757, allocations: 0.6885 MB / 417.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.5757, allocations: 7.984 kB / 417.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.5758, allocations: 7.438 kB / 417.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5758, allocations: 0 / 417.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.5954, allocations: 1.13 MB / 419 MB, free: 9.961 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/0.5958, allocations: 186 kB / 419.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.013, allocations: 3.938 kB / 419.1 MB, free: 9.727 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat