Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.641/1.641, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.294e-05, allocations: 8 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2789, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3982, allocations: 67.97 MB / 331.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3985, allocations: 71.95 kB / 331.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0216/0.4201, allocations: 4.968 MB / 336.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4202, allocations: 0 / 336.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.4202, allocations: 12 kB / 336.9 MB, free: 0.5742 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001214/0.4215, allocations: 0.5605 MB / 337.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4215, allocations: 8.031 kB / 337.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.635e-05/0.4216, allocations: 66.91 kB / 337.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.4217, allocations: 31.62 kB / 337.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.4222, allocations: 278.3 kB / 337.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4222, allocations: 16.56 kB / 337.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.4223, allocations: 35.95 kB / 337.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.423, allocations: 228.9 kB / 338.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.423, allocations: 7.938 kB / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.4231, allocations: 12 kB / 338.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4231, allocations: 8 kB / 338.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.4236, allocations: 178.2 kB / 338.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.4271, allocations: 0.9914 MB / 339.3 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.4278, allocations: 200 kB / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.4281, allocations: 97.23 kB / 339.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.4281, allocations: 4.188 kB / 339.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4282, allocations: 46.61 kB / 339.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.847e-06/0.4282, allocations: 0 / 339.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007973/0.429, allocations: 249.2 kB / 339.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4291, allocations: 55.41 kB / 339.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.4295, allocations: 227 kB / 340.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.4295, allocations: 33.7 kB / 340.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4297, allocations: 184 kB / 340.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.4298, allocations: 74.98 kB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.4298, allocations: 4 kB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.43, allocations: 330.8 kB / 340.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4302, allocations: 64.39 kB / 340.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.4304, allocations: 87.45 kB / 340.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.4306, allocations: 67.97 kB / 341 MB, free: 12.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4307, allocations: 4 kB / 341 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008143/0.4315, allocations: 282.8 kB / 341.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4315, allocations: 5.406 kB / 341.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4315, allocations: 4 kB / 341.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.432, allocations: 77.73 kB / 341.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.4323, allocations: 39.92 kB / 341.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.4355, allocations: 2.819 MB / 344.2 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.4359, allocations: 31.72 kB / 344.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.436, allocations: 12 kB / 344.2 MB, free: 8.676 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4361, allocations: 124.9 kB / 344.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.4362, allocations: 27.78 kB / 344.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.4363, allocations: 25.97 kB / 344.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.4363, allocations: 3.984 kB / 344.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4363, allocations: 4 kB / 344.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4363, allocations: 0 / 344.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4377, allocations: 0.652 MB / 345.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4377, allocations: 192 / 345.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.438, allocations: 31.98 kB / 345.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003278/0.4383, allocations: 73.67 kB / 345.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4383, allocations: 0 / 345.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.4414, allocations: 2.831 MB / 348 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4414, allocations: 0 / 348 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007565/0.4422, allocations: 352.2 kB / 348.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.4424, allocations: 120.7 kB / 348.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.4424, allocations: 4 kB / 348.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.4429, allocations: 39.97 kB / 348.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4431, allocations: 19.97 kB / 348.5 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.4431, allocations: 8 kB / 348.5 MB, free: 3.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.4434, allocations: 183.1 kB / 348.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4434, allocations: 3.938 kB / 348.7 MB, free: 3.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.4439, allocations: 91.84 kB / 348.8 MB, free: 3.719 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.445, allocations: 0.8855 MB / 349.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008728/0.4459, allocations: 413.1 kB / 350.1 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4459, allocations: 4 kB / 350.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.4465, allocations: 333.2 kB / 350.4 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.447, allocations: 40.53 kB / 350.5 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4481, allocations: 387.6 kB / 350.8 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.4486, allocations: 0.7755 MB / 351.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.4488, allocations: 18.08 kB / 351.6 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.449, allocations: 91.39 kB / 351.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.449, allocations: 0 / 351.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.4829, allocations: 5.653 MB / 357.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.4832, allocations: 174.5 kB / 357.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/2.933, allocations: 0 / 357.5 MB, free: 10.86 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat