Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.29/2.29, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.374e-05, allocations: 7.984 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5476, allocations: 82.62 MB / 425.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.548, allocations: 69.59 kB / 425.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1214/0.6694, allocations: 26.56 MB / 452.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6694, allocations: 8 kB / 452.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.172e-05/0.6695, allocations: 8 kB / 452.4 MB, free: 4.922 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.002186/0.6717, allocations: 0.9975 MB / 453.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.6718, allocations: 8.031 kB / 453.4 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.6719, allocations: 56.98 kB / 453.5 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.6723, allocations: 79.06 kB / 453.6 MB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.6743, allocations: 0.6104 MB / 454.2 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.6744, allocations: 17.88 kB / 454.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.6745, allocations: 23.11 kB / 454.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.6754, allocations: 351.5 kB / 454.5 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6755, allocations: 0 / 454.5 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.6755, allocations: 19.12 kB / 454.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6756, allocations: 11.98 kB / 454.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.6761, allocations: 183.7 kB / 454.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.6798, allocations: 1.425 MB / 456.2 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.6812, allocations: 343 kB / 456.5 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.682, allocations: 179.5 kB / 456.7 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.682, allocations: 4 kB / 456.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.6834, allocations: 471.2 kB / 457.2 MB, free: 268 kB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 5.39e-06/0.6835, allocations: 3.938 kB / 457.2 MB, free: 264 kB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002954/0.6864, allocations: 0.6262 MB / 457.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000403/0.6869, allocations: 456.9 kB / 458.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.6901, allocations: 0.8434 MB / 459.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.6905, allocations: 45.69 kB / 459.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.6912, allocations: 301 kB / 459.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.6915, allocations: 110.6 kB / 459.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.6916, allocations: 16 kB / 459.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.6918, allocations: 330 kB / 459.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/0.6926, allocations: 157 kB / 460 MB, free: 13.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.6937, allocations: 358.1 kB / 460.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/0.6946, allocations: 267.1 kB / 460.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.6946, allocations: 0 / 460.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00291/0.6976, allocations: 0.6769 MB / 461.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.6978, allocations: 97.09 kB / 461.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.6978, allocations: 4 kB / 461.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/0.6979, allocations: 8 kB / 461.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.6988, allocations: 59.91 kB / 461.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.6988, allocations: 15.89 kB / 461.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6999, allocations: 52 kB / 461.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.7001, allocations: 24 kB / 461.6 MB, free: 11.57 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.0005571/0.7007, allocations: 266.4 kB / 461.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/0.7012, allocations: 83.06 kB / 461.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.7035, allocations: 0.5182 MB / 462.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.7036, allocations: 4 kB / 462.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.7036, allocations: 7.922 kB / 462.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.7036, allocations: 8.234 kB / 462.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.7073, allocations: 1.063 MB / 463.5 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.7073, allocations: 4 kB / 463.5 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.7077, allocations: 35.86 kB / 463.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.7078, allocations: 4 kB / 463.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.7079, allocations: 16 kB / 463.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.7079, allocations: 11.94 kB / 463.6 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7079, allocations: 0 / 463.6 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.7108, allocations: 0.8555 MB / 464.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.7114, allocations: 192.1 kB / 464.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.7118, allocations: 24 kB / 464.6 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.7126, allocations: 31.97 kB / 464.7 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.7128, allocations: 35.94 kB / 464.7 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.7129, allocations: 31.98 kB / 464.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002264/0.7152, allocations: 0.6553 MB / 465.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.7153, allocations: 0 / 465.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001882/0.7172, allocations: 188 kB / 465.6 MB, free: 7.359 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.005495/0.7227, allocations: 1.961 MB / 467.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.7249, allocations: 0.6346 MB / 468.2 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.725, allocations: 0.5625 kB / 468.2 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7261, allocations: 442 kB / 468.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.7281, allocations: 150.2 kB / 468.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/0.7342, allocations: 1.16 MB / 469.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.7356, allocations: 0.953 MB / 470.9 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001032/0.7367, allocations: 133.1 kB / 471 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009384/0.7377, allocations: 239.3 kB / 471.2 MB, free: 1.602 MB / 378.7 MB Notification: Performance of SimCode: time 4.638e-06/0.7377, allocations: 0 / 471.2 MB, free: 1.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/0.8703, allocations: 15.53 MB / 486.8 MB, free: 2.195 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.8706, allocations: 185.3 kB / 486.9 MB, free: 1.973 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/4.019, allocations: 0 / 486.9 MB, free: 1.973 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat does not exist to compare? outputFormat=mat