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.666/1.666, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.067e-05, allocations: 0 / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2736, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3935, allocations: 67.98 MB / 331.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.3938, allocations: 67.95 kB / 331.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02151/0.4153, allocations: 4.972 MB / 336.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4154, allocations: 0 / 336.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.4154, allocations: 4 kB / 336.9 MB, free: 0.5625 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.001286/0.4167, allocations: 0.5606 MB / 337.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.132e-05/0.4168, allocations: 8.031 kB / 337.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.4169, allocations: 62.53 kB / 337.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.788e-05/0.417, allocations: 35.62 kB / 337.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.4175, allocations: 274.6 kB / 337.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4176, allocations: 24.5 kB / 337.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.4176, allocations: 27.95 kB / 337.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.4183, allocations: 231.8 kB / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4183, allocations: 0 / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.4184, allocations: 8 kB / 338.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4184, allocations: 8 kB / 338.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.4189, allocations: 177 kB / 338.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.4217, allocations: 1.007 MB / 339.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.4223, allocations: 191.1 kB / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.4226, allocations: 101.2 kB / 339.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.4227, allocations: 4.188 kB / 339.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.4227, allocations: 42.75 kB / 339.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.765e-06/0.4227, allocations: 0 / 339.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007905/0.4235, allocations: 245.6 kB / 339.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.4236, allocations: 55.39 kB / 339.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.424, allocations: 223 kB / 340.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.424, allocations: 37.7 kB / 340.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.4242, allocations: 188 kB / 340.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.4243, allocations: 67 kB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.4243, allocations: 4 kB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4245, allocations: 342.8 kB / 340.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.4247, allocations: 56.41 kB / 340.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.4249, allocations: 87.27 kB / 340.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.4252, allocations: 71.97 kB / 341 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4252, allocations: 0 / 341 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007972/0.426, allocations: 278.8 kB / 341.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.426, allocations: 4 kB / 341.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4261, allocations: 3.984 kB / 341.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.4265, allocations: 77.75 kB / 341.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.4269, allocations: 43.91 kB / 341.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.4302, allocations: 2.819 MB / 344.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.4306, allocations: 31.77 kB / 344.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.4307, allocations: 4 kB / 344.2 MB, free: 8.68 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.000136/0.4308, allocations: 121 kB / 344.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.4309, allocations: 27.72 kB / 344.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.431, allocations: 29.95 kB / 344.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.431, allocations: 4 kB / 344.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.431, allocations: 0 / 344.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.431, allocations: 3.984 kB / 344.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.4323, allocations: 0.6481 MB / 345.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4324, allocations: 4 kB / 345.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.4326, allocations: 23.98 kB / 345.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.433, allocations: 81.8 kB / 345.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.433, allocations: 8 kB / 345.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.436, allocations: 2.819 MB / 348 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4361, allocations: 4.125 kB / 348 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.4369, allocations: 348.7 kB / 348.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.4371, allocations: 120.7 kB / 348.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.4372, allocations: 4 kB / 348.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.4377, allocations: 39.97 kB / 348.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4378, allocations: 19.97 kB / 348.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4378, allocations: 8 kB / 348.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002902/0.4381, allocations: 183.1 kB / 348.7 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4381, allocations: 4 kB / 348.7 MB, free: 3.816 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005864/0.4387, allocations: 91.84 kB / 348.8 MB, free: 3.727 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.001111/0.4399, allocations: 0.8891 MB / 349.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008672/0.4408, allocations: 399.4 kB / 350.1 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4408, allocations: 0 / 350.1 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.4413, allocations: 315.5 kB / 350.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.4419, allocations: 40.53 kB / 350.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.443, allocations: 382.5 kB / 350.8 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4435, allocations: 0.7755 MB / 351.6 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.4437, allocations: 22.08 kB / 351.6 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4439, allocations: 87.41 kB / 351.7 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4439, allocations: 0 / 351.7 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.483, allocations: 5.607 MB / 357.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/0.4833, allocations: 181.2 kB / 357.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.838, allocations: 0 / 357.5 MB, free: 10.95 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