Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.377e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5402, allocations: 77.74 MB / 420.4 MB, free: 44 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5406, allocations: 80.39 kB / 420.5 MB, free: 0 / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02108/0.5617, allocations: 4.454 MB / 424.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5618, allocations: 4 kB / 424.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.5618, allocations: 0 / 424.9 MB, free: 12.31 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000859/0.5627, allocations: 401.4 kB / 425.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/0.5628, allocations: 12.03 kB / 425.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.532e-05/0.5629, allocations: 50.06 kB / 425.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.563, allocations: 15.81 kB / 425.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.5635, allocations: 210.3 kB / 425.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.5636, allocations: 11.94 kB / 425.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.5636, allocations: 15.94 kB / 425.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.5647, allocations: 247.8 kB / 425.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5647, allocations: 0 / 425.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.5648, allocations: 11.89 kB / 425.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5648, allocations: 0 / 425.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.5651, allocations: 43.3 kB / 425.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009746/0.5661, allocations: 305.1 kB / 426.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.5666, allocations: 126.6 kB / 426.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.5668, allocations: 69.59 kB / 426.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.5669, allocations: 16.22 kB / 426.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.567, allocations: 37.56 kB / 426.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.078e-06/0.567, allocations: 0 / 426.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000612/0.5676, allocations: 120.4 kB / 426.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.5678, allocations: 122.2 kB / 426.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.5681, allocations: 135.8 kB / 426.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.5682, allocations: 29.73 kB / 426.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5683, allocations: 95.62 kB / 427 MB, free: 10.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.5684, allocations: 15.53 kB / 427 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5684, allocations: 3.812 kB / 427 MB, free: 10.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.5687, allocations: 326.5 kB / 427.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.5688, allocations: 20.12 kB / 427.3 MB, free: 9.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.5691, allocations: 126.4 kB / 427.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.5693, allocations: 43.73 kB / 427.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.5694, allocations: 4 kB / 427.5 MB, free: 9.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000711/0.5701, allocations: 152.8 kB / 427.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.5702, allocations: 16.03 kB / 427.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5702, allocations: 4 kB / 427.7 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.5702, allocations: 8 kB / 427.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.5705, allocations: 35.86 kB / 427.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.5706, allocations: 7.938 kB / 427.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.5708, allocations: 11.91 kB / 427.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.5708, allocations: 11.94 kB / 427.7 MB, free: 9.449 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000154/0.571, allocations: 120.1 kB / 427.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.5714, allocations: 118.5 kB / 428 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.5715, allocations: 27.75 kB / 428 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5716, allocations: 0 / 428 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.5716, allocations: 4 kB / 428 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5716, allocations: 0 / 428 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.5721, allocations: 195.4 kB / 428.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5722, allocations: 0 / 428.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.5726, allocations: 27.92 kB / 428.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.5726, allocations: 4 kB / 428.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5726, allocations: 3.562 kB / 428.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.015e-05/0.5727, allocations: 11.95 kB / 428.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5727, allocations: 0 / 428.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.5733, allocations: 258 kB / 428.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.5735, allocations: 110.7 kB / 428.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.5736, allocations: 11.97 kB / 428.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5738, allocations: 11.25 kB / 428.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.5739, allocations: 7.938 kB / 428.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.5739, allocations: 4 kB / 428.6 MB, free: 8.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.5741, allocations: 111.5 kB / 428.7 MB, free: 8.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5741, allocations: 0 / 428.7 MB, free: 8.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006982/0.5749, allocations: 19.5 kB / 428.8 MB, free: 8.414 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 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001353/0.5762, allocations: 1.002 MB / 429.8 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.5767, allocations: 90.62 kB / 429.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5767, allocations: 0 / 429.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.5768, allocations: 3.984 kB / 429.8 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007609/0.5776, allocations: 70.7 kB / 429.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.5788, allocations: 226.8 kB / 430.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.5793, allocations: 0.7247 MB / 430.9 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.5795, allocations: 13.2 kB / 430.9 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.5796, allocations: 40.98 kB / 430.9 MB, free: 6.281 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5797, allocations: 0 / 430.9 MB, free: 6.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.6084, allocations: 2.383 MB / 433.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.6088, allocations: 158 kB / 433.5 MB, free: 3.758 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.098, allocations: 0 / 433.5 MB, free: 3.758 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat