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 1.725/1.725, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.081e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2551, allocations: 38.77 MB / 263.8 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3732, allocations: 66.5 MB / 330.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.3735, allocations: 59.97 kB / 330.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007689/0.3812, allocations: 1.666 MB / 332.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3813, allocations: 0 / 332.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3813, allocations: 4 kB / 332.1 MB, free: 5.379 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.0005881/0.3819, allocations: 429.8 kB / 332.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3819, allocations: 8.031 kB / 332.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.382, allocations: 30.56 kB / 332.5 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.3821, allocations: 11.91 kB / 332.5 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3822, allocations: 175 kB / 332.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3823, allocations: 8 kB / 332.7 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3823, allocations: 7.938 kB / 332.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.3825, allocations: 93.06 kB / 332.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3826, allocations: 0 / 332.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3826, allocations: 0 / 332.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3826, allocations: 0 / 332.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3827, allocations: 51.86 kB / 332.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.3833, allocations: 374.8 kB / 333.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3835, allocations: 103.8 kB / 333.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3837, allocations: 38.58 kB / 333.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3837, allocations: 4 kB / 333.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.3839, allocations: 151.6 kB / 333.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.495e-06/0.384, allocations: 0 / 333.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004196/0.3844, allocations: 159.2 kB / 333.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3845, allocations: 162.2 kB / 333.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3847, allocations: 121.3 kB / 334 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.3847, allocations: 33.69 kB / 334 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.3848, allocations: 88.33 kB / 334.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.3848, allocations: 19.8 kB / 334.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.3848, allocations: 4.062 kB / 334.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.385, allocations: 326.8 kB / 334.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.3851, allocations: 27.92 kB / 334.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3852, allocations: 51.38 kB / 334.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3853, allocations: 83.33 kB / 334.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3853, allocations: 0 / 334.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003587/0.3857, allocations: 192.8 kB / 334.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.3858, allocations: 59.41 kB / 334.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3858, allocations: 0 / 334.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3858, allocations: 7.984 kB / 334.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.3859, allocations: 4 kB / 334.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3859, allocations: 0 / 334.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3861, allocations: 15.92 kB / 334.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.3861, allocations: 12 kB / 334.9 MB, free: 2.199 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.000127/0.3862, allocations: 148.8 kB / 335 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3863, allocations: 15.8 kB / 335 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.3863, allocations: 16.08 kB / 335 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3864, allocations: 3.984 kB / 335 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3864, allocations: 4 kB / 335 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3864, allocations: 0 / 335 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.3866, allocations: 193.6 kB / 335.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3866, allocations: 0 / 335.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.3867, allocations: 8 kB / 335.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3867, allocations: 3.953 kB / 335.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3867, allocations: 8 kB / 335.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3867, allocations: 0 / 335.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3867, allocations: 3.938 kB / 335.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.3872, allocations: 235.2 kB / 335.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3872, allocations: 85.02 kB / 335.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.3873, allocations: 8 kB / 335.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3875, allocations: 11.98 kB / 335.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.3876, allocations: 23.91 kB / 335.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3876, allocations: 4 kB / 335.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.3877, allocations: 102.4 kB / 335.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3877, allocations: 4 kB / 335.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000324/0.388, allocations: 39.98 kB / 335.8 MB, free: 1.176 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.0008432/0.3889, allocations: 0.9205 MB / 336.7 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.3892, allocations: 186.8 kB / 336.9 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3892, allocations: 0 / 336.9 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.3895, allocations: 123.3 kB / 337 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.3897, allocations: 16.5 kB / 337 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.3904, allocations: 204.7 kB / 337.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3907, allocations: 0.6965 MB / 337.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.3907, allocations: 8.656 kB / 337.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.3908, allocations: 23.44 kB / 337.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3908, allocations: 0 / 337.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.4127, allocations: 2.269 MB / 340.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.4131, allocations: 145.1 kB / 340.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.693, allocations: 0 / 340.3 MB, free: 12.42 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