Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 235 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.093e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4919, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.6386, allocations: 79.83 MB / 434.2 MB, free: 2.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.6389, allocations: 67.97 kB / 434.2 MB, free: 2.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03324/0.6722, allocations: 5.102 MB / 439.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6722, allocations: 0 / 439.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.6723, allocations: 4 kB / 439.3 MB, free: 13.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001113/0.6734, allocations: 0.8958 MB / 440.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.6735, allocations: 8.031 kB / 440.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.6736, allocations: 31.77 kB / 440.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.6738, allocations: 186.8 kB / 440.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.6739, allocations: 11.98 kB / 440.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.674, allocations: 16 kB / 440.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003095/0.6743, allocations: 83.92 kB / 440.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.6748, allocations: 208.4 kB / 440.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6748, allocations: 4 kB / 440.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.6748, allocations: 4 kB / 440.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.6749, allocations: 7.953 kB / 440.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.6753, allocations: 296.2 kB / 441.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.6758, allocations: 248.8 kB / 441.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.6762, allocations: 151.1 kB / 441.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.6762, allocations: 4 kB / 441.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008669/0.6771, allocations: 0.5172 MB / 442 MB, free: 10.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.617e-06/0.6771, allocations: 0 / 442 MB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001343/0.6785, allocations: 417.2 kB / 442.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004019/0.6789, allocations: 0.6782 MB / 443.1 MB, free: 8.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.6792, allocations: 153.4 kB / 443.2 MB, free: 8.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.643e-05/0.6793, allocations: 37.69 kB / 443.3 MB, free: 8.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.6794, allocations: 100.9 kB / 443.4 MB, free: 8.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.6795, allocations: 79.45 kB / 443.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.6796, allocations: 7.938 kB / 443.4 MB, free: 8.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6797, allocations: 334.8 kB / 443.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.68, allocations: 84.86 kB / 443.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.6803, allocations: 138.5 kB / 444 MB, free: 7.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.6809, allocations: 103.9 kB / 444.1 MB, free: 7.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6809, allocations: 7.938 kB / 444.1 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001299/0.6822, allocations: 389.5 kB / 444.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.6825, allocations: 455.2 kB / 444.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6826, allocations: 3.984 kB / 444.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.6826, allocations: 4 kB / 444.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.6827, allocations: 8 kB / 444.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.6827, allocations: 8 kB / 444.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.683, allocations: 39.77 kB / 445 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.6831, allocations: 23.98 kB / 445 MB, free: 6.848 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition8,$PRE.booleanTable1.y,booleanTable1.y,$PRE.booleanTable1.nextTime,booleanTable1.nextTime,$PRE.booleanTable1.index,booleanTable1.index,$whenCondition7,$PRE.booleanTable2a.y,booleanTable2a.y,$PRE.booleanTable2a.nextTime,booleanTable2a.nextTime,$PRE.booleanTable2a.index,booleanTable2a.index,$whenCondition6,$PRE.booleanTable2b.y,booleanTable2b.y,$PRE.booleanTable2b.nextTime,booleanTable2b.nextTime,$PRE.booleanTable2b.index,booleanTable2b.index,$whenCondition5,$PRE.booleanTable3a.y,booleanTable3a.y,$PRE.booleanTable3a.nextTime,booleanTable3a.nextTime,$PRE.booleanTable3a.index,booleanTable3a.index,$whenCondition4,$PRE.booleanTable3b.y,booleanTable3b.y,$PRE.booleanTable3b.nextTime,booleanTable3b.nextTime,$PRE.booleanTable3b.index,booleanTable3b.index,$whenCondition3,$PRE.booleanTable3c.y,booleanTable3c.y,$PRE.booleanTable3c.nextTime,booleanTable3c.nextTime,$PRE.booleanTable3c.index,booleanTable3c.index,$whenCondition2,$PRE.booleanTable4a.y,booleanTable4a.y,$PRE.booleanTable4a.nextTime,booleanTable4a.nextTime,$PRE.booleanTable4a.index,booleanTable4a.index,$whenCondition1,$PRE.booleanTable4b.y,booleanTable4b.y,$PRE.booleanTable4b.nextTime,booleanTable4b.nextTime,$PRE.booleanTable4b.index,booleanTable4b.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 16 * 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.0004512/0.6836, allocations: 408.1 kB / 445.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001446/0.685, allocations: 0.4894 MB / 445.9 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.6852, allocations: 39.8 kB / 445.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.6852, allocations: 13.56 kB / 445.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6853, allocations: 0 / 445.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6853, allocations: 4 kB / 445.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6853, allocations: 12.19 kB / 446 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.6857, allocations: 277.7 kB / 446.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6857, allocations: 4 kB / 446.2 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.6857, allocations: 0 / 446.2 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6857, allocations: 4 kB / 446.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.6858, allocations: 27.92 kB / 446.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.6858, allocations: 0 / 446.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6858, allocations: 4 kB / 446.3 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.6873, allocations: 0.6471 MB / 446.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.6875, allocations: 96.81 kB / 447 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.6876, allocations: 24 kB / 447 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.6881, allocations: 43.97 kB / 447.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.6882, allocations: 39.91 kB / 447.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.6883, allocations: 23.98 kB / 447.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.6885, allocations: 116.3 kB / 447.3 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6885, allocations: 3.938 kB / 447.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001039/0.6895, allocations: 195.8 kB / 447.4 MB, free: 4.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition7,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition6,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition5,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition4,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition3,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition2,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition1,booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index) * Number of discrete states: 32 (booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index,$whenCondition1,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition2,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition3,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition4,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition5,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition6,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition7,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition8) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 8 * 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 Backend phase and start with SimCode phase: time 0.002833/0.6924, allocations: 1.843 MB / 449.3 MB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.6939, allocations: 1.143 MB / 450.4 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.6939, allocations: 0 / 450.4 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.6948, allocations: 0.6905 MB / 451.1 MB, free: 152 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.6951, allocations: 20.5 kB / 451.1 MB, free: 132 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.6969, allocations: 480.9 kB / 451.6 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.6973, allocations: 0.7481 MB / 452.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.6973, allocations: 9.203 kB / 452.4 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.6974, allocations: 43.42 kB / 452.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6974, allocations: 0 / 452.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.7467, allocations: 6.371 MB / 458.8 MB, free: 8.422 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.7471, allocations: 122.5 kB / 458.9 MB, free: 8.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.342, allocations: 0 / 458.9 MB, free: 8.23 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat