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.878/1.878, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.208e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4361, allocations: 68.18 MB / 332 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4364, allocations: 59.97 kB / 332.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03737/0.4738, allocations: 7.422 MB / 339.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4738, allocations: 4 kB / 339.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.4738, allocations: 4 kB / 339.5 MB, free: 14.02 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.001189/0.475, allocations: 0.7844 MB / 340.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4751, allocations: 8.031 kB / 340.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.035e-05/0.4752, allocations: 54.48 kB / 340.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.4753, allocations: 35.62 kB / 340.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.476, allocations: 274.5 kB / 340.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.476, allocations: 12.14 kB / 340.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4762, allocations: 24 kB / 340.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.4772, allocations: 284 kB / 341 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4773, allocations: 0 / 341 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.4773, allocations: 4 kB / 341 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.4774, allocations: 4 kB / 341 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.478, allocations: 135.9 kB / 341.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.4804, allocations: 1.017 MB / 342.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.4812, allocations: 230.4 kB / 342.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.4818, allocations: 167.4 kB / 342.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.4818, allocations: 4 kB / 342.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.4832, allocations: 0.5152 MB / 343.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 5.21e-06/0.4832, allocations: 0 / 343.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002427/0.4857, allocations: 0.6867 MB / 343.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000474/0.4862, allocations: 498.6 kB / 344.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/0.487, allocations: 263 kB / 344.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.4872, allocations: 41.69 kB / 344.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4874, allocations: 144.8 kB / 344.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.4876, allocations: 75.3 kB / 344.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.4877, allocations: 8 kB / 344.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.4879, allocations: 350.9 kB / 345.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.4885, allocations: 144.4 kB / 345.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.4892, allocations: 224.8 kB / 345.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.4898, allocations: 440.9 kB / 345.9 MB, free: 7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4899, allocations: 0 / 345.9 MB, free: 7 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001738/0.4916, allocations: 0.8415 MB / 346.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.4919, allocations: 293 kB / 347 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4919, allocations: 8.156 kB / 347 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.4919, allocations: 4 kB / 347 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4921, allocations: 19.92 kB / 347 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.4921, allocations: 7.953 kB / 347.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.4924, allocations: 31.83 kB / 347.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.4925, allocations: 28 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.0004176/0.4929, allocations: 351.2 kB / 347.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4931, allocations: 35.62 kB / 347.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.4932, allocations: 25.95 kB / 347.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4932, allocations: 4 kB / 347.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4932, allocations: 0 / 347.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4932, allocations: 3.953 kB / 347.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4946, allocations: 0.8102 MB / 348.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4947, allocations: 0 / 348.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.4947, allocations: 4 kB / 348.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4947, allocations: 0 / 348.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.4948, allocations: 19.98 kB / 348.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4948, allocations: 0 / 348.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.4948, allocations: 8.203 kB / 348.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4966, allocations: 0.9246 MB / 349.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4968, allocations: 104.8 kB / 349.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.4969, allocations: 23.98 kB / 349.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.4973, allocations: 27.98 kB / 349.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4974, allocations: 35.91 kB / 349.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4975, allocations: 23.98 kB / 349.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003382/0.4979, allocations: 203.1 kB / 349.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4979, allocations: 0 / 349.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000927/0.4988, allocations: 155.9 kB / 349.8 MB, free: 2.684 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.002708/0.5016, allocations: 1.787 MB / 351.6 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.5031, allocations: 0.9276 MB / 352.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5031, allocations: 0 / 352.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.5039, allocations: 0.5862 MB / 353.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5043, allocations: 24.52 kB / 353.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5063, allocations: 0.6038 MB / 353.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.5068, allocations: 0.7798 MB / 354.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.5069, allocations: 17.55 kB / 354.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.5071, allocations: 75.41 kB / 354.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5071, allocations: 0 / 354.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04226/0.5494, allocations: 6.734 MB / 361.4 MB, free: 6.848 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003627/0.5498, allocations: 145.1 kB / 361.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.349, allocations: 0 / 361.5 MB, free: 6.617 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