Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.169/2.169, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.006e-05, allocations: 0 / 269.4 MB, free: 6.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 47.57 MB / 317 MB, free: 6.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.6025, allocations: 80.94 MB / 397.9 MB, free: 6.797 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.6028, allocations: 75.28 kB / 398 MB, free: 6.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1226/0.7255, allocations: 25.89 MB / 423.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7256, allocations: 4 kB / 423.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.693e-05/0.7257, allocations: 15.98 kB / 423.9 MB, free: 1.031 MB / 330.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.002097/0.7278, allocations: 0.9854 MB / 424.9 MB, free: 0 / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.718e-05/0.7279, allocations: 12.08 kB / 424.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.728, allocations: 61.61 kB / 425 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.7284, allocations: 83 kB / 425.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.7304, allocations: 0.61 MB / 425.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.7305, allocations: 15.38 kB / 425.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/0.7306, allocations: 31.75 kB / 425.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.7315, allocations: 356 kB / 426.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.7316, allocations: 0 / 426.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.7316, allocations: 11.48 kB / 426.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.7317, allocations: 8 kB / 426.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.7323, allocations: 189.1 kB / 426.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.7353, allocations: 1.428 MB / 427.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.7362, allocations: 343.8 kB / 428 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.7367, allocations: 194.8 kB / 428.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.7367, allocations: 4.078 kB / 428.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008536/0.7376, allocations: 463 kB / 428.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.958e-06/0.7376, allocations: 0 / 428.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001827/0.7395, allocations: 0.6222 MB / 429.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002585/0.7398, allocations: 456.8 kB / 429.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.7417, allocations: 0.8374 MB / 430.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.7419, allocations: 44.94 kB / 430.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.7423, allocations: 307.2 kB / 430.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.7425, allocations: 116.7 kB / 431.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.7425, allocations: 11.5 kB / 431.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.7427, allocations: 324.5 kB / 431.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.7431, allocations: 152.5 kB / 431.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.7438, allocations: 354.6 kB / 431.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.7443, allocations: 267.9 kB / 432.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.7444, allocations: 0 / 432.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001779/0.7462, allocations: 0.6805 MB / 432.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.996e-05/0.7463, allocations: 96.91 kB / 432.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7463, allocations: 7.938 kB / 432.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.7464, allocations: 8 kB / 432.9 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.7469, allocations: 59.47 kB / 433 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.7469, allocations: 15.92 kB / 433 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.7475, allocations: 55.2 kB / 433.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.7476, allocations: 23.5 kB / 433.1 MB, free: 8.793 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(fixed = false protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(fixed = false protected = true ) "Connector of Boolean output signal" type: Boolean 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.0003952/0.748, allocations: 267.6 kB / 433.3 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.7483, allocations: 91 kB / 433.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.7497, allocations: 0.5185 MB / 433.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.7498, allocations: 7.984 kB / 434 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7498, allocations: 0 / 434 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7498, allocations: 4 kB / 434 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.7519, allocations: 1.057 MB / 435 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.752, allocations: 7.953 kB / 435 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.7523, allocations: 31.92 kB / 435.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.7523, allocations: 0 / 435.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.7524, allocations: 26.73 kB / 435.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.7524, allocations: 0 / 435.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.7524, allocations: 4 kB / 435.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.7543, allocations: 0.8473 MB / 435.9 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.7548, allocations: 196.1 kB / 436.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.755, allocations: 23.12 kB / 436.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.7555, allocations: 35.22 kB / 436.2 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.7557, allocations: 42.91 kB / 436.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.7557, allocations: 23.55 kB / 436.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001381/0.7571, allocations: 0.6584 MB / 436.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7572, allocations: 0 / 436.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001112/0.7583, allocations: 188.6 kB / 437.1 MB, free: 5.328 MB / 346.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.003554/0.7618, allocations: 1.964 MB / 439 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.7633, allocations: 0.628 MB / 439.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.7634, allocations: 4 kB / 439.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.7641, allocations: 437 kB / 440.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.7655, allocations: 157.3 kB / 440.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.7692, allocations: 1.172 MB / 441.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.77, allocations: 0.9537 MB / 442.4 MB, free: 500 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007201/0.7708, allocations: 109.1 kB / 442.5 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/0.7713, allocations: 248.3 kB / 442.7 MB, free: 308 kB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7713, allocations: 0 / 442.7 MB, free: 308 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07579/0.8471, allocations: 15.53 MB / 458.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000422/0.8477, allocations: 190.1 kB / 458.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.059, allocations: 4 kB / 458.5 MB, free: 0.5625 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Interaction1_res.mat does not exist to compare? outputFormat=mat