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.177/2.177, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.273e-05, allocations: 4 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09855, allocations: 44.5 MB / 299.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.5629, allocations: 72.9 MB / 372.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5633, allocations: 66.16 kB / 372.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.5799, allocations: 2.714 MB / 375.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.58, allocations: 1.406 kB / 375.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.58, allocations: 3.562 kB / 375.6 MB, free: 12.05 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.001258/0.5813, allocations: 483.1 kB / 376.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.5814, allocations: 9.062 kB / 376.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.434e-05/0.5815, allocations: 46.94 kB / 376.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5816, allocations: 24.09 kB / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.5821, allocations: 241 kB / 376.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.5821, allocations: 13.5 kB / 376.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.5822, allocations: 14.53 kB / 376.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.5829, allocations: 197.7 kB / 376.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5829, allocations: 1.375 kB / 376.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.583, allocations: 4.344 kB / 376.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.583, allocations: 5.844 kB / 376.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.5835, allocations: 114.9 kB / 376.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.5858, allocations: 0.8046 MB / 377.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5871, allocations: 192.2 kB / 377.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.5873, allocations: 51.94 kB / 377.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.5874, allocations: 10.94 kB / 377.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.5879, allocations: 134.8 kB / 377.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 4.809e-06/0.5879, allocations: 0 / 377.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.000729/0.5886, allocations: 169.9 kB / 378.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5887, allocations: 87.5 kB / 378.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.5891, allocations: 192.7 kB / 378.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.5891, allocations: 36.33 kB / 378.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5893, allocations: 139.8 kB / 378.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.5893, allocations: 34.5 kB / 378.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.5894, allocations: 4.594 kB / 378.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.5895, allocations: 329.6 kB / 378.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.5897, allocations: 54.77 kB / 379 MB, free: 9.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.59, allocations: 128.3 kB / 379.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.5903, allocations: 73.47 kB / 379.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.5903, allocations: 1.281 kB / 379.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007468/0.5911, allocations: 225.2 kB / 379.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.5912, allocations: 7.734 kB / 379.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5912, allocations: 2.781 kB / 379.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.5912, allocations: 4.062 kB / 379.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.5917, allocations: 44.41 kB / 379.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.5917, allocations: 7.156 kB / 379.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.5922, allocations: 38.83 kB / 379.5 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.5922, allocations: 8.562 kB / 379.5 MB, free: 9.75 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.0001614/0.5924, allocations: 128.6 kB / 379.6 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.5925, allocations: 21.09 kB / 379.6 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.5933, allocations: 132.5 kB / 379.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.5933, allocations: 1.188 kB / 379.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.5934, allocations: 1.281 kB / 379.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.5934, allocations: 2.781 kB / 379.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.5949, allocations: 486.8 kB / 380.3 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5949, allocations: 5.812 kB / 380.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.5952, allocations: 20.75 kB / 380.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5952, allocations: 1.094 kB / 380.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.5953, allocations: 10.31 kB / 380.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5953, allocations: 1.969 kB / 380.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5953, allocations: 3.953 kB / 380.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.5959, allocations: 279.3 kB / 380.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.596, allocations: 94.64 kB / 380.7 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.5961, allocations: 6.328 kB / 380.7 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.5966, allocations: 28.66 kB / 380.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.5967, allocations: 19.47 kB / 380.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.5968, allocations: 9 kB / 380.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002415/0.597, allocations: 150.1 kB / 380.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.597, allocations: 0 / 380.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00074/0.5978, allocations: 51 kB / 380.9 MB, free: 8.883 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.001037/0.5988, allocations: 0.8883 MB / 381.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006496/0.5995, allocations: 148.9 kB / 382 MB, free: 8.109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5995, allocations: 0 / 382 MB, free: 8.109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.5999, allocations: 69.09 kB / 382 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.6004, allocations: 23.27 kB / 382 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.6019, allocations: 311.9 kB / 382.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6023, allocations: 0.7406 MB / 383.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00026/0.6025, allocations: 33.84 kB / 383.1 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.6028, allocations: 66.89 kB / 383.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6028, allocations: 0 / 383.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05233/0.6551, allocations: 3.572 MB / 386.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.6554, allocations: 155.5 kB / 386.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.396, allocations: 0 / 386.9 MB, free: 6.613 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