Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.202e-05, allocations: 0 / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5614, allocations: 81.5 MB / 424.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5617, allocations: 86.12 kB / 424.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02727/0.589, allocations: 6.003 MB / 430.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5891, allocations: 0 / 430.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.5891, allocations: 4 kB / 430.2 MB, free: 7.281 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.0007997/0.5899, allocations: 483.3 kB / 430.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.59, allocations: 16.02 kB / 430.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.5901, allocations: 38.08 kB / 430.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.5901, allocations: 19.81 kB / 430.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.5907, allocations: 262.5 kB / 431 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5907, allocations: 4 kB / 431 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.5908, allocations: 7.812 kB / 431 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.5912, allocations: 159.7 kB / 431.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5912, allocations: 0 / 431.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.5913, allocations: 7.312 kB / 431.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5913, allocations: 3.953 kB / 431.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5914, allocations: 38.17 kB / 431.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.5922, allocations: 444 kB / 431.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.5925, allocations: 130.7 kB / 431.8 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.5926, allocations: 56.98 kB / 431.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.5926, allocations: 11.95 kB / 431.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.5929, allocations: 87.67 kB / 432 MB, free: 5.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.604e-06/0.5929, allocations: 0 / 432 MB, free: 5.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004129/0.5933, allocations: 131.1 kB / 432.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.5934, allocations: 162.2 kB / 432.2 MB, free: 5.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.5938, allocations: 240.6 kB / 432.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.5939, allocations: 32.95 kB / 432.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.594, allocations: 123.6 kB / 432.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.5941, allocations: 23.61 kB / 432.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.5941, allocations: 0 / 432.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5942, allocations: 330.1 kB / 433 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.5943, allocations: 20.75 kB / 433 MB, free: 4.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5945, allocations: 80.17 kB / 433.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.5946, allocations: 29.23 kB / 433.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5946, allocations: 0 / 433.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003104/0.5949, allocations: 125 kB / 433.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5949, allocations: 7.953 kB / 433.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.595, allocations: 4 kB / 433.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.595, allocations: 0 / 433.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.5951, allocations: 23.42 kB / 433.3 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.5952, allocations: 0 / 433.3 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5953, allocations: 8 kB / 433.3 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5954, allocations: 4 kB / 433.3 MB, free: 4.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.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.0001147/0.5955, allocations: 127.7 kB / 433.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.5956, allocations: 64.48 kB / 433.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.5959, allocations: 121.4 kB / 433.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.596, allocations: 4 kB / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.596, allocations: 0 / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.596, allocations: 0 / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.5963, allocations: 236.9 kB / 433.8 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5963, allocations: 4 kB / 433.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.5964, allocations: 8.062 kB / 433.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.5964, allocations: 4 kB / 433.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5964, allocations: 0 / 433.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.5964, allocations: 11.94 kB / 433.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5964, allocations: 0 / 433.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.5968, allocations: 208.7 kB / 434.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.597, allocations: 126.4 kB / 434.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.5971, allocations: 4 kB / 434.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5972, allocations: 11.36 kB / 434.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5973, allocations: 4 kB / 434.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.5973, allocations: 7.984 kB / 434.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.5976, allocations: 198.6 kB / 434.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5976, allocations: 0 / 434.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.5981, allocations: 35.5 kB / 434.4 MB, free: 3.051 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,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,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 (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.001924/0.6, allocations: 1.263 MB / 435.7 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.6004, allocations: 80.61 kB / 435.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6004, allocations: 0 / 435.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.6005, allocations: 34.48 kB / 435.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.6011, allocations: 53.2 kB / 435.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.6022, allocations: 327.1 kB / 436.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.603, allocations: 0.7321 MB / 436.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.6035, allocations: 33.45 kB / 436.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.6038, allocations: 51.98 kB / 437 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6038, allocations: 0 / 437 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.6382, allocations: 4.211 MB / 441.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.6386, allocations: 205.4 kB / 441.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.251, allocations: 0 / 441.4 MB, free: 12.28 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat does not exist to compare? outputFormat=mat