Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.27e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5238, allocations: 73.53 MB / 373.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5241, allocations: 61.2 kB / 373.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03796/0.5621, allocations: 7.488 MB / 381.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5621, allocations: 0 / 381.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.5622, allocations: 8.531 kB / 381.1 MB, free: 11.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001162/0.5633, allocations: 0.7962 MB / 381.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5634, allocations: 8.75 kB / 381.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.3e-05/0.5635, allocations: 46.05 kB / 381.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.5637, allocations: 38.64 kB / 381.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.5642, allocations: 293.7 kB / 382.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.5642, allocations: 12.56 kB / 382.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.5643, allocations: 18.97 kB / 382.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.5649, allocations: 273.3 kB / 382.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.565, allocations: 1.688 kB / 382.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.565, allocations: 11.81 kB / 382.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.565, allocations: 10.23 kB / 382.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.5654, allocations: 144 kB / 382.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.5668, allocations: 1.015 MB / 383.7 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.5673, allocations: 233.5 kB / 383.9 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.5676, allocations: 173 kB / 384.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.5677, allocations: 8.766 kB / 384.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007261/0.5684, allocations: 0.5303 MB / 384.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.337e-06/0.5684, allocations: 0 / 384.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001523/0.57, allocations: 0.6587 MB / 385.3 MB, free: 9.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.5702, allocations: 0.4926 MB / 385.8 MB, free: 8.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.5707, allocations: 263 kB / 386.1 MB, free: 8.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.5708, allocations: 43.89 kB / 386.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.571, allocations: 142.6 kB / 386.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.5711, allocations: 80.19 kB / 386.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.5711, allocations: 9.938 kB / 386.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5712, allocations: 348.1 kB / 386.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.5716, allocations: 143.2 kB / 386.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.5721, allocations: 242.1 kB / 387 MB, free: 7.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.5726, allocations: 447.2 kB / 387.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5726, allocations: 1.281 kB / 387.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001569/0.5742, allocations: 0.8183 MB / 388.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.5744, allocations: 296.7 kB / 388.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/0.5745, allocations: 2.656 kB / 388.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.5745, allocations: 5.281 kB / 388.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5747, allocations: 21.48 kB / 388.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.5747, allocations: 7.938 kB / 388.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.5751, allocations: 28.31 kB / 388.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.629e-05/0.5752, allocations: 32.12 kB / 388.7 MB, free: 6.758 MB / 314.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: 53 ($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,timeTable.nextEventScaled,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.0006177/0.5758, allocations: 349.4 kB / 389 MB, free: 22.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.576, allocations: 43.5 kB / 389.1 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.5761, allocations: 29.64 kB / 389.1 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5761, allocations: 2.688 kB / 389.1 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5761, allocations: 1.25 kB / 389.1 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5761, allocations: 1.312 kB / 389.1 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.5775, allocations: 0.8118 MB / 389.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5775, allocations: 1.312 kB / 389.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.5776, allocations: 7.125 kB / 389.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.5776, allocations: 1.281 kB / 389.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/0.5777, allocations: 21.89 kB / 389.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.5778, allocations: 1.312 kB / 389.9 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.5778, allocations: 5.25 kB / 390 MB, free: 21.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5795, allocations: 0.9084 MB / 390.9 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.5797, allocations: 111.5 kB / 391 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.5798, allocations: 26.83 kB / 391 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.5802, allocations: 25.3 kB / 391 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5803, allocations: 32.25 kB / 391.1 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/0.5804, allocations: 28.08 kB / 391.1 MB, free: 21.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.5808, allocations: 206.1 kB / 391.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5808, allocations: 3.938 kB / 391.3 MB, free: 21.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000977/0.5818, allocations: 165.4 kB / 391.4 MB, free: 21.34 MB / 330.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: 32 ($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,timeTable.nextEventScaled,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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.002617/0.5844, allocations: 1.763 MB / 393.2 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.5858, allocations: 0.9682 MB / 394.2 MB, free: 19.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5858, allocations: 0 / 394.2 MB, free: 19.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007834/0.5866, allocations: 0.6046 MB / 394.8 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.5871, allocations: 27.36 kB / 394.8 MB, free: 19.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.5892, allocations: 0.619 MB / 395.4 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.5897, allocations: 0.7867 MB / 396.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.5898, allocations: 20.98 kB / 396.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5899, allocations: 76.58 kB / 396.3 MB, free: 18.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.59, allocations: 3.938 kB / 396.3 MB, free: 18.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.6245, allocations: 6.925 MB / 403.2 MB, free: 17.51 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/0.6248, allocations: 145.5 kB / 403.4 MB, free: 17.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.591, allocations: 0 / 403.4 MB, free: 17.28 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1_res.mat does not exist to compare? outputFormat=mat