Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.337e-05, allocations: 6.031 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 50.42 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5499, allocations: 82.61 MB / 425.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5503, allocations: 70.64 kB / 425.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1592/0.7095, allocations: 26.56 MB / 451.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.7095, allocations: 0 / 451.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.7096, allocations: 15.98 kB / 451.9 MB, free: 5.297 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00208/0.7117, allocations: 0.9983 MB / 452.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.7118, allocations: 12.03 kB / 452.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.7119, allocations: 56.97 kB / 452.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.7123, allocations: 75.06 kB / 453 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.7141, allocations: 0.6051 MB / 453.6 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.7142, allocations: 21.31 kB / 453.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.7143, allocations: 23.5 kB / 453.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/0.7151, allocations: 354.9 kB / 454 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.7152, allocations: 0 / 454 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.7152, allocations: 11.95 kB / 454 MB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.7153, allocations: 15.98 kB / 454 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.7159, allocations: 183.8 kB / 454.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.7186, allocations: 1.431 MB / 455.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.7195, allocations: 343 kB / 456 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.7199, allocations: 179.5 kB / 456.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.72, allocations: 4.078 kB / 456.2 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008286/0.7208, allocations: 467.2 kB / 456.6 MB, free: 392 kB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.567e-06/0.7208, allocations: 0 / 456.6 MB, free: 392 kB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001763/0.7226, allocations: 0.6223 MB / 457.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/0.7229, allocations: 453 kB / 457.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.7249, allocations: 0.8434 MB / 458.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.725, allocations: 49.69 kB / 458.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.7254, allocations: 308.9 kB / 458.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.7256, allocations: 106.7 kB / 459 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.7257, allocations: 4 kB / 459 MB, free: 13.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7258, allocations: 334 kB / 459.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.7264, allocations: 153 kB / 459.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.7275, allocations: 358.1 kB / 459.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.7282, allocations: 279.1 kB / 460.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.7283, allocations: 4 kB / 460.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002023/0.7303, allocations: 0.673 MB / 460.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.7305, allocations: 97.09 kB / 460.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.7305, allocations: 4 kB / 460.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.7306, allocations: 4.281 kB / 460.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.7311, allocations: 68.16 kB / 460.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.7311, allocations: 11.89 kB / 460.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.7319, allocations: 55.72 kB / 461 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/0.732, allocations: 24 kB / 461 MB, free: 11.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0003524/0.7323, allocations: 266.1 kB / 461.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.7325, allocations: 79.06 kB / 461.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.734, allocations: 0.5183 MB / 461.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.734, allocations: 8 kB / 461.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.734, allocations: 3.938 kB / 461.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.734, allocations: 7.938 kB / 461.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.7362, allocations: 1.069 MB / 463 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.7363, allocations: 0 / 463 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.7365, allocations: 35.92 kB / 463 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.7366, allocations: 4 kB / 463 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.7366, allocations: 12 kB / 463 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.7367, allocations: 11.94 kB / 463 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7367, allocations: 4 kB / 463 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7385, allocations: 0.8515 MB / 463.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.7389, allocations: 192.1 kB / 464.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.7391, allocations: 20 kB / 464.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.7396, allocations: 35.97 kB / 464.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.7398, allocations: 39.95 kB / 464.2 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.7399, allocations: 23.98 kB / 464.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.7413, allocations: 0.6553 MB / 464.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7413, allocations: 0 / 464.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001067/0.7424, allocations: 184 kB / 465 MB, free: 7.492 MB / 378.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,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.003532/0.746, allocations: 1.971 MB / 467 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.7474, allocations: 0.6308 MB / 467.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7474, allocations: 0 / 467.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.7482, allocations: 438 kB / 468.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.7495, allocations: 159 kB / 468.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.7529, allocations: 1.172 MB / 469.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.7537, allocations: 0.9452 MB / 470.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.7542, allocations: 121.1 kB / 470.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.7548, allocations: 243.3 kB / 470.7 MB, free: 1.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.454e-06/0.7548, allocations: 4 kB / 470.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.057/0.8118, allocations: 15.53 MB / 486.2 MB, free: 2.328 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.8121, allocations: 184.6 kB / 486.4 MB, free: 2.105 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/4.014, allocations: 3.938 kB / 486.4 MB, free: 2.102 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1_res.mat does not exist to compare? outputFormat=mat