Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.331e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2666, allocations: 38.77 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4041, allocations: 68.18 MB / 332 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4044, allocations: 63.97 kB / 332.1 MB, free: 5.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04154/0.4459, allocations: 7.414 MB / 339.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.446, allocations: 4 kB / 339.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.446, allocations: 4 kB / 339.5 MB, free: 14.04 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001524/0.4476, allocations: 0.7845 MB / 340.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.4477, allocations: 8.031 kB / 340.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.4478, allocations: 50.48 kB / 340.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.448, allocations: 35.62 kB / 340.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/0.4487, allocations: 274.5 kB / 340.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.4488, allocations: 16.14 kB / 340.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.4489, allocations: 16 kB / 340.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.4499, allocations: 285 kB / 341 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4499, allocations: 0 / 341 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.45, allocations: 4 kB / 341 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.4501, allocations: 7.984 kB / 341 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.4507, allocations: 143.8 kB / 341.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.4526, allocations: 1.005 MB / 342.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.4534, allocations: 234.4 kB / 342.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.4539, allocations: 167.4 kB / 342.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.4539, allocations: 7.984 kB / 342.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.455, allocations: 0.5197 MB / 343 MB, free: 10.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 4.017e-06/0.455, allocations: 0 / 343 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002129/0.4572, allocations: 0.6867 MB / 343.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003736/0.4576, allocations: 0.4907 MB / 344.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006072/0.4582, allocations: 263 kB / 344.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.4583, allocations: 45.69 kB / 344.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.4586, allocations: 144.8 kB / 344.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.4587, allocations: 78.56 kB / 344.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.4588, allocations: 12.06 kB / 344.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.459, allocations: 346.8 kB / 345.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.4596, allocations: 140.4 kB / 345.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.4603, allocations: 232.9 kB / 345.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.4611, allocations: 432.9 kB / 345.9 MB, free: 7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.4612, allocations: 0 / 345.9 MB, free: 7 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002448/0.4636, allocations: 0.8493 MB / 346.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003144/0.464, allocations: 298.1 kB / 347 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.464, allocations: 0 / 347 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.4641, allocations: 8 kB / 347 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.4642, allocations: 11.94 kB / 347 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.4643, allocations: 7.953 kB / 347 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4647, allocations: 35.83 kB / 347.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.4649, allocations: 24 kB / 347.1 MB, free: 5.645 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,$whenCondition8,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,$whenCondition7,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * 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.0005539/0.4654, allocations: 355.3 kB / 347.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4656, allocations: 39.62 kB / 347.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.4657, allocations: 25.95 kB / 347.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4658, allocations: 4 kB / 347.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4658, allocations: 0 / 347.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.4658, allocations: 7.953 kB / 347.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.4677, allocations: 0.7978 MB / 348.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4678, allocations: 0 / 348.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.4678, allocations: 11.92 kB / 348.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.4679, allocations: 0 / 348.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/0.468, allocations: 16 kB / 348.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.468, allocations: 7.984 kB / 348.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.468, allocations: 3.953 kB / 348.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.4705, allocations: 0.9194 MB / 349.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.4707, allocations: 104.7 kB / 349.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.4709, allocations: 27.98 kB / 349.4 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.4714, allocations: 27.98 kB / 349.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.4716, allocations: 23.97 kB / 349.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.4717, allocations: 23.98 kB / 349.5 MB, free: 3.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004374/0.4721, allocations: 207.1 kB / 349.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.4722, allocations: 0 / 349.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00122/0.4734, allocations: 151.9 kB / 349.8 MB, free: 2.688 MB / 298.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: 31 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition7,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 29 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition7,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition4,$whenCondition6,stop.on,$whenCondition5,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition3,start.on,$whenCondition2,start.pre_reset[1],start.reset[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 3 * 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.003591/0.477, allocations: 1.788 MB / 351.6 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.479, allocations: 0.9474 MB / 352.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4791, allocations: 0 / 352.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.4802, allocations: 0.5787 MB / 353.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.4807, allocations: 26.7 kB / 353.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.4834, allocations: 0.609 MB / 353.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.4841, allocations: 0.776 MB / 354.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.4842, allocations: 21.53 kB / 354.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.4844, allocations: 79.36 kB / 354.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4844, allocations: 0 / 354.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04656/0.531, allocations: 6.735 MB / 361.4 MB, free: 6.828 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/0.5314, allocations: 142.5 kB / 361.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.024, allocations: 0 / 361.5 MB, free: 6.602 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1_res.mat does not exist to compare? outputFormat=mat