Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.449e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5632, allocations: 81.31 MB / 424 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5635, allocations: 74.45 kB / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02664/0.5902, allocations: 5.924 MB / 430 MB, free: 7.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5902, allocations: 0 / 430 MB, free: 7.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.5903, allocations: 4 kB / 430 MB, free: 7.906 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007643/0.5911, allocations: 482.7 kB / 430.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5911, allocations: 8.031 kB / 430.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.5912, allocations: 34.19 kB / 430.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.5913, allocations: 23.8 kB / 430.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.5918, allocations: 265.8 kB / 430.8 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.5919, allocations: 4 kB / 430.8 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.5919, allocations: 7.312 kB / 430.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.5923, allocations: 144.5 kB / 430.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5923, allocations: 0 / 430.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.5923, allocations: 7.516 kB / 430.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5924, allocations: 0 / 430.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.5925, allocations: 35.11 kB / 430.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.5932, allocations: 364.2 kB / 431.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.5934, allocations: 102.3 kB / 431.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.5935, allocations: 48.22 kB / 431.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.5936, allocations: 7.938 kB / 431.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.5938, allocations: 73.95 kB / 431.5 MB, free: 6.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.026e-06/0.5938, allocations: 0 / 431.5 MB, free: 6.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004006/0.5942, allocations: 107.5 kB / 431.6 MB, free: 6.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5943, allocations: 144.5 kB / 431.8 MB, free: 5.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.5948, allocations: 237 kB / 432 MB, free: 5.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.5948, allocations: 28.77 kB / 432 MB, free: 5.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.5949, allocations: 114.8 kB / 432.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.595, allocations: 15.31 kB / 432.2 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.595, allocations: 3.938 kB / 432.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5951, allocations: 333.1 kB / 432.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.5952, allocations: 19.94 kB / 432.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.5953, allocations: 65 kB / 432.6 MB, free: 5.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.71e-05/0.5954, allocations: 30.97 kB / 432.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5955, allocations: 0 / 432.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002841/0.5957, allocations: 118.2 kB / 432.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5958, allocations: 8 kB / 432.7 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5958, allocations: 0 / 432.7 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5958, allocations: 0 / 432.7 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.596, allocations: 15.98 kB / 432.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.596, allocations: 3.938 kB / 432.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.5962, allocations: 12.06 kB / 432.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.5962, allocations: 8 kB / 432.8 MB, free: 5.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001121/0.5963, allocations: 110.9 kB / 432.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5964, allocations: 77.05 kB / 433 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.5968, allocations: 104.6 kB / 433.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5968, allocations: 0 / 433.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5968, allocations: 4 kB / 433.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.5968, allocations: 0 / 433.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.5971, allocations: 233.8 kB / 433.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5972, allocations: 4 kB / 433.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.5972, allocations: 7.984 kB / 433.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.5973, allocations: 0 / 433.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5973, allocations: 7.953 kB / 433.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.5973, allocations: 3.938 kB / 433.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5973, allocations: 0 / 433.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.5976, allocations: 185.7 kB / 433.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.5978, allocations: 115.7 kB / 433.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.5979, allocations: 3.938 kB / 433.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.598, allocations: 7.984 kB / 433.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.5981, allocations: 7.938 kB / 433.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.5981, allocations: 7.188 kB / 433.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003074/0.5985, allocations: 194.3 kB / 433.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5985, allocations: 0 / 433.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.5989, allocations: 43.73 kB / 433.9 MB, free: 3.984 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001858/0.6007, allocations: 1.155 MB / 435 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.6011, allocations: 69.05 kB / 435.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6011, allocations: 0 / 435.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.6012, allocations: 27.56 kB / 435.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.6017, allocations: 51.17 kB / 435.2 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.6027, allocations: 298.9 kB / 435.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.6031, allocations: 0.7362 MB / 436.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.6033, allocations: 25.31 kB / 436.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6034, allocations: 50.09 kB / 436.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6034, allocations: 3.938 kB / 436.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.6392, allocations: 4.082 MB / 440.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.6396, allocations: 224.9 kB / 440.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.208, allocations: 0 / 440.6 MB, free: 13.48 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat