Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_Interaction1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.5/2.5, allocations: 195 MB / 202.9 MB, free: 6.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.435e-05, allocations: 3.859 kB / 249.7 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5487/0.6538, allocations: 72.87 MB / 367.1 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.6541, allocations: 65.84 kB / 367.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04112/0.6952, allocations: 7.449 MB / 374.6 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6953, allocations: 0 / 374.6 MB, free: 22.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.6953, allocations: 7.719 kB / 374.6 MB, free: 22.49 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.001073/0.6964, allocations: 0.7923 MB / 375.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6965, allocations: 7.75 kB / 375.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.87e-05/0.6966, allocations: 49.25 kB / 375.5 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.6967, allocations: 34.81 kB / 375.5 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.6972, allocations: 293.9 kB / 375.8 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.6973, allocations: 8.031 kB / 375.8 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.6974, allocations: 15.03 kB / 375.8 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000383/0.6978, allocations: 126.1 kB / 376 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.6983, allocations: 264.8 kB / 376.2 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6984, allocations: 0 / 376.2 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.6984, allocations: 14.55 kB / 376.2 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.6985, allocations: 7.625 kB / 376.2 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.6997, allocations: 0.9696 MB / 377.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.7002, allocations: 225 kB / 377.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.7005, allocations: 164.1 kB / 377.6 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.7005, allocations: 7.75 kB / 377.6 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007744/0.7013, allocations: 0.5128 MB / 378.1 MB, free: 20 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.457e-06/0.7014, allocations: 3.938 kB / 378.1 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001437/0.7028, allocations: 480 kB / 378.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003331/0.7032, allocations: 0.4893 MB / 379.1 MB, free: 19.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.7036, allocations: 257.7 kB / 379.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-05/0.7037, allocations: 40.58 kB / 379.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.7039, allocations: 143.4 kB / 379.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.704, allocations: 75.47 kB / 379.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.704, allocations: 3.875 kB / 379.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7042, allocations: 344.8 kB / 379.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.7046, allocations: 135.7 kB / 380 MB, free: 18.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.705, allocations: 227.6 kB / 380.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.7056, allocations: 174.5 kB / 380.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7056, allocations: 0 / 380.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001568/0.7072, allocations: 0.5228 MB / 381 MB, free: 18.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.7075, allocations: 294 kB / 381.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.7075, allocations: 7.828 kB / 381.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.7075, allocations: 3.781 kB / 381.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.7077, allocations: 15.66 kB / 381.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7077, allocations: 11.72 kB / 381.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.7081, allocations: 35.36 kB / 381.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.7082, allocations: 26.44 kB / 381.4 MB, free: 18.04 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.0004642/0.7087, allocations: 347.5 kB / 381.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7088, allocations: 42.44 kB / 381.7 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.7089, allocations: 25.45 kB / 381.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7089, allocations: 7.875 kB / 381.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7089, allocations: 0 / 381.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.709, allocations: 3.875 kB / 381.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.7102, allocations: 0.6355 MB / 382.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.7102, allocations: 3.875 kB / 382.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.7103, allocations: 0 / 382.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.7103, allocations: 3.875 kB / 382.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.7104, allocations: 18.98 kB / 382.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.7104, allocations: 4 kB / 382.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.7104, allocations: 3.875 kB / 382.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.7121, allocations: 0.7038 MB / 383.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.7122, allocations: 104.4 kB / 383.2 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.7123, allocations: 21.47 kB / 383.3 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.7128, allocations: 31.09 kB / 383.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.7129, allocations: 32.56 kB / 383.3 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.713, allocations: 26.8 kB / 383.4 MB, free: 16.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003069/0.7134, allocations: 195.3 kB / 383.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7134, allocations: 4 kB / 383.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009489/0.7143, allocations: 156.6 kB / 383.7 MB, free: 16.75 MB / 314.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.002574/0.7169, allocations: 1.549 MB / 385.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.7183, allocations: 0.9391 MB / 386.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7184, allocations: 0 / 386.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007939/0.7192, allocations: 0.5892 MB / 386.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.7197, allocations: 20.2 kB / 386.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.7217, allocations: 0.5991 MB / 387.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.7222, allocations: 0.7874 MB / 388.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.87e-05/0.7223, allocations: 21.09 kB / 388.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.7225, allocations: 75.72 kB / 388.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7225, allocations: 0 / 388.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.7799, allocations: 6.726 MB / 395 MB, free: 10.38 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004091/0.7804, allocations: 134.4 kB / 395.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.409/4.19, allocations: 4 kB / 395.1 MB, free: 10.17 MB / 314.7 MB "" Variables in the reference:time,booleanTable.y,integerTable.y,start.on,start.reset[1],stop.on,stop.reset[1] Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,_D_whenCondition5,_D_whenCondition6,_D_whenCondition7,_D_whenCondition8,_D_whenCondition9,booleanTable.index,booleanTable.n,booleanTable.nextTime,booleanTable.startValue,booleanTable.table[1],booleanTable.table[2],booleanTable.table[3],booleanTable.table[4],booleanTable.table[5],booleanTable.table[6],booleanTable.table[7],booleanTable.table[8],booleanTable.table[9],booleanTable.y,booleanValue.active,booleanValue.activePort,booleanValue.showActive,booleanValue.use_activePort,integerTable.index,integerTable.n,integerTable.nextTime,integerTable.table[1,1],integerTable.table[1,2],integerTable.table[2,1],integerTable.table[2,2],integerTable.table[3,1],integerTable.table[3,2],integerTable.table[4,1],integerTable.table[4,2],integerTable.table[5,1],integerTable.table[5,2],integerTable.table[6,1],integerTable.table[6,2],integerTable.y,integerValue.number,integerValue.numberPort,integerValue.showNumber,integerValue.use_numberPort,realValue.number,realValue.numberPort,realValue.showNumber,realValue.significantDigits,realValue.use_numberPort,start.buttonTimeTable[1],start.buttonTimeTable[2],start.nReset,start.on,start.pre_reset[1],start.reset[1],start.table.index,start.table.n,start.table.nextTime,start.table.startValue,start.table.table[1],start.table.table[2],start.table.y,stop.buttonTimeTable[1],stop.buttonTimeTable[2],stop.nReset,stop.on,stop.pre_reset[1],stop.reset[1],stop.table.index,stop.table.n,stop.table.nextTime,stop.table.startValue,stop.table.table[1],stop.table.table[2],stop.table.y,time,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,timeTable.offset,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2],timeTable.timeScale,timeTable.timeScaled,timeTable.y