Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.LogicalNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_LogicalNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.481e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5385, allocations: 78.91 MB / 395.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.5388, allocations: 74.45 kB / 396 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04394/0.5828, allocations: 8.969 MB / 405 MB, free: 1.223 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5828, allocations: 4 kB / 405 MB, free: 1.219 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.5829, allocations: 8 kB / 405 MB, free: 1.211 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001058/0.584, allocations: 0.5715 MB / 405.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.584, allocations: 8.031 kB / 405.6 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.5841, allocations: 46.11 kB / 405.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.5842, allocations: 31.62 kB / 405.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.5851, allocations: 342.1 kB / 406 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.5852, allocations: 11.98 kB / 406 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.5852, allocations: 15.83 kB / 406 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.5856, allocations: 142.7 kB / 406.1 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5856, allocations: 0 / 406.1 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.5857, allocations: 4 kB / 406.1 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5857, allocations: 0 / 406.1 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.5859, allocations: 74.7 kB / 406.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.5872, allocations: 0.5116 MB / 406.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.5876, allocations: 129.2 kB / 406.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.5877, allocations: 50.16 kB / 406.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5878, allocations: 0 / 406.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.588, allocations: 107.4 kB / 407 MB, free: 15.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/0.5881, allocations: 0 / 407 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005575/0.5886, allocations: 169.2 kB / 407.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.5887, allocations: 114.8 kB / 407.3 MB, free: 15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.5895, allocations: 390.5 kB / 407.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.5896, allocations: 29.2 kB / 407.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.5898, allocations: 166.6 kB / 407.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.5898, allocations: 42.03 kB / 407.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.5899, allocations: 3.25 kB / 407.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.59, allocations: 343.9 kB / 408.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.5902, allocations: 39.19 kB / 408.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.5904, allocations: 111 kB / 408.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.5906, allocations: 45 kB / 408.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5906, allocations: 0 / 408.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004676/0.591, allocations: 174.4 kB / 408.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5911, allocations: 16 kB / 408.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5911, allocations: 0 / 408.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5911, allocations: 3.953 kB / 408.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.5914, allocations: 27.92 kB / 408.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5914, allocations: 0 / 408.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.5917, allocations: 15.16 kB / 408.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5917, allocations: 8 kB / 408.7 MB, free: 13.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEvent,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,And1.u1,And1.u2,And1.y,Or1.u1,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001444/0.5919, allocations: 133.2 kB / 408.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.592, allocations: 27.62 kB / 408.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.5926, allocations: 193.2 kB / 409 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5926, allocations: 7.891 kB / 409 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5926, allocations: 0 / 409 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.5926, allocations: 3.984 kB / 409 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.5931, allocations: 315.5 kB / 409.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5931, allocations: 0 / 409.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.5932, allocations: 15.56 kB / 409.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5933, allocations: 0 / 409.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.5933, allocations: 11.98 kB / 409.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.5933, allocations: 0 / 409.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5933, allocations: 3.953 kB / 409.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.5938, allocations: 206.8 kB / 409.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.594, allocations: 126.2 kB / 409.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.5941, allocations: 7.125 kB / 409.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.5943, allocations: 11.98 kB / 409.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.5944, allocations: 19.3 kB / 409.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.5944, allocations: 7.953 kB / 409.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005767/0.595, allocations: 312.9 kB / 410 MB, free: 12.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.595, allocations: 0 / 410 MB, free: 12.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005932/0.5956, allocations: 63.19 kB / 410.1 MB, free: 12.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,And1.u1,And1.u2,And1.y,Or1.u1,Pre1.u) * Number of discrete states: 5 (Pre1.u,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002022/0.5977, allocations: 1.05 MB / 411.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.5982, allocations: 122.1 kB / 411.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5982, allocations: 0 / 411.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.5984, allocations: 73.88 kB / 411.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.5991, allocations: 72.78 kB / 411.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.6005, allocations: 478.5 kB / 411.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.601, allocations: 0.7823 MB / 412.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003254/0.6014, allocations: 50.05 kB / 412.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6017, allocations: 99.22 kB / 412.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6017, allocations: 0 / 412.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.6387, allocations: 6.628 MB / 419.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/0.6391, allocations: 189.2 kB / 419.6 MB, free: 3.168 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/3.421, allocations: 0 / 419.6 MB, free: 3.168 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_res.mat does not exist to compare? outputFormat=mat