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 2.054/2.054, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.424e-05, allocations: 8 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.461, allocations: 72.24 MB / 366.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.4613, allocations: 63.97 kB / 366.5 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.4777, allocations: 2.697 MB / 369.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4778, allocations: 4 kB / 369.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.4778, allocations: 4 kB / 369.2 MB, free: 6.824 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.001304/0.4791, allocations: 468.1 kB / 369.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.4792, allocations: 16.03 kB / 369.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.4793, allocations: 19.72 kB / 369.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.4799, allocations: 238.6 kB / 370 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.4799, allocations: 8 kB / 370 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.48, allocations: 15.92 kB / 370 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000478/0.4805, allocations: 99.97 kB / 370.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.4811, allocations: 173.4 kB / 370.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4811, allocations: 0 / 370.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.4812, allocations: 7.984 kB / 370.3 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.4812, allocations: 4 kB / 370.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.4834, allocations: 0.7626 MB / 371 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.4847, allocations: 194.6 kB / 371.2 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4849, allocations: 44.84 kB / 371.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.485, allocations: 3.984 kB / 371.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.4854, allocations: 125.9 kB / 371.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.927e-06/0.4854, allocations: 4 kB / 371.4 MB, free: 4.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007028/0.4861, allocations: 153.4 kB / 371.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.4862, allocations: 81.11 kB / 371.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.4866, allocations: 186.8 kB / 371.8 MB, free: 4.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.4867, allocations: 25.7 kB / 371.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4869, allocations: 148.4 kB / 372 MB, free: 3.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.487, allocations: 23.66 kB / 372 MB, free: 3.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.487, allocations: 4 kB / 372 MB, free: 3.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4872, allocations: 338.8 kB / 372.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.4874, allocations: 47.98 kB / 372.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.4878, allocations: 116.7 kB / 372.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.4881, allocations: 67.84 kB / 372.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4881, allocations: 0 / 372.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007777/0.4889, allocations: 205.2 kB / 372.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.489, allocations: 12.25 kB / 372.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.489, allocations: 0 / 372.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.489, allocations: 7.984 kB / 372.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.4895, allocations: 39.92 kB / 372.8 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4895, allocations: 0 / 372.8 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.4899, allocations: 35.81 kB / 372.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.49, allocations: 12 kB / 372.9 MB, free: 2.918 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.000187/0.4902, allocations: 123 kB / 373 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006303/0.4909, allocations: 161.5 kB / 373.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.4909, allocations: 19.8 kB / 373.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.4914, allocations: 123.4 kB / 373.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4915, allocations: 4 kB / 373.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4915, allocations: 0 / 373.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4915, allocations: 3.984 kB / 373.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.4927, allocations: 446.8 kB / 373.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4927, allocations: 0 / 373.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.493, allocations: 19.98 kB / 373.7 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.4931, allocations: 4 kB / 373.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.4931, allocations: 0 / 373.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4931, allocations: 0 / 373.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4932, allocations: 4 kB / 373.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.4938, allocations: 276 kB / 374 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.494, allocations: 96.86 kB / 374.1 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.494, allocations: 4 kB / 374.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.4945, allocations: 23.97 kB / 374.1 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.4946, allocations: 23.92 kB / 374.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.4947, allocations: 4 kB / 374.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.4949, allocations: 137.5 kB / 374.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.495, allocations: 0 / 374.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.4955, allocations: 43.84 kB / 374.3 MB, free: 1.332 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.001039/0.4966, allocations: 0.885 MB / 375.2 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.4971, allocations: 131.8 kB / 375.4 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4971, allocations: 0 / 375.4 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.4973, allocations: 68.41 kB / 375.4 MB, free: 220 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.4978, allocations: 31.94 kB / 375.4 MB, free: 188 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.499, allocations: 290 kB / 375.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.4994, allocations: 0.7437 MB / 376.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.4997, allocations: 30.16 kB / 376.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.4999, allocations: 67.41 kB / 376.6 MB, free: 15 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4999, allocations: 0 / 376.6 MB, free: 15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.5416, allocations: 3.148 MB / 379.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.542, allocations: 123.8 kB / 379.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.206, allocations: 0 / 379.8 MB, free: 11.68 MB / 330.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