Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.087e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.128, allocations: 50.42 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5523/0.6804, allocations: 81.34 MB / 424 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6807, allocations: 85.56 kB / 424.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0293/0.7101, allocations: 6.499 MB / 430.6 MB, free: 7.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7101, allocations: 0 / 430.6 MB, free: 7.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.7101, allocations: 4 kB / 430.6 MB, free: 7.043 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.0007943/0.711, allocations: 482.8 kB / 431.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.711, allocations: 12.03 kB / 431.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.7111, allocations: 37.61 kB / 431.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.7112, allocations: 23.38 kB / 431.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.7117, allocations: 261.3 kB / 431.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.7118, allocations: 7.312 kB / 431.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.7118, allocations: 4 kB / 431.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.7122, allocations: 143.4 kB / 431.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7122, allocations: 0 / 431.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.7122, allocations: 10.83 kB / 431.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7123, allocations: 0 / 431.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.7124, allocations: 38.23 kB / 431.6 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.7131, allocations: 362 kB / 431.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.7133, allocations: 100.8 kB / 432 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.7135, allocations: 53.58 kB / 432.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.7135, allocations: 11.44 kB / 432.1 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.7137, allocations: 73.64 kB / 432.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.454e-06/0.7137, allocations: 0 / 432.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003682/0.7141, allocations: 109 kB / 432.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.7142, allocations: 136 kB / 432.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.7146, allocations: 241.6 kB / 432.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.7147, allocations: 29.08 kB / 432.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.7148, allocations: 112.7 kB / 432.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.7148, allocations: 19.23 kB / 432.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.7149, allocations: 3.5 kB / 432.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.715, allocations: 329.1 kB / 433.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.7151, allocations: 22.12 kB / 433.1 MB, free: 4.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.7153, allocations: 68.36 kB / 433.2 MB, free: 4.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.7153, allocations: 26.05 kB / 433.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7154, allocations: 8.031 kB / 433.2 MB, free: 4.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002592/0.7156, allocations: 105.6 kB / 433.3 MB, free: 4.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7157, allocations: 7.984 kB / 433.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7157, allocations: 4 kB / 433.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7157, allocations: 3.984 kB / 433.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7159, allocations: 15.94 kB / 433.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7159, allocations: 0 / 433.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.716, allocations: 10.98 kB / 433.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.716, allocations: 8 kB / 433.4 MB, free: 4.203 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,superSample1.y,superSample1.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.0001087/0.7162, allocations: 111.7 kB / 433.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.7163, allocations: 64.81 kB / 433.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.7166, allocations: 115.6 kB / 433.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.7166, allocations: 128 / 433.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7167, allocations: 4 kB / 433.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.7167, allocations: 4 kB / 433.7 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.717, allocations: 234.7 kB / 433.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.717, allocations: 0 / 433.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.7171, allocations: 11.94 kB / 433.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.7171, allocations: 0 / 433.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.7171, allocations: 11.77 kB / 433.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7171, allocations: 0 / 433.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7171, allocations: 0 / 433.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.7175, allocations: 188.6 kB / 434.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.7176, allocations: 116.3 kB / 434.2 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.7177, allocations: 3.25 kB / 434.2 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7178, allocations: 4 kB / 434.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.7179, allocations: 7.984 kB / 434.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.7179, allocations: 11.75 kB / 434.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.7182, allocations: 191 kB / 434.5 MB, free: 3.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7182, allocations: 4 kB / 434.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.7186, allocations: 31.44 kB / 434.5 MB, free: 3.121 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,superSample1.y,sample1.y,superSample1.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.001821/0.7205, allocations: 1.171 MB / 435.7 MB, free: 2.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.7208, allocations: 69.05 kB / 435.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7208, allocations: 0 / 435.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.7209, allocations: 22.25 kB / 435.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.7215, allocations: 50.92 kB / 435.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.7226, allocations: 296.6 kB / 436.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.723, allocations: 0.7359 MB / 436.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.7232, allocations: 25.17 kB / 436.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.7233, allocations: 50.17 kB / 436.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of SimCode: time 1.783e-06/0.7233, allocations: 3.938 kB / 436.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.7515, allocations: 4.03 MB / 440.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.7519, allocations: 220.8 kB / 441.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.342, allocations: 0 / 441.1 MB, free: 12.66 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat