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.074/2.074, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.684e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3408, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5037, allocations: 72.88 MB / 367.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5041, allocations: 63.97 kB / 367.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03995/0.5441, allocations: 7.434 MB / 374.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5441, allocations: 3.938 kB / 374.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.5441, allocations: 4 kB / 374.6 MB, free: 1.457 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.001151/0.5453, allocations: 0.7961 MB / 375.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5454, allocations: 12.03 kB / 375.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.5455, allocations: 31.72 kB / 375.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.5461, allocations: 294.5 kB / 375.7 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.5461, allocations: 4 kB / 375.7 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.5462, allocations: 16 kB / 375.7 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003659/0.5466, allocations: 132.4 kB / 375.9 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.5472, allocations: 260.9 kB / 376.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5472, allocations: 0 / 376.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.5473, allocations: 8 kB / 376.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.5473, allocations: 4 kB / 376.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.5486, allocations: 0.9823 MB / 377.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.549, allocations: 223 kB / 377.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.5494, allocations: 167.4 kB / 377.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.5494, allocations: 4.219 kB / 377.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007503/0.5502, allocations: 0.5165 MB / 378 MB, free: 13.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.166e-06/0.5502, allocations: 0 / 378 MB, free: 13.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001399/0.5516, allocations: 481.9 kB / 378.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000283/0.5519, allocations: 494.6 kB / 379 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.5523, allocations: 254.2 kB / 379.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/0.5524, allocations: 41.69 kB / 379.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.5526, allocations: 136.8 kB / 379.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5527, allocations: 83.05 kB / 379.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.5528, allocations: 4.062 kB / 379.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5529, allocations: 351.3 kB / 379.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.5533, allocations: 136.5 kB / 380 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.5537, allocations: 228.8 kB / 380.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.5542, allocations: 159.8 kB / 380.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.5543, allocations: 4 kB / 380.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001478/0.5558, allocations: 0.5279 MB / 380.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.556, allocations: 297.1 kB / 381.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.556, allocations: 4 kB / 381.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.556, allocations: 4 kB / 381.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5562, allocations: 23.92 kB / 381.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5562, allocations: 4 kB / 381.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.5565, allocations: 23.84 kB / 381.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.5566, allocations: 31.98 kB / 381.3 MB, free: 10.19 MB / 330.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.0003898/0.557, allocations: 352.2 kB / 381.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001409/0.5584, allocations: 0.5407 MB / 382.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.5585, allocations: 39.62 kB / 382.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/0.5586, allocations: 25.95 kB / 382.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.5586, allocations: 4 kB / 382.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5586, allocations: 0 / 382.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5587, allocations: 7.984 kB / 382.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5598, allocations: 0.6471 MB / 382.9 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5598, allocations: 0 / 382.9 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.5599, allocations: 4 kB / 382.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5599, allocations: 0 / 382.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.56, allocations: 19.98 kB / 382.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.56, allocations: 4 kB / 382.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.56, allocations: 0 / 382.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5615, allocations: 0.6966 MB / 383.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5616, allocations: 104.7 kB / 383.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5618, allocations: 32.25 kB / 383.7 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.5621, allocations: 27.98 kB / 383.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.5623, allocations: 23.97 kB / 383.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5624, allocations: 27.98 kB / 383.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.5627, allocations: 198 kB / 384 MB, free: 7.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5627, allocations: 0 / 384 MB, free: 7.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009158/0.5636, allocations: 155.9 kB / 384.1 MB, free: 7.148 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.002331/0.566, allocations: 1.563 MB / 385.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.5674, allocations: 0.9392 MB / 386.6 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5674, allocations: 0 / 386.6 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.5681, allocations: 0.5824 MB / 387.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.5686, allocations: 28.81 kB / 387.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.5704, allocations: 0.6094 MB / 387.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.5709, allocations: 0.7757 MB / 388.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.571, allocations: 21.84 kB / 388.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.5712, allocations: 83.41 kB / 388.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5712, allocations: 0 / 388.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.6259, allocations: 6.562 MB / 395.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.6263, allocations: 121.9 kB / 395.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.497, allocations: 0 / 395.4 MB, free: 11.49 MB / 346.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