Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.425e-05, allocations: 6.188 kB / 292.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 50.4 MB / 342.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.5622, allocations: 80.89 MB / 423.5 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5625, allocations: 70.03 kB / 423.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03643/0.5989, allocations: 8.351 MB / 432 MB, free: 5.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.599, allocations: 0 / 432 MB, free: 5.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.765e-05/0.5991, allocations: 12 kB / 432 MB, free: 5.789 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00172/0.6008, allocations: 0.7253 MB / 432.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.6009, allocations: 12.03 kB / 432.7 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.6011, allocations: 98.7 kB / 432.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.6012, allocations: 63.25 kB / 432.9 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.6019, allocations: 372.6 kB / 433.2 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.602, allocations: 37.38 kB / 433.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6021, allocations: 52.83 kB / 433.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.6033, allocations: 472.4 kB / 433.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.6033, allocations: 0 / 433.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.6034, allocations: 29.48 kB / 433.8 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6034, allocations: 12 kB / 433.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.6043, allocations: 297.3 kB / 434.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004616/0.609, allocations: 1.756 MB / 435.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.6096, allocations: 241.9 kB / 436.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.61, allocations: 134.5 kB / 436.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.61, allocations: 4 kB / 436.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.6101, allocations: 38.19 kB / 436.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.717e-06/0.6101, allocations: 0 / 436.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002133/0.6122, allocations: 0.7568 MB / 437 MB, free: 1.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.6123, allocations: 77.11 kB / 437.1 MB, free: 1.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.6129, allocations: 334.4 kB / 437.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.613, allocations: 31.39 kB / 437.5 MB, free: 0.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.6132, allocations: 302.5 kB / 437.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6133, allocations: 111.6 kB / 437.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.6134, allocations: 6.688 kB / 437.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6136, allocations: 353.4 kB / 438.2 MB, free: 292 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.6138, allocations: 87.75 kB / 438.3 MB, free: 236 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.6142, allocations: 184 kB / 438.5 MB, free: 52 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.6145, allocations: 115.6 kB / 438.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6146, allocations: 0 / 438.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00131/0.6159, allocations: 423 kB / 439 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.616, allocations: 7.938 kB / 439 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.616, allocations: 4 kB / 439 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/0.6166, allocations: 89.31 kB / 439.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.6172, allocations: 74.91 kB / 439.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.6207, allocations: 2.846 MB / 442 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.6213, allocations: 14.62 kB / 442 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.6214, allocations: 15.81 kB / 442.1 MB, free: 12.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.6215, allocations: 141 kB / 442.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6217, allocations: 39.53 kB / 442.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.6218, allocations: 46.55 kB / 442.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6218, allocations: 4 kB / 442.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6218, allocations: 4 kB / 442.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6219, allocations: 0 / 442.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.6239, allocations: 0.9211 MB / 443.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6239, allocations: 8.172 kB / 443.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.6243, allocations: 47.92 kB / 443.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.6248, allocations: 81.52 kB / 443.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.6249, allocations: 7.438 kB / 443.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.628, allocations: 2.842 MB / 446.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6281, allocations: 3.984 kB / 446.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.6294, allocations: 0.5887 MB / 446.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.6296, allocations: 112.7 kB / 446.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.6297, allocations: 9.938 kB / 446.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.6304, allocations: 34.67 kB / 446.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6305, allocations: 33.83 kB / 447 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.6305, allocations: 8 kB / 447 MB, free: 7.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004409/0.631, allocations: 262.1 kB / 447.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.631, allocations: 0 / 447.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008468/0.6319, allocations: 121.9 kB / 447.3 MB, free: 7.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.6336, allocations: 1.227 MB / 448.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.6348, allocations: 474.3 kB / 449 MB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6348, allocations: 3.938 kB / 449 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000848/0.6357, allocations: 358.4 kB / 449.4 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.6364, allocations: 63.81 kB / 449.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.639, allocations: 0.8174 MB / 450.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.6396, allocations: 0.8548 MB / 451.1 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000341/0.64, allocations: 51.28 kB / 451.2 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.6403, allocations: 170.2 kB / 451.3 MB, free: 3.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.823e-06/0.6403, allocations: 0 / 451.3 MB, free: 3.723 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03989/0.6802, allocations: 7.957 MB / 459.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003643/0.6806, allocations: 180.4 kB / 459.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.328, allocations: 0 / 459.5 MB, free: 11.66 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat