Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.643/1.643, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.132e-05, allocations: 4 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.3833, allocations: 67.6 MB / 331.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.3837, allocations: 67.97 kB / 331.5 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.3998, allocations: 2.724 MB / 334.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3998, allocations: 0 / 334.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.3999, allocations: 4 kB / 334.2 MB, free: 3.324 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00125/0.4011, allocations: 484 kB / 334.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4012, allocations: 8.031 kB / 334.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.4013, allocations: 54.55 kB / 334.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.4014, allocations: 23.72 kB / 334.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.4019, allocations: 231.5 kB / 335 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.402, allocations: 20 kB / 335 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.4021, allocations: 16 kB / 335 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.4027, allocations: 205 kB / 335.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4028, allocations: 0 / 335.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.4028, allocations: 4 kB / 335.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.4029, allocations: 8 kB / 335.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.4034, allocations: 119.9 kB / 335.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.4056, allocations: 0.8012 MB / 336.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.4068, allocations: 198.6 kB / 336.4 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.407, allocations: 52.84 kB / 336.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.4071, allocations: 4 kB / 336.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.4075, allocations: 131.2 kB / 336.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.256e-06/0.4075, allocations: 0 / 336.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006698/0.4082, allocations: 165.3 kB / 336.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.4083, allocations: 85.11 kB / 336.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.4087, allocations: 210 kB / 337 MB, free: 312 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.4088, allocations: 33.7 kB / 337 MB, free: 272 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.409, allocations: 136.3 kB / 337.2 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.409, allocations: 31.61 kB / 337.2 MB, free: 100 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4091, allocations: 4 kB / 337.2 MB, free: 96 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4093, allocations: 326.8 kB / 337.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.4096, allocations: 59.98 kB / 337.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4099, allocations: 120.6 kB / 337.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4102, allocations: 76.41 kB / 337.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4102, allocations: 0 / 337.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007892/0.411, allocations: 233.2 kB / 338 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4111, allocations: 4.25 kB / 338 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4111, allocations: 8 kB / 338 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4111, allocations: 4 kB / 338 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.4116, allocations: 39.91 kB / 338.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.4116, allocations: 4 kB / 338.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.412, allocations: 35.83 kB / 338.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.4121, allocations: 8 kB / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001809/0.4123, allocations: 139.7 kB / 338.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.4124, allocations: 15.81 kB / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.4128, allocations: 131.1 kB / 338.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4129, allocations: 0 / 338.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4129, allocations: 0 / 338.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4129, allocations: 4 kB / 338.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.4139, allocations: 486.2 kB / 338.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4139, allocations: 288 / 338.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.4141, allocations: 23.92 kB / 338.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.4141, allocations: 0 / 338.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.4142, allocations: 7.922 kB / 338.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4142, allocations: 4 kB / 338.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4142, allocations: 0 / 338.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.4147, allocations: 273.8 kB / 339.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4149, allocations: 112.8 kB / 339.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.4149, allocations: 4 kB / 339.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.4152, allocations: 31.91 kB / 339.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.4153, allocations: 27.95 kB / 339.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4154, allocations: 4 kB / 339.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.4156, allocations: 148.6 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4156, allocations: 0 / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.416, allocations: 47.91 kB / 339.5 MB, free: 13.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0009599/0.417, allocations: 0.8933 MB / 340.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.4175, allocations: 150.9 kB / 340.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4175, allocations: 0 / 340.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.4177, allocations: 68.42 kB / 340.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4181, allocations: 27.98 kB / 340.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4192, allocations: 316.5 kB / 341 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4196, allocations: 0.7443 MB / 341.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.4198, allocations: 33.52 kB / 341.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.42, allocations: 59.42 kB / 341.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.42, allocations: 0 / 341.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.4439, allocations: 3.595 MB / 345.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.4443, allocations: 145.5 kB / 345.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/2.943, allocations: 0 / 345.6 MB, free: 7.461 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1_res.mat does not exist to compare? outputFormat=mat