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.773/1.773, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.931e-05, allocations: 0 / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2696, allocations: 38.77 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4145, allocations: 65.83 MB / 324.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.4149, allocations: 63.97 kB / 324.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009697/0.4246, allocations: 1.643 MB / 325.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4246, allocations: 0 / 325.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.4247, allocations: 4 kB / 325.9 MB, free: 10.32 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.0007342/0.4254, allocations: 433.8 kB / 326.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4255, allocations: 8.031 kB / 326.3 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.4256, allocations: 11.84 kB / 326.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.4258, allocations: 175.9 kB / 326.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.4258, allocations: 0 / 326.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.4259, allocations: 4 kB / 326.5 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001731/0.4261, allocations: 35.92 kB / 326.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.4263, allocations: 97 kB / 326.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4264, allocations: 4 kB / 326.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.4264, allocations: 0 / 326.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4264, allocations: 0 / 326.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.4271, allocations: 359.4 kB / 327 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.4273, allocations: 87.77 kB / 327.1 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4275, allocations: 42.7 kB / 327.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.4275, allocations: 3.953 kB / 327.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.4278, allocations: 147.5 kB / 327.3 MB, free: 8.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.4279, allocations: 0 / 327.3 MB, free: 8.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004853/0.4284, allocations: 121.5 kB / 327.4 MB, free: 8.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.4285, allocations: 162.2 kB / 327.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4287, allocations: 122 kB / 327.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4288, allocations: 25.7 kB / 327.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.4289, allocations: 96 kB / 327.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.4289, allocations: 19.8 kB / 327.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.429, allocations: 0 / 327.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4291, allocations: 318.8 kB / 328.1 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4293, allocations: 23.98 kB / 328.1 MB, free: 7.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.4294, allocations: 51.42 kB / 328.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4296, allocations: 27.92 kB / 328.2 MB, free: 7.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.4296, allocations: 0 / 328.2 MB, free: 7.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000454/0.4301, allocations: 121.4 kB / 328.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.4302, allocations: 67.36 kB / 328.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.4302, allocations: 3.984 kB / 328.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4302, allocations: 0 / 328.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.4303, allocations: 4 kB / 328.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4303, allocations: 8.062 kB / 328.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4305, allocations: 19.86 kB / 328.4 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.4306, allocations: 7.938 kB / 328.4 MB, free: 7.438 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.0001757/0.4308, allocations: 144 kB / 328.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004817/0.4313, allocations: 137.5 kB / 328.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.4314, allocations: 11.86 kB / 328.7 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.4315, allocations: 12.47 kB / 328.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4315, allocations: 0 / 328.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4315, allocations: 0 / 328.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4315, allocations: 4 kB / 328.7 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4319, allocations: 170.2 kB / 328.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4319, allocations: 256 / 328.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.4319, allocations: 4 kB / 328.9 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.432, allocations: 0 / 328.9 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.432, allocations: 7.953 kB / 328.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.432, allocations: 4 kB / 328.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4321, allocations: 0 / 328.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.4326, allocations: 198 kB / 329.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.4327, allocations: 85.02 kB / 329.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.4328, allocations: 4 kB / 329.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.433, allocations: 15.98 kB / 329.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.4331, allocations: 11.98 kB / 329.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.4331, allocations: 8 kB / 329.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4333, allocations: 96.95 kB / 329.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4333, allocations: 0 / 329.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005761/0.4339, allocations: 32 kB / 329.4 MB, free: 6.398 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.00147/0.4354, allocations: 0.8907 MB / 330.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.4358, allocations: 178.8 kB / 330.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.4359, allocations: 4.125 kB / 330.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.4361, allocations: 115.3 kB / 330.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.4365, allocations: 15.94 kB / 330.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.4374, allocations: 195.5 kB / 330.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4378, allocations: 0.708 MB / 331.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.4379, allocations: 4 kB / 331.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.4379, allocations: 19.44 kB / 331.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.438, allocations: 0 / 331.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/0.4844, allocations: 1.924 MB / 333.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.4847, allocations: 124.9 kB / 333.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.77, allocations: 11.91 kB / 333.5 MB, free: 2.027 MB / 282.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