Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270 MB / 283.6 MB, free: 1.996 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.986e-05, allocations: 11.94 kB / 348.5 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4234, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.584, allocations: 90.01 MB / 0.4886 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5844, allocations: 67.95 kB / 0.4887 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06057/0.6449, allocations: 13.24 MB / 0.5016 GB, free: 3.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.645, allocations: 4 kB / 0.5016 GB, free: 3.262 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.671e-05/0.6451, allocations: 8 kB / 0.5016 GB, free: 3.254 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001546/0.6466, allocations: 0.7552 MB / 0.5024 GB, free: 2.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6467, allocations: 8.031 kB / 0.5024 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.003e-05/0.6468, allocations: 42.55 kB / 0.5024 GB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.647, allocations: 51.44 kB / 0.5025 GB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6483, allocations: 499.1 kB / 0.503 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.6484, allocations: 12.23 kB / 0.503 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.6484, allocations: 12 kB / 0.503 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.649, allocations: 249.2 kB / 0.5032 GB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.649, allocations: 3.984 kB / 0.5032 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.6491, allocations: 11.98 kB / 0.5032 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.6491, allocations: 4 kB / 0.5032 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.6494, allocations: 107.9 kB / 0.5033 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.6512, allocations: 0.9226 MB / 0.5042 GB, free: 368 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.6519, allocations: 275 kB / 0.5045 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.6522, allocations: 107.5 kB / 0.5046 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.6522, allocations: 4 kB / 0.5046 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/0.6527, allocations: 213.7 kB / 0.5048 GB, free: 15.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 3.277e-06/0.6527, allocations: 0 / 0.5048 GB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009787/0.6537, allocations: 316.9 kB / 0.5051 GB, free: 15.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.6539, allocations: 350.1 kB / 0.5054 GB, free: 14.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.6551, allocations: 0.571 MB / 0.506 GB, free: 14.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.6552, allocations: 37.64 kB / 0.506 GB, free: 14.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.6555, allocations: 224.5 kB / 0.5063 GB, free: 14.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6556, allocations: 67.22 kB / 0.5063 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.6557, allocations: 8 kB / 0.5063 GB, free: 14.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.6559, allocations: 362.8 kB / 0.5067 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6561, allocations: 79.98 kB / 0.5067 GB, free: 13.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.6566, allocations: 245.1 kB / 0.507 GB, free: 13.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.6569, allocations: 95.89 kB / 0.5071 GB, free: 13.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.6569, allocations: 4 kB / 0.5071 GB, free: 13.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008798/0.6578, allocations: 296.8 kB / 0.5074 GB, free: 12.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6578, allocations: 4 kB / 0.5074 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6579, allocations: 4.375 kB / 0.5074 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.6579, allocations: 11.89 kB / 0.5074 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.6584, allocations: 55.91 kB / 0.5074 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.6584, allocations: 15.92 kB / 0.5074 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.6589, allocations: 39.89 kB / 0.5075 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.6589, allocations: 12 kB / 0.5075 GB, free: 12.77 MB / 442.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: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002214/0.6591, allocations: 136.9 kB / 0.5076 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6593, allocations: 55.33 kB / 0.5077 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.6604, allocations: 349.5 kB / 0.508 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6604, allocations: 15.94 kB / 0.508 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6604, allocations: 4 kB / 0.508 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6605, allocations: 0 / 0.508 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.6611, allocations: 441.1 kB / 0.5085 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.6612, allocations: 0 / 0.5085 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.6615, allocations: 31.92 kB / 0.5085 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.6615, allocations: 4 kB / 0.5085 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.6615, allocations: 11.98 kB / 0.5085 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6615, allocations: 0 / 0.5085 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6616, allocations: 7.953 kB / 0.5085 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009112/0.6625, allocations: 418.2 kB / 0.5089 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.6627, allocations: 156.4 kB / 0.5091 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.6629, allocations: 11.98 kB / 0.5091 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.6633, allocations: 23.98 kB / 0.5091 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6634, allocations: 35.95 kB / 0.5091 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.6635, allocations: 19.98 kB / 0.5091 GB, free: 10.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009196/0.6644, allocations: 457.5 kB / 0.5096 GB, free: 10.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.906e-06/0.6644, allocations: 0 / 0.5096 GB, free: 10.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007594/0.6652, allocations: 131.8 kB / 0.5097 GB, free: 10.38 MB / 442.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: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002705/0.6679, allocations: 1.506 MB / 0.5112 GB, free: 8.957 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008689/0.6688, allocations: 255.8 kB / 0.5114 GB, free: 8.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6689, allocations: 0 / 0.5114 GB, free: 8.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.6693, allocations: 172.1 kB / 0.5116 GB, free: 8.539 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6705, allocations: 128.3 kB / 0.5117 GB, free: 8.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.6727, allocations: 0.7575 MB / 0.5124 GB, free: 7.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.6733, allocations: 0.8587 MB / 0.5133 GB, free: 6.723 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.6737, allocations: 88.36 kB / 0.5134 GB, free: 6.637 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.6742, allocations: 167.4 kB / 0.5135 GB, free: 6.473 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6742, allocations: 4 kB / 0.5135 GB, free: 6.469 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.371/1.045, allocations: 11.64 MB / 0.5249 GB, free: 108.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.045, allocations: 187.3 kB / 0.5251 GB, free: 107.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.937, allocations: 0 / 0.5251 GB, free: 107.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat