Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.156/2.156, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.418e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3409, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4724, allocations: 71.16 MB / 365.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4727, allocations: 63.97 kB / 365.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007963/0.4807, allocations: 1.643 MB / 367.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4808, allocations: 0 / 367.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4808, allocations: 4 kB / 367.1 MB, free: 8.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006372/0.4814, allocations: 425.9 kB / 367.5 MB, free: 8.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.4815, allocations: 11.97 kB / 367.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.4816, allocations: 11.91 kB / 367.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.4818, allocations: 182.8 kB / 367.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.4818, allocations: 4 kB / 367.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.4818, allocations: 4 kB / 367.7 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/0.482, allocations: 28 kB / 367.7 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.4822, allocations: 89.05 kB / 367.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.4822, allocations: 0 / 367.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.4822, allocations: 0 / 367.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4823, allocations: 4 kB / 367.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.4828, allocations: 359.4 kB / 368.2 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.483, allocations: 83.8 kB / 368.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.4831, allocations: 42.58 kB / 368.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.4831, allocations: 8 kB / 368.3 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.4834, allocations: 135.7 kB / 368.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.4834, allocations: 0 / 368.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000398/0.4838, allocations: 125.5 kB / 368.6 MB, free: 7.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.4839, allocations: 166.3 kB / 368.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.4841, allocations: 119 kB / 368.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4841, allocations: 29.7 kB / 368.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.4842, allocations: 92.12 kB / 369 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.4842, allocations: 23.66 kB / 369 MB, free: 6.785 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.4843, allocations: 0 / 369 MB, free: 6.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4844, allocations: 326.8 kB / 369.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.4845, allocations: 20 kB / 369.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.4846, allocations: 51.42 kB / 369.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4847, allocations: 27.92 kB / 369.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4847, allocations: 4 kB / 369.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000317/0.4851, allocations: 109.5 kB / 369.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.4852, allocations: 63.39 kB / 369.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4852, allocations: 0 / 369.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4852, allocations: 8.047 kB / 369.6 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.4853, allocations: 8 kB / 369.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4853, allocations: 0 / 369.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.4855, allocations: 23.86 kB / 369.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.4855, allocations: 4 kB / 369.6 MB, free: 6.113 MB / 314.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.000135/0.4857, allocations: 150.3 kB / 369.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003256/0.486, allocations: 133.5 kB / 369.9 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.486, allocations: 11.97 kB / 369.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.4861, allocations: 16.39 kB / 369.9 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4861, allocations: 0 / 369.9 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4861, allocations: 4 kB / 369.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4862, allocations: 0 / 369.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4864, allocations: 174.1 kB / 370.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4864, allocations: 0 / 370.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.4865, allocations: 0 / 370.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4865, allocations: 4 kB / 370.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4865, allocations: 4 kB / 370.1 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4865, allocations: 7.984 kB / 370.1 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4865, allocations: 0 / 370.1 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.4869, allocations: 193.7 kB / 370.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.487, allocations: 84.95 kB / 370.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.487, allocations: 15.98 kB / 370.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.4872, allocations: 16 kB / 370.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.4873, allocations: 11.97 kB / 370.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4873, allocations: 7.953 kB / 370.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.4874, allocations: 100.4 kB / 370.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4874, allocations: 0 / 370.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.4878, allocations: 32 kB / 370.6 MB, free: 5.062 MB / 314.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.000815/0.4887, allocations: 0.8751 MB / 371.4 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.489, allocations: 186.7 kB / 371.6 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.489, allocations: 4 kB / 371.6 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.4892, allocations: 107.3 kB / 371.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4895, allocations: 23.88 kB / 371.8 MB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.4901, allocations: 189.1 kB / 371.9 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4905, allocations: 0.7082 MB / 372.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.4905, allocations: 8.656 kB / 372.7 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.4906, allocations: 23.42 kB / 372.7 MB, free: 2.801 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4906, allocations: 3.938 kB / 372.7 MB, free: 2.797 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.5285, allocations: 1.906 MB / 374.6 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/0.5289, allocations: 133.2 kB / 374.7 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.015, allocations: 8.062 kB / 374.7 MB, free: 0.7031 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat