Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.289/2.289, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.895e-05, allocations: 0 / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 50.41 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.6128, allocations: 81.95 MB / 424.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.6131, allocations: 77.52 kB / 424.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04037/0.6535, allocations: 9.039 MB / 433.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6536, allocations: 0 / 433.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.6536, allocations: 8 kB / 433.7 MB, free: 4.355 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009016/0.6545, allocations: 0.5283 MB / 434.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6546, allocations: 19.97 kB / 434.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.251e-05/0.6547, allocations: 49.48 kB / 434.3 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.6548, allocations: 27.62 kB / 434.3 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.6555, allocations: 306.5 kB / 434.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.6555, allocations: 7.562 kB / 434.6 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.6555, allocations: 13.38 kB / 434.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.6563, allocations: 315.4 kB / 435 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6563, allocations: 3.953 kB / 435 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.6564, allocations: 15.17 kB / 435 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6564, allocations: 0 / 435 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.6566, allocations: 63.61 kB / 435 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.6574, allocations: 426.7 kB / 435.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.6579, allocations: 189.7 kB / 435.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.6581, allocations: 87.44 kB / 435.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.6582, allocations: 8.203 kB / 435.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.6584, allocations: 82.58 kB / 435.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.564e-06/0.6584, allocations: 0 / 435.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005616/0.659, allocations: 189.1 kB / 436 MB, free: 2.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.6591, allocations: 169.1 kB / 436.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.6597, allocations: 311 kB / 436.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.6597, allocations: 37.02 kB / 436.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6599, allocations: 125.9 kB / 436.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.6599, allocations: 41.77 kB / 436.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.66, allocations: 3.875 kB / 436.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6601, allocations: 341.6 kB / 437 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.6602, allocations: 36.53 kB / 437.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.6605, allocations: 187.7 kB / 437.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.6607, allocations: 72.78 kB / 437.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6607, allocations: 0 / 437.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005305/0.6613, allocations: 224.1 kB / 437.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6613, allocations: 4 kB / 437.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6613, allocations: 4 kB / 437.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.6613, allocations: 12.08 kB / 437.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.6617, allocations: 43.17 kB / 437.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.6617, allocations: 11.94 kB / 437.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.6619, allocations: 14.41 kB / 437.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.662, allocations: 19.98 kB / 437.6 MB, free: 0.5977 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.6621, allocations: 134.2 kB / 437.8 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.6625, allocations: 144 kB / 437.9 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.6628, allocations: 127 kB / 438 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6628, allocations: 4 kB / 438 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6629, allocations: 0 / 438 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6629, allocations: 4 kB / 438 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.6632, allocations: 276 kB / 438.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6632, allocations: 0 / 438.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.6635, allocations: 31.92 kB / 438.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.6635, allocations: 7.953 kB / 438.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.6636, allocations: 11.42 kB / 438.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6636, allocations: 0 / 438.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6636, allocations: 0 / 438.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.6641, allocations: 280.4 kB / 438.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.6643, allocations: 125.7 kB / 438.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.6644, allocations: 7.688 kB / 438.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.6646, allocations: 15.23 kB / 438.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.6647, allocations: 11.42 kB / 438.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.6647, allocations: 8 kB / 438.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003861/0.6651, allocations: 246.8 kB / 439 MB, free: 15.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6651, allocations: 0 / 439 MB, free: 15.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005113/0.6656, allocations: 66.19 kB / 439.1 MB, free: 15.22 MB / 362.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: 20 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002253/0.6679, allocations: 1.35 MB / 440.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.6684, allocations: 160.4 kB / 440.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6684, allocations: 4.062 kB / 440.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.6685, allocations: 29.73 kB / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.6692, allocations: 109 kB / 440.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6706, allocations: 441.7 kB / 441.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.671, allocations: 0.7796 MB / 442 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.6712, allocations: 42.56 kB / 442 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.6714, allocations: 78.53 kB / 442.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6714, allocations: 4 kB / 442.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.7055, allocations: 5.754 MB / 447.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/0.7058, allocations: 219.3 kB / 448 MB, free: 6.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.37, allocations: 0 / 448 MB, free: 6.609 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat does not exist to compare? outputFormat=mat