Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.341e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.6008, allocations: 77.21 MB / 394.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.6011, allocations: 64.72 kB / 394.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01816/0.6193, allocations: 2.746 MB / 397 MB, free: 8.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6194, allocations: 0 / 397 MB, free: 8.027 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.6194, allocations: 8 kB / 397 MB, free: 8.02 MB / 314.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.001464/0.6209, allocations: 480.2 kB / 397.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.621, allocations: 15.95 kB / 397.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.6212, allocations: 51.8 kB / 397.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.6213, allocations: 23.72 kB / 397.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.6219, allocations: 226.4 kB / 397.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.622, allocations: 19.06 kB / 397.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.622, allocations: 22.14 kB / 397.9 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.6227, allocations: 179.9 kB / 398 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.6228, allocations: 4 kB / 398 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.6228, allocations: 6.375 kB / 398 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.6229, allocations: 11.98 kB / 398.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.6232, allocations: 120.6 kB / 398.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.625, allocations: 0.8094 MB / 399 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6261, allocations: 189.8 kB / 399.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.6264, allocations: 54.53 kB / 399.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.6264, allocations: 0 / 399.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.6269, allocations: 134 kB / 399.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.6269, allocations: 0 / 399.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006794/0.6276, allocations: 164.6 kB / 399.5 MB, free: 5.625 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.6277, allocations: 89.09 kB / 399.6 MB, free: 5.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.6281, allocations: 193.3 kB / 399.8 MB, free: 5.348 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.6282, allocations: 29.14 kB / 399.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.6283, allocations: 146.4 kB / 400 MB, free: 5.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.6284, allocations: 32.41 kB / 400 MB, free: 5.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.6285, allocations: 7.188 kB / 400 MB, free: 5.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6287, allocations: 334.7 kB / 400.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.6289, allocations: 52.8 kB / 400.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.6293, allocations: 123.3 kB / 400.5 MB, free: 4.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.6296, allocations: 73.88 kB / 400.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6296, allocations: 0 / 400.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007902/0.6304, allocations: 218.8 kB / 400.8 MB, free: 4.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.6305, allocations: 8 kB / 400.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6305, allocations: 256 / 400.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.6305, allocations: 8 kB / 400.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.631, allocations: 46.91 kB / 400.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.631, allocations: 4 kB / 400.9 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.6315, allocations: 31.39 kB / 400.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.6316, allocations: 11.98 kB / 400.9 MB, free: 4.332 MB / 314.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.pulseStart,booleanPulse1.pulseStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,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.0001927/0.6318, allocations: 136.6 kB / 401 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.6318, allocations: 15.81 kB / 401 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.6324, allocations: 133.9 kB / 401.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.6324, allocations: 4 kB / 401.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6324, allocations: 0 / 401.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6324, allocations: 0 / 401.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.6337, allocations: 484.4 kB / 401.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6337, allocations: 0 / 401.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.634, allocations: 27.91 kB / 401.7 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.634, allocations: 4.125 kB / 401.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.6341, allocations: 4 kB / 401.7 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6341, allocations: 0 / 401.7 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6341, allocations: 0 / 401.7 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.6348, allocations: 276.1 kB / 402 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.635, allocations: 100.8 kB / 402.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/0.6351, allocations: 7.312 kB / 402.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.6357, allocations: 19.98 kB / 402.1 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6359, allocations: 30.33 kB / 402.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.636, allocations: 4 kB / 402.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003148/0.6363, allocations: 155 kB / 402.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6363, allocations: 0 / 402.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009514/0.6373, allocations: 42.31 kB / 402.3 MB, free: 2.961 MB / 314.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.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,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.001772/0.6391, allocations: 0.8994 MB / 403.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.6398, allocations: 136.8 kB / 403.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.6398, allocations: 0 / 403.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.6402, allocations: 69.16 kB / 403.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.6408, allocations: 38.7 kB / 403.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.6425, allocations: 307.1 kB / 403.7 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.6431, allocations: 0.7442 MB / 404.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.6434, allocations: 33.53 kB / 404.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.6437, allocations: 65.28 kB / 404.6 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6437, allocations: 0 / 404.6 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.708, allocations: 3.565 MB / 408.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003429/0.7084, allocations: 141 kB / 408.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.068, allocations: 4 kB / 408.3 MB, free: 13.02 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.mat does not exist to compare? outputFormat=mat