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.889/1.889, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.334e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 38.77 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4167, allocations: 67.61 MB / 331.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.417, allocations: 67.97 kB / 331.5 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01304/0.43, allocations: 2.716 MB / 334.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4301, allocations: 0 / 334.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.4301, allocations: 7.984 kB / 334.3 MB, free: 3.293 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.001052/0.4312, allocations: 484 kB / 334.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4313, allocations: 11.97 kB / 334.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.4314, allocations: 54.48 kB / 334.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.4315, allocations: 23.72 kB / 334.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4319, allocations: 243.5 kB / 335.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.4319, allocations: 16 kB / 335.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.432, allocations: 16 kB / 335.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.4325, allocations: 189.3 kB / 335.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4325, allocations: 0 / 335.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.4326, allocations: 8 kB / 335.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.4326, allocations: 7.984 kB / 335.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.433, allocations: 115.9 kB / 335.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.4348, allocations: 0.8012 MB / 336.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.4357, allocations: 190.7 kB / 336.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.4359, allocations: 52.78 kB / 336.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.436, allocations: 7.984 kB / 336.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.4363, allocations: 129 kB / 336.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.246e-06/0.4364, allocations: 0 / 336.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005377/0.4369, allocations: 169.4 kB / 336.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.437, allocations: 85.09 kB / 336.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.4374, allocations: 206 kB / 337 MB, free: 288 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4374, allocations: 29.7 kB / 337.1 MB, free: 252 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4375, allocations: 132.3 kB / 337.2 MB, free: 116 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.4376, allocations: 35.59 kB / 337.2 MB, free: 80 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.4376, allocations: 8 kB / 337.2 MB, free: 72 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4378, allocations: 330.8 kB / 337.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.438, allocations: 55.98 kB / 337.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.4383, allocations: 120.5 kB / 337.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4385, allocations: 72.48 kB / 337.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4385, allocations: 0 / 337.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005653/0.4391, allocations: 221.1 kB / 338 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.4391, allocations: 8.25 kB / 338 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4391, allocations: 4 kB / 338 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4392, allocations: 4 kB / 338 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.4395, allocations: 44 kB / 338.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4396, allocations: 7.938 kB / 338.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.4399, allocations: 35.81 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.4399, allocations: 8 kB / 338.1 MB, free: 15.13 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.0001518/0.4401, allocations: 139.8 kB / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.4402, allocations: 19.8 kB / 338.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.4406, allocations: 127.1 kB / 338.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4406, allocations: 4 kB / 338.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4406, allocations: 0 / 338.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4406, allocations: 0 / 338.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000946/0.4416, allocations: 490.2 kB / 338.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4416, allocations: 0 / 338.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.4418, allocations: 23.92 kB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.4419, allocations: 4 kB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4419, allocations: 0 / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4419, allocations: 0 / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4419, allocations: 4 kB / 338.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.4424, allocations: 273.8 kB / 339.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.4426, allocations: 108.8 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4426, allocations: 4.125 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.4429, allocations: 31.97 kB / 339.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4431, allocations: 19.97 kB / 339.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4431, allocations: 8 kB / 339.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.4433, allocations: 144.6 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4433, allocations: 3.938 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.4438, allocations: 51.84 kB / 339.6 MB, free: 13.59 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.00095/0.4448, allocations: 0.8965 MB / 340.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.4453, allocations: 136.1 kB / 340.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4453, allocations: 8 kB / 340.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.4455, allocations: 67.86 kB / 340.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4459, allocations: 27.58 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.001107/0.4471, allocations: 320.5 kB / 341 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.4475, allocations: 0.7365 MB / 341.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.4477, allocations: 37.52 kB / 341.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4479, allocations: 63.41 kB / 341.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4479, allocations: 0 / 341.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.4736, allocations: 3.568 MB / 345.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/0.474, allocations: 144.5 kB / 345.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.01, allocations: 0 / 345.5 MB, free: 7.473 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