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.786/1.786, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.162e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.259, allocations: 38.76 MB / 258.3 MB, free: 12.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4163, allocations: 67.51 MB / 325.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4167, allocations: 63.97 kB / 325.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04177/0.4585, allocations: 7.374 MB / 333.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.236e-06/0.4586, allocations: 3.984 kB / 333.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.4586, allocations: 4 kB / 333.3 MB, free: 2.902 MB / 282.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.001104/0.4597, allocations: 0.7884 MB / 334.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4598, allocations: 8.031 kB / 334.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.4599, allocations: 39.56 kB / 334.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.4604, allocations: 274.5 kB / 334.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.4605, allocations: 7.953 kB / 334.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.4606, allocations: 16 kB / 334.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003492/0.4609, allocations: 120.1 kB / 334.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.4615, allocations: 268 kB / 334.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4615, allocations: 0 / 334.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.4615, allocations: 4 kB / 334.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.4616, allocations: 4 kB / 334.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.4629, allocations: 0.9666 MB / 335.8 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.4633, allocations: 222.4 kB / 336 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.4637, allocations: 152 kB / 336.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4637, allocations: 8 kB / 336.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007964/0.4645, allocations: 0.5002 MB / 336.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 5.431e-06/0.4646, allocations: 3.984 kB / 336.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001456/0.466, allocations: 0.4931 MB / 337.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000304/0.4663, allocations: 498.7 kB / 337.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.4668, allocations: 250.2 kB / 337.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.4669, allocations: 41.69 kB / 337.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.467, allocations: 144.8 kB / 338.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4671, allocations: 71.38 kB / 338.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.4672, allocations: 4 kB / 338.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4674, allocations: 350.7 kB / 338.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.4677, allocations: 140.3 kB / 338.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.4682, allocations: 217.4 kB / 338.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/0.4687, allocations: 155.8 kB / 339 MB, free: 12.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4688, allocations: 3.938 kB / 339 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001501/0.4703, allocations: 0.5517 MB / 339.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.4705, allocations: 297 kB / 339.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4705, allocations: 8 kB / 339.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.4706, allocations: 4.156 kB / 339.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4707, allocations: 19.94 kB / 339.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4707, allocations: 4 kB / 339.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.471, allocations: 23.83 kB / 339.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.4711, allocations: 31.94 kB / 339.9 MB, free: 11.67 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.0003879/0.4715, allocations: 341.8 kB / 340.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001467/0.473, allocations: 0.5699 MB / 340.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.4731, allocations: 39.62 kB / 340.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4732, allocations: 29.95 kB / 340.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4732, allocations: 0 / 340.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4732, allocations: 4 kB / 340.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4732, allocations: 3.953 kB / 340.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4744, allocations: 0.6237 MB / 341.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.4744, allocations: 8.062 kB / 341.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.4745, allocations: 3.938 kB / 341.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4745, allocations: 4 kB / 341.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.4745, allocations: 19.98 kB / 341.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4746, allocations: 160 / 341.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.4746, allocations: 7.953 kB / 341.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4761, allocations: 0.7128 MB / 342.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.4762, allocations: 104.8 kB / 342.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4764, allocations: 20 kB / 342.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.4767, allocations: 27.97 kB / 342.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.4769, allocations: 27.92 kB / 342.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.477, allocations: 27.97 kB / 342.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.4773, allocations: 198 kB / 342.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4773, allocations: 0 / 342.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008578/0.4782, allocations: 147.8 kB / 342.8 MB, free: 8.621 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.002338/0.4805, allocations: 1.567 MB / 344.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.4818, allocations: 0.9121 MB / 345.3 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4818, allocations: 0 / 345.3 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.4825, allocations: 0.559 MB / 345.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4829, allocations: 28.64 kB / 345.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.4847, allocations: 0.5849 MB / 346.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.4852, allocations: 0.7795 MB / 347.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.388e-05/0.4853, allocations: 21.84 kB / 347.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4855, allocations: 71.42 kB / 347.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4855, allocations: 0 / 347.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04878/0.5343, allocations: 6.383 MB / 353.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.5345, allocations: 133.4 kB / 353.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.013, allocations: 0 / 353.8 MB, free: 13.2 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