Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.984e-05, allocations: 6.812 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.5962, allocations: 81.47 MB / 424.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.5966, allocations: 80.14 kB / 424.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04081/0.6374, allocations: 6.045 MB / 430.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6375, allocations: 0 / 430.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.6375, allocations: 8 kB / 430.2 MB, free: 7.652 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.0009841/0.6385, allocations: 494.6 kB / 430.7 MB, free: 7.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.6386, allocations: 8.031 kB / 430.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.6387, allocations: 41.77 kB / 430.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.6388, allocations: 19.72 kB / 430.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.6395, allocations: 266 kB / 431.1 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.6396, allocations: 4 kB / 431.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.6396, allocations: 11.31 kB / 431.1 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.6402, allocations: 161.5 kB / 431.2 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6402, allocations: 4 kB / 431.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6403, allocations: 7.438 kB / 431.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.6403, allocations: 3.953 kB / 431.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.6405, allocations: 37.61 kB / 431.3 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.6413, allocations: 385.5 kB / 431.7 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.6417, allocations: 126.7 kB / 431.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.6419, allocations: 57.48 kB / 431.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.6419, allocations: 3.953 kB / 431.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.6422, allocations: 79.64 kB / 431.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 4.107e-06/0.6422, allocations: 0 / 431.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005097/0.6427, allocations: 118.4 kB / 432 MB, free: 5.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.6429, allocations: 162.2 kB / 432.2 MB, free: 5.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.6434, allocations: 248.4 kB / 432.4 MB, free: 5.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.6435, allocations: 32.95 kB / 432.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.6436, allocations: 120.1 kB / 432.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.6437, allocations: 19.19 kB / 432.6 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.6437, allocations: 3.25 kB / 432.6 MB, free: 5.246 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6439, allocations: 330.6 kB / 432.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.644, allocations: 19.31 kB / 433 MB, free: 4.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.6442, allocations: 82.53 kB / 433 MB, free: 4.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.6443, allocations: 31.73 kB / 433.1 MB, free: 4.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6444, allocations: 0 / 433.1 MB, free: 4.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004062/0.6448, allocations: 126.8 kB / 433.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.6448, allocations: 11.95 kB / 433.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6448, allocations: 0 / 433.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.6449, allocations: 4 kB / 433.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.6451, allocations: 11.98 kB / 433.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.6451, allocations: 7.938 kB / 433.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.6453, allocations: 4 kB / 433.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6453, allocations: 11.94 kB / 433.2 MB, free: 4.633 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.0001447/0.6455, allocations: 118 kB / 433.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.6457, allocations: 71.91 kB / 433.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.6461, allocations: 116.6 kB / 433.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.6462, allocations: 0 / 433.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6462, allocations: 4 kB / 433.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6462, allocations: 0 / 433.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.6466, allocations: 240.9 kB / 433.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6466, allocations: 8.031 kB / 433.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.6467, allocations: 11.94 kB / 433.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.6467, allocations: 0 / 433.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.6468, allocations: 7.438 kB / 433.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.6468, allocations: 7.938 kB / 433.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.6468, allocations: 4 kB / 433.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.6473, allocations: 208.6 kB / 434 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.6475, allocations: 115.5 kB / 434.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.6476, allocations: 7.562 kB / 434.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.6478, allocations: 7.984 kB / 434.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.6479, allocations: 4 kB / 434.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6479, allocations: 11.36 kB / 434.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004159/0.6484, allocations: 194.8 kB / 434.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6484, allocations: 0 / 434.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006363/0.649, allocations: 47.28 kB / 434.4 MB, free: 3.484 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.002727/0.6518, allocations: 1.257 MB / 435.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.6523, allocations: 79.11 kB / 435.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6523, allocations: 0 / 435.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.6524, allocations: 26.88 kB / 435.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.6532, allocations: 65.95 kB / 435.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.6546, allocations: 322.2 kB / 436.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.6551, allocations: 0.74 MB / 436.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.6553, allocations: 21.55 kB / 436.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.6555, allocations: 60.78 kB / 437 MB, free: 1.059 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6555, allocations: 0 / 437 MB, free: 1.059 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.7126, allocations: 4.37 MB / 441.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.713, allocations: 209.3 kB / 441.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.252, allocations: 0 / 441.5 MB, free: 12.57 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat does not exist to compare? outputFormat=mat