Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.478e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 50.4 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5637, allocations: 78.97 MB / 421.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/0.5641, allocations: 63.91 kB / 421.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03575/0.5999, allocations: 5.082 MB / 426.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6, allocations: 0 / 426.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.6, allocations: 8 kB / 426.8 MB, free: 10.41 MB / 346.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.002023/0.6021, allocations: 0.561 MB / 427.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.922e-05/0.6022, allocations: 8.031 kB / 427.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.6024, allocations: 67.86 kB / 427.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.6026, allocations: 35.53 kB / 427.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.6033, allocations: 269 kB / 427.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.6034, allocations: 26.25 kB / 427.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.6035, allocations: 26.38 kB / 427.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6045, allocations: 233.4 kB / 428 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.6046, allocations: 3.938 kB / 428 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.6047, allocations: 16.89 kB / 428 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.6047, allocations: 7.984 kB / 428 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.6056, allocations: 176 kB / 428.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.6102, allocations: 0.9877 MB / 429.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/0.6112, allocations: 195.4 kB / 429.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.6117, allocations: 106.6 kB / 429.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.6118, allocations: 192 / 429.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.6119, allocations: 46.64 kB / 429.5 MB, free: 7.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.877e-06/0.6119, allocations: 0 / 429.5 MB, free: 7.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001246/0.6132, allocations: 241.6 kB / 429.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.6132, allocations: 51.41 kB / 429.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/0.6138, allocations: 233.3 kB / 430 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.6139, allocations: 29.7 kB / 430.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.6142, allocations: 187.3 kB / 430.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.6143, allocations: 72.47 kB / 430.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.6143, allocations: 3.438 kB / 430.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.6146, allocations: 333.6 kB / 430.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.6149, allocations: 57.78 kB / 430.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.6153, allocations: 89.83 kB / 430.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.6157, allocations: 72.36 kB / 430.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.6157, allocations: 0 / 430.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001292/0.617, allocations: 283.7 kB / 431.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.6171, allocations: 4 kB / 431.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6171, allocations: 0 / 431.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.6177, allocations: 84.19 kB / 431.2 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.6183, allocations: 35.98 kB / 431.2 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.6231, allocations: 2.826 MB / 434.1 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.6237, allocations: 35.27 kB / 434.1 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.6238, allocations: 7.625 kB / 434.1 MB, free: 3.543 MB / 346.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.0001993/0.624, allocations: 119.9 kB / 434.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6242, allocations: 23.72 kB / 434.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.6243, allocations: 36.34 kB / 434.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6244, allocations: 0 / 434.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.6244, allocations: 4 kB / 434.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6244, allocations: 0 / 434.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.6266, allocations: 0.6507 MB / 434.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.6266, allocations: 3.953 kB / 435 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.627, allocations: 32.16 kB / 435 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007784/0.6279, allocations: 71.25 kB / 435.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.628, allocations: 2.812 kB / 435.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.6322, allocations: 2.825 MB / 437.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6322, allocations: 0 / 437.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.633, allocations: 350.2 kB / 438.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6332, allocations: 100.8 kB / 438.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.6332, allocations: 3.375 kB / 438.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.6337, allocations: 39.53 kB / 438.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6338, allocations: 19.47 kB / 438.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.6339, allocations: 8 kB / 438.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.6342, allocations: 183.8 kB / 438.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6342, allocations: 0 / 438.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.6348, allocations: 94.34 kB / 438.7 MB, free: 15.09 MB / 362.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.001153/0.6359, allocations: 0.8901 MB / 439.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008865/0.6369, allocations: 389.8 kB / 439.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6369, allocations: 0 / 439.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.6374, allocations: 325.9 kB / 440.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.6379, allocations: 45.61 kB / 440.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.6392, allocations: 362.5 kB / 440.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.6396, allocations: 0.7799 MB / 441.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.6398, allocations: 18.08 kB / 441.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.64, allocations: 89.59 kB / 441.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.123e-06/0.64, allocations: 0 / 441.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.6705, allocations: 5.616 MB / 447.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.6708, allocations: 188.1 kB / 447.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.232, allocations: 0 / 447.3 MB, free: 6.609 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat