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.02/2.02, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.932e-05, allocations: 8 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.554, allocations: 73.53 MB / 373.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5544, allocations: 63.22 kB / 373.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03647/0.5909, allocations: 7.484 MB / 381 MB, free: 12.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.591, allocations: 0 / 381 MB, free: 12.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.591, allocations: 11.84 kB / 381 MB, free: 12.08 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.0011/0.5921, allocations: 0.7893 MB / 381.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5922, allocations: 9.812 kB / 381.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.5923, allocations: 49.56 kB / 381.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.5924, allocations: 31.38 kB / 381.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.5929, allocations: 294.1 kB / 382.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.593, allocations: 13.56 kB / 382.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.5931, allocations: 21.45 kB / 382.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.5937, allocations: 271.5 kB / 382.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5937, allocations: 2.125 kB / 382.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.5938, allocations: 11.7 kB / 382.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.5938, allocations: 9.688 kB / 382.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.5942, allocations: 147.2 kB / 382.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.5955, allocations: 1.013 MB / 383.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.5959, allocations: 244 kB / 383.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.5963, allocations: 176.7 kB / 384.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.5963, allocations: 5.547 kB / 384.1 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009027/0.5972, allocations: 0.5312 MB / 384.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.376e-06/0.5973, allocations: 0 / 384.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001539/0.5988, allocations: 0.6652 MB / 385.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.599, allocations: 495.8 kB / 385.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.5995, allocations: 263.9 kB / 386 MB, free: 8.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.5996, allocations: 42.77 kB / 386.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.5997, allocations: 151.1 kB / 386.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.5998, allocations: 80.27 kB / 386.3 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.5999, allocations: 7.875 kB / 386.3 MB, free: 8.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.6, allocations: 349 kB / 386.7 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.6004, allocations: 144.4 kB / 386.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.6008, allocations: 241.5 kB / 387 MB, free: 8.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.6014, allocations: 437.4 kB / 387.5 MB, free: 7.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.6014, allocations: 1.219 kB / 387.5 MB, free: 7.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001607/0.6031, allocations: 0.8328 MB / 388.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.6032, allocations: 292.6 kB / 388.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6033, allocations: 2.688 kB / 388.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.6033, allocations: 5.312 kB / 388.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.6034, allocations: 18.34 kB / 388.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.6035, allocations: 14.75 kB / 388.6 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.6038, allocations: 28.22 kB / 388.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.6039, allocations: 33.84 kB / 388.7 MB, free: 7.113 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.0003325/0.6042, allocations: 355.3 kB / 389 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6043, allocations: 39.41 kB / 389.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.6044, allocations: 30.83 kB / 389.1 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.6045, allocations: 2.656 kB / 389.1 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6045, allocations: 1.312 kB / 389.1 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6045, allocations: 5.344 kB / 389.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.606, allocations: 0.8148 MB / 389.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.606, allocations: 1.281 kB / 389.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.6061, allocations: 3.906 kB / 389.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6061, allocations: 1.281 kB / 389.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.6062, allocations: 21.28 kB / 389.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6062, allocations: 1.281 kB / 389.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6062, allocations: 1.312 kB / 390 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.6078, allocations: 0.9092 MB / 390.9 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.6079, allocations: 107.6 kB / 391 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6081, allocations: 31.17 kB / 391 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.6084, allocations: 28.83 kB / 391 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6085, allocations: 27.98 kB / 391.1 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.6086, allocations: 26.12 kB / 391.1 MB, free: 21.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.609, allocations: 207.8 kB / 391.3 MB, free: 21.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.609, allocations: 0 / 391.3 MB, free: 21.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008931/0.6099, allocations: 166.1 kB / 391.4 MB, free: 21.7 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.002532/0.6124, allocations: 1.764 MB / 393.2 MB, free: 20.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.6139, allocations: 0.9732 MB / 394.2 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6139, allocations: 0 / 394.2 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.6147, allocations: 0.6088 MB / 394.8 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.6151, allocations: 28.88 kB / 394.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.6171, allocations: 0.6216 MB / 395.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.6176, allocations: 0.7849 MB / 396.2 MB, free: 18.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.6177, allocations: 18.14 kB / 396.2 MB, free: 18.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6178, allocations: 78.5 kB / 396.3 MB, free: 18.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6178, allocations: 0 / 396.3 MB, free: 18.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.6532, allocations: 6.925 MB / 403.2 MB, free: 17.88 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.6534, allocations: 138.9 kB / 403.4 MB, free: 17.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/3.59, allocations: 0 / 403.4 MB, free: 17.66 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