Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.547e-05, allocations: 7.984 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1371, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5921, allocations: 72.9 MB / 372.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5924, allocations: 66.98 kB / 372.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.6053, allocations: 2.712 MB / 375.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6054, allocations: 1.156 kB / 375.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.6054, allocations: 3.531 kB / 375.7 MB, free: 12.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.00101/0.6065, allocations: 477.2 kB / 376.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6065, allocations: 9.219 kB / 376.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/0.6066, allocations: 51.61 kB / 376.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.6067, allocations: 23.06 kB / 376.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.607, allocations: 239.2 kB / 376.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.6071, allocations: 17.47 kB / 376.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.6071, allocations: 14.94 kB / 376.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.6076, allocations: 192.5 kB / 376.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.6077, allocations: 1.188 kB / 376.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.6077, allocations: 4.469 kB / 376.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.6077, allocations: 7.812 kB / 376.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.6081, allocations: 114.8 kB / 376.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.6098, allocations: 0.8064 MB / 377.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/0.6108, allocations: 191.7 kB / 377.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.611, allocations: 50.86 kB / 377.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.49e-05/0.6111, allocations: 6.719 kB / 377.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.6115, allocations: 128.6 kB / 378 MB, free: 10.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.6115, allocations: 0 / 378 MB, free: 10.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005867/0.6121, allocations: 166.6 kB / 378.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.6121, allocations: 92.58 kB / 378.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.6125, allocations: 195.4 kB / 378.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.6125, allocations: 30.61 kB / 378.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.6126, allocations: 145.1 kB / 378.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.6127, allocations: 31.02 kB / 378.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.6127, allocations: 4.531 kB / 378.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.6128, allocations: 332.9 kB / 378.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.613, allocations: 52.44 kB / 379 MB, free: 9.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.6132, allocations: 124.4 kB / 379.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.6134, allocations: 74.88 kB / 379.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6134, allocations: 1.062 kB / 379.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006368/0.6141, allocations: 217 kB / 379.4 MB, free: 9.746 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.6141, allocations: 11.09 kB / 379.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6141, allocations: 6.25 kB / 379.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6142, allocations: 4 kB / 379.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.6145, allocations: 41.92 kB / 379.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6146, allocations: 8.531 kB / 379.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.6149, allocations: 36.61 kB / 379.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.615, allocations: 10.41 kB / 379.5 MB, free: 9.723 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.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.0001212/0.6151, allocations: 132.1 kB / 379.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.6152, allocations: 18.47 kB / 379.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.6155, allocations: 122.5 kB / 379.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6156, allocations: 1.594 kB / 379.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6156, allocations: 6.891 kB / 379.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6156, allocations: 0 / 379.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.6165, allocations: 488 kB / 380.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6165, allocations: 0 / 380.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.6167, allocations: 18.83 kB / 380.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6167, allocations: 1.625 kB / 380.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.6168, allocations: 7.188 kB / 380.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.6168, allocations: 5.234 kB / 380.3 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6168, allocations: 7.891 kB / 380.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.6173, allocations: 284.5 kB / 380.6 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.6173, allocations: 94.98 kB / 380.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.6174, allocations: 2.719 kB / 380.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.6177, allocations: 28.31 kB / 380.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.6178, allocations: 24.34 kB / 380.7 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.6179, allocations: 7 kB / 380.7 MB, free: 8.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.6181, allocations: 144.3 kB / 380.9 MB, free: 8.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6181, allocations: 0 / 380.9 MB, free: 8.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000496/0.6186, allocations: 46.66 kB / 380.9 MB, free: 8.863 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.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.000782/0.6194, allocations: 0.902 MB / 381.8 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004773/0.6199, allocations: 147.9 kB / 382 MB, free: 8.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6199, allocations: 0 / 382 MB, free: 8.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.6201, allocations: 66.06 kB / 382 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.6206, allocations: 32.7 kB / 382.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.6217, allocations: 308.3 kB / 382.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.622, allocations: 0.736 MB / 383.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.6222, allocations: 34.3 kB / 383.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.6224, allocations: 66.08 kB / 383.2 MB, free: 7.195 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6224, allocations: 3.938 kB / 383.2 MB, free: 7.191 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.6506, allocations: 3.562 MB / 386.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.6509, allocations: 150.2 kB / 386.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.289, allocations: 0 / 386.9 MB, free: 6.586 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1_res.mat does not exist to compare? outputFormat=mat