Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.935e-05, allocations: 15.11 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5663/0.6958, allocations: 90.59 MB / 0.4892 GB, free: 13.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.6961, allocations: 63.97 kB / 0.4893 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02735/0.7234, allocations: 6.128 MB / 0.4952 GB, free: 7.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.7235, allocations: 0 / 0.4952 GB, free: 7.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.7235, allocations: 8 kB / 0.4952 GB, free: 7.246 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009697/0.7245, allocations: 0.5907 MB / 0.4958 GB, free: 6.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.7245, allocations: 15.97 kB / 0.4958 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.017e-05/0.7246, allocations: 50.55 kB / 0.4959 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.7247, allocations: 27.72 kB / 0.4959 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.7254, allocations: 273.6 kB / 0.4962 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7255, allocations: 97.06 kB / 0.4963 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.7256, allocations: 15.98 kB / 0.4963 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.726, allocations: 149.5 kB / 0.4964 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.726, allocations: 8 kB / 0.4964 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.726, allocations: 8 kB / 0.4964 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.7261, allocations: 0 / 0.4964 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.7265, allocations: 79.91 kB / 0.4965 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.7282, allocations: 0.6259 MB / 0.4971 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.7286, allocations: 160 kB / 0.4973 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.7289, allocations: 94.5 kB / 0.4974 GB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.7289, allocations: 4 kB / 0.4974 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/0.7295, allocations: 417.4 kB / 0.4978 GB, free: 4.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 4.729e-06/0.7295, allocations: 4 kB / 0.4978 GB, free: 4.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008697/0.7304, allocations: 350.4 kB / 0.4981 GB, free: 3.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.7305, allocations: 217.6 kB / 0.4983 GB, free: 3.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.7313, allocations: 285 kB / 0.4986 GB, free: 3.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.7313, allocations: 33.7 kB / 0.4986 GB, free: 3.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.7315, allocations: 132.7 kB / 0.4988 GB, free: 3.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.7316, allocations: 55.34 kB / 0.4988 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.7316, allocations: 4.109 kB / 0.4988 GB, free: 3.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7318, allocations: 354.6 kB / 0.4991 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.7319, allocations: 44.19 kB / 0.4992 GB, free: 2.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.7322, allocations: 141.5 kB / 0.4993 GB, free: 2.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.7324, allocations: 145 kB / 0.4995 GB, free: 2.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7325, allocations: 0 / 0.4995 GB, free: 2.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006589/0.7331, allocations: 334.5 kB / 0.4998 GB, free: 2.094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.7332, allocations: 97.09 kB / 0.4999 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7332, allocations: 0 / 0.4999 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.7333, allocations: 7.984 kB / 0.4999 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.7334, allocations: 23.92 kB / 0.4999 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.7335, allocations: 4 kB / 0.4999 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.7337, allocations: 23.98 kB / 0.4999 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.7338, allocations: 8 kB / 0.4999 GB, free: 1.914 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002238/0.734, allocations: 243.5 kB / 0.5002 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.7341, allocations: 31.72 kB / 0.5002 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.7347, allocations: 205.8 kB / 0.5004 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7347, allocations: 96 / 0.5004 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.7347, allocations: 7.938 kB / 0.5004 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7348, allocations: 0 / 0.5004 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.7352, allocations: 309.3 kB / 0.5007 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7352, allocations: 4 kB / 0.5007 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.7353, allocations: 8 kB / 0.5007 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7353, allocations: 3.984 kB / 0.5007 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.7353, allocations: 8 kB / 0.5007 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7353, allocations: 3.938 kB / 0.5007 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7354, allocations: 0 / 0.5007 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.7362, allocations: 465 kB / 0.5012 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.7364, allocations: 116.8 kB / 0.5013 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.7365, allocations: 8 kB / 0.5013 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.7367, allocations: 23.98 kB / 0.5013 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7368, allocations: 19.94 kB / 0.5013 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.7369, allocations: 12 kB / 0.5013 GB, free: 320 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003627/0.7372, allocations: 229.3 kB / 0.5016 GB, free: 92 kB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7372, allocations: 4 kB / 0.5016 GB, free: 88 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.7377, allocations: 75.98 kB / 0.5016 GB, free: 12 kB / 410.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: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.002336/0.7401, allocations: 1.433 MB / 0.503 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006995/0.7408, allocations: 386 kB / 0.5034 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7408, allocations: 0 / 0.5034 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.7413, allocations: 338.3 kB / 0.5037 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.7417, allocations: 57.27 kB / 0.5038 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.743, allocations: 438.3 kB / 0.5042 GB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.7434, allocations: 0.7561 MB / 0.5049 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.7436, allocations: 33.67 kB / 0.505 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.7438, allocations: 67.42 kB / 0.505 GB, free: 12.45 MB / 426.7 MB Notification: Performance of SimCode: time 9.31e-07/0.7438, allocations: 0 / 0.505 GB, free: 12.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.7769, allocations: 5.547 MB / 0.5105 GB, free: 7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.7773, allocations: 175.3 kB / 0.5106 GB, free: 6.777 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.349, allocations: 0 / 0.5106 GB, free: 6.777 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat does not exist to compare? outputFormat=mat