Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.79/2.79, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4e-05/3.995e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4194, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.6177, allocations: 90 MB / 0.4886 GB, free: 480 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.618, allocations: 71.95 kB / 0.4887 GB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07373/0.6917, allocations: 13.24 MB / 0.5016 GB, free: 3.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6918, allocations: 0 / 0.5016 GB, free: 3.141 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.6919, allocations: 11.98 kB / 0.5016 GB, free: 3.129 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.002383/0.6943, allocations: 0.7591 MB / 0.5024 GB, free: 2.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.6944, allocations: 11.97 kB / 0.5024 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6946, allocations: 42.55 kB / 0.5024 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.6949, allocations: 51.44 kB / 0.5025 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.6971, allocations: 487.2 kB / 0.5029 GB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.6972, allocations: 16.22 kB / 0.503 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-05/0.6973, allocations: 16 kB / 0.503 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/0.6983, allocations: 251.3 kB / 0.5032 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.6983, allocations: 0 / 0.5032 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.6984, allocations: 15.92 kB / 0.5032 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6985, allocations: 0 / 0.5032 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.6991, allocations: 107.9 kB / 0.5033 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.7022, allocations: 0.9227 MB / 0.5042 GB, free: 244 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.7035, allocations: 279 kB / 0.5045 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.704, allocations: 103.5 kB / 0.5046 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.7041, allocations: 11.91 kB / 0.5046 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008089/0.7049, allocations: 205.7 kB / 0.5048 GB, free: 15.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 6.071e-06/0.7049, allocations: 4 kB / 0.5048 GB, free: 15.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.001688/0.7066, allocations: 320.8 kB / 0.5051 GB, free: 15.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003045/0.707, allocations: 338.1 kB / 0.5054 GB, free: 14.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7092, allocations: 0.5748 MB / 0.506 GB, free: 14.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.7094, allocations: 41.64 kB / 0.506 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.7098, allocations: 220.5 kB / 0.5063 GB, free: 14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.71, allocations: 71.09 kB / 0.5063 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.7101, allocations: 4 kB / 0.5063 GB, free: 13.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002949/0.7104, allocations: 366.8 kB / 0.5067 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.7109, allocations: 79.98 kB / 0.5068 GB, free: 13.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.7117, allocations: 245.1 kB / 0.507 GB, free: 13.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.7122, allocations: 95.89 kB / 0.5071 GB, free: 13.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7122, allocations: 0 / 0.5071 GB, free: 13.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00125/0.7135, allocations: 305.3 kB / 0.5074 GB, free: 12.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.7136, allocations: 4 kB / 0.5074 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7136, allocations: 8 kB / 0.5074 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.7136, allocations: 3.953 kB / 0.5074 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.7141, allocations: 59.91 kB / 0.5074 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.7142, allocations: 3.938 kB / 0.5074 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.7146, allocations: 35.95 kB / 0.5075 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.7147, allocations: 8 kB / 0.5075 GB, free: 12.66 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.0002055/0.7149, allocations: 148.8 kB / 0.5076 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.715, allocations: 55.34 kB / 0.5077 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.7161, allocations: 353.5 kB / 0.508 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7162, allocations: 7.953 kB / 0.508 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7162, allocations: 0 / 0.508 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.7162, allocations: 7.969 kB / 0.508 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.717, allocations: 445.1 kB / 0.5085 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.717, allocations: 0 / 0.5085 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.7173, allocations: 35.91 kB / 0.5085 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.7174, allocations: 0 / 0.5085 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.7174, allocations: 8 kB / 0.5085 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.7174, allocations: 7.984 kB / 0.5085 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7174, allocations: 3.953 kB / 0.5085 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.7185, allocations: 421.1 kB / 0.5089 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.7187, allocations: 152.4 kB / 0.5091 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.7189, allocations: 12 kB / 0.5091 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.7193, allocations: 23.98 kB / 0.5091 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.7194, allocations: 35.95 kB / 0.5091 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.7195, allocations: 15.98 kB / 0.5091 GB, free: 10.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009766/0.7205, allocations: 465.5 kB / 0.5096 GB, free: 10.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.7205, allocations: 0 / 0.5096 GB, free: 10.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008019/0.7213, allocations: 119.9 kB / 0.5097 GB, free: 10.26 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.002818/0.7241, allocations: 1.517 MB / 0.5112 GB, free: 8.828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.7251, allocations: 255.8 kB / 0.5114 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7252, allocations: 4.25 kB / 0.5114 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.7257, allocations: 175.8 kB / 0.5116 GB, free: 8.402 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.7269, allocations: 120.6 kB / 0.5117 GB, free: 8.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.7296, allocations: 0.7536 MB / 0.5124 GB, free: 7.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.7303, allocations: 0.8548 MB / 0.5133 GB, free: 6.602 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000547/0.7309, allocations: 96.34 kB / 0.5134 GB, free: 6.508 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.7313, allocations: 175.3 kB / 0.5135 GB, free: 6.336 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7314, allocations: 0 / 0.5135 GB, free: 6.336 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4139/1.145, allocations: 11.64 MB / 0.5249 GB, free: 107.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.146, allocations: 176.7 kB / 0.5251 GB, free: 107.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.066, allocations: 0 / 0.5251 GB, free: 107.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat