Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.481e-05, allocations: 3.984 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2742, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4065, allocations: 66.51 MB / 330.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4068, allocations: 67.91 kB / 330.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00826/0.415, allocations: 1.654 MB / 332.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4151, allocations: 4 kB / 332.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.4151, allocations: 0 / 332.1 MB, free: 5.383 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006915/0.4158, allocations: 433.8 kB / 332.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4159, allocations: 8.031 kB / 332.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.416, allocations: 34.56 kB / 332.6 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.416, allocations: 7.906 kB / 332.6 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4162, allocations: 174.9 kB / 332.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4162, allocations: 8 kB / 332.8 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.4163, allocations: 4 kB / 332.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.4165, allocations: 97.06 kB / 332.9 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4166, allocations: 3.938 kB / 332.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4166, allocations: 0 / 332.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.4166, allocations: 4 kB / 332.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.4167, allocations: 32 kB / 332.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.4174, allocations: 386.7 kB / 333.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.4176, allocations: 91.77 kB / 333.4 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4177, allocations: 46.52 kB / 333.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.4178, allocations: 11.98 kB / 333.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.4181, allocations: 139.7 kB / 333.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 5.029e-06/0.4181, allocations: 0 / 333.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.4185, allocations: 159.2 kB / 333.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.4187, allocations: 170.1 kB / 333.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4188, allocations: 125.3 kB / 334 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4189, allocations: 29.7 kB / 334 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.419, allocations: 92.33 kB / 334.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.419, allocations: 19.8 kB / 334.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.419, allocations: 4 kB / 334.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4192, allocations: 318.8 kB / 334.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.4193, allocations: 20 kB / 334.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4194, allocations: 63.42 kB / 334.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.4195, allocations: 79.39 kB / 334.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4195, allocations: 0 / 334.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003594/0.4199, allocations: 180.8 kB / 334.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.42, allocations: 63.39 kB / 334.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.42, allocations: 0 / 334.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.42, allocations: 0 / 334.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.4201, allocations: 16 kB / 334.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4201, allocations: 4 kB / 334.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.4203, allocations: 15.92 kB / 334.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.4204, allocations: 4 kB / 334.9 MB, free: 2.211 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001362/0.4205, allocations: 146.7 kB / 335 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.4206, allocations: 15.86 kB / 335 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.4206, allocations: 16.09 kB / 335.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4206, allocations: 0 / 335.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4207, allocations: 3.938 kB / 335.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4207, allocations: 0 / 335.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4209, allocations: 197.6 kB / 335.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4209, allocations: 0 / 335.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.421, allocations: 3.938 kB / 335.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.421, allocations: 7.953 kB / 335.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.421, allocations: 0 / 335.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.421, allocations: 7.984 kB / 335.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4211, allocations: 3.938 kB / 335.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.4215, allocations: 235.1 kB / 335.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.4216, allocations: 85 kB / 335.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.4216, allocations: 4.188 kB / 335.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.4218, allocations: 27.98 kB / 335.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.4219, allocations: 7.984 kB / 335.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4219, allocations: 8 kB / 335.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4221, allocations: 102.4 kB / 335.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4221, allocations: 0 / 335.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.4225, allocations: 36 kB / 335.8 MB, free: 1.195 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0009304/0.4234, allocations: 0.9284 MB / 336.7 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.4238, allocations: 190.7 kB / 336.9 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4238, allocations: 0 / 336.9 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.4241, allocations: 119.5 kB / 337 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4244, allocations: 15.95 kB / 337 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.4251, allocations: 201 kB / 337.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4254, allocations: 0.6965 MB / 337.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.4255, allocations: 8.797 kB / 337.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.4256, allocations: 23.44 kB / 337.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4256, allocations: 0 / 337.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.4492, allocations: 2.261 MB / 340.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003735/0.4496, allocations: 143.7 kB / 340.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.084, allocations: 0 / 340.3 MB, free: 12.45 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat