Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.683e-05/4.735e-05, allocations: 3.984 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 50.41 MB / 342.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.6097, allocations: 81.52 MB / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.61, allocations: 81.45 kB / 424.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02663/0.6367, allocations: 6.196 MB / 430.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6367, allocations: 0 / 430.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.6368, allocations: 4 kB / 430.4 MB, free: 7.105 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007877/0.6376, allocations: 0.4969 MB / 430.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6376, allocations: 8.031 kB / 430.9 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.6377, allocations: 41.12 kB / 431 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.6378, allocations: 23.72 kB / 431 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.6384, allocations: 291.2 kB / 431.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.6385, allocations: 15.11 kB / 431.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.6385, allocations: 7.375 kB / 431.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.6389, allocations: 167.7 kB / 431.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.639, allocations: 0 / 431.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.639, allocations: 7.953 kB / 431.5 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.639, allocations: 0 / 431.5 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.6392, allocations: 46.55 kB / 431.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.6399, allocations: 413 kB / 431.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.6402, allocations: 139.1 kB / 432.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.6404, allocations: 58.31 kB / 432.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.6404, allocations: 4 kB / 432.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.6406, allocations: 80.64 kB / 432.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.395e-06/0.6407, allocations: 3.938 kB / 432.2 MB, free: 5.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004141/0.6411, allocations: 134.9 kB / 432.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6412, allocations: 191.6 kB / 432.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.6418, allocations: 299.8 kB / 432.8 MB, free: 4.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.6418, allocations: 33.08 kB / 432.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.6419, allocations: 131.3 kB / 433 MB, free: 4.535 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.642, allocations: 15 kB / 433 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.642, allocations: 11.44 kB / 433 MB, free: 4.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.6422, allocations: 333.1 kB / 433.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.6423, allocations: 25.38 kB / 433.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.6425, allocations: 110.9 kB / 433.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6426, allocations: 33.61 kB / 433.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6426, allocations: 0 / 433.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003272/0.6429, allocations: 129.4 kB / 433.6 MB, free: 3.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.643, allocations: 11.98 kB / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.643, allocations: 0 / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.643, allocations: 4 kB / 433.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.6433, allocations: 23.62 kB / 433.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.6433, allocations: 12.17 kB / 433.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.6434, allocations: 7.906 kB / 433.7 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.6435, allocations: 4 kB / 433.7 MB, free: 3.852 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001234/0.6436, allocations: 116.3 kB / 433.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.6438, allocations: 80.8 kB / 433.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.6441, allocations: 131.3 kB / 434 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6442, allocations: 4.094 kB / 434 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6442, allocations: 0 / 434 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6442, allocations: 4 kB / 434 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.6446, allocations: 248.4 kB / 434.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6446, allocations: 0 / 434.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.6447, allocations: 12 kB / 434.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.6448, allocations: 7.984 kB / 434.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.6448, allocations: 11.33 kB / 434.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6448, allocations: 8 kB / 434.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6448, allocations: 0 / 434.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.6452, allocations: 218.6 kB / 434.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.6454, allocations: 127.4 kB / 434.6 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.6455, allocations: 0 / 434.6 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.6457, allocations: 15.17 kB / 434.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.6457, allocations: 7.984 kB / 434.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.6458, allocations: 4 kB / 434.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003901/0.6462, allocations: 244.3 kB / 434.9 MB, free: 2.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.965e-06/0.6462, allocations: 0 / 434.9 MB, free: 2.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.6466, allocations: 66.77 kB / 435 MB, free: 2.605 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.00204/0.6487, allocations: 1.286 MB / 436.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.6491, allocations: 92.16 kB / 436.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6491, allocations: 0 / 436.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.6492, allocations: 32.05 kB / 436.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.6498, allocations: 73.2 kB / 436.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.651, allocations: 373.9 kB / 436.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.6515, allocations: 0.7589 MB / 437.6 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.6517, allocations: 25.53 kB / 437.6 MB, free: 104 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.6518, allocations: 64.67 kB / 437.7 MB, free: 76 kB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6518, allocations: 0 / 437.7 MB, free: 76 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.689, allocations: 5.019 MB / 442.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003624/0.6894, allocations: 211.7 kB / 442.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.399, allocations: 7.875 kB / 442.9 MB, free: 10.92 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat does not exist to compare? outputFormat=mat