Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.484e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.559, allocations: 87.25 MB / 429.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5594, allocations: 77.58 kB / 430 MB, free: 6.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1049/0.6644, allocations: 26.75 MB / 456.7 MB, free: 364 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6644, allocations: 0 / 456.7 MB, free: 364 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.6645, allocations: 16 kB / 456.7 MB, free: 348 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003874/0.6684, allocations: 1.022 MB / 457.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.6684, allocations: 12.03 kB / 457.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003779/0.6688, allocations: 144.1 kB / 457.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.674, allocations: 0.4908 MB / 458.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.6752, allocations: 415.9 kB / 458.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.6754, allocations: 74 kB / 458.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.6757, allocations: 95.91 kB / 459 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.6787, allocations: 0.9351 MB / 459.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.6788, allocations: 4 kB / 459.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.6789, allocations: 40 kB / 460 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.679, allocations: 24 kB / 460 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/0.6818, allocations: 0.8553 MB / 460.8 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009347/0.6912, allocations: 3.468 MB / 464.3 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.6952, allocations: 2.201 MB / 466.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008868/0.6961, allocations: 272.6 kB / 466.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.6963, allocations: 101.6 kB / 466.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.6964, allocations: 39.12 kB / 466.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 4.168e-06/0.6964, allocations: 0 / 466.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001506/0.6979, allocations: 490.6 kB / 467.4 MB, free: 5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.6981, allocations: 115.4 kB / 467.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.6985, allocations: 238.7 kB / 467.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.6986, allocations: 41.77 kB / 467.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.699, allocations: 386.6 kB / 468.1 MB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.6993, allocations: 220.8 kB / 468.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.6993, allocations: 16 kB / 468.4 MB, free: 3.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6996, allocations: 354.8 kB / 468.7 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/0.7002, allocations: 193.6 kB / 468.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.701, allocations: 407.6 kB / 469.3 MB, free: 2.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.7018, allocations: 263.2 kB / 469.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7019, allocations: 0 / 469.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002036/0.7039, allocations: 0.6825 MB / 470.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.704, allocations: 8 kB / 470.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.704, allocations: 8.094 kB / 470.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.355e-05/0.7041, allocations: 12 kB / 470.3 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.7056, allocations: 191.7 kB / 470.5 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.224e-05/0.7057, allocations: 11.94 kB / 470.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.7065, allocations: 83.2 kB / 470.6 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/0.7067, allocations: 32 kB / 470.6 MB, free: 1.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.7069, allocations: 162.9 kB / 470.7 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.7071, allocations: 39.53 kB / 470.8 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.709, allocations: 0.6085 MB / 471.4 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.709, allocations: 8 kB / 471.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.7091, allocations: 0 / 471.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.7091, allocations: 3.984 kB / 471.4 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.7129, allocations: 1.444 MB / 472.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.713, allocations: 4 kB / 472.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.7142, allocations: 131.9 kB / 473 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.7143, allocations: 8 kB / 473 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.7143, allocations: 23.94 kB / 473 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.7144, allocations: 4 kB / 473 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7144, allocations: 3.938 kB / 473 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.7167, allocations: 1.079 MB / 474.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.717, allocations: 120.5 kB / 474.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.7171, allocations: 20 kB / 474.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.7178, allocations: 23.98 kB / 474.3 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7179, allocations: 44.5 kB / 474.3 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.718, allocations: 16 kB / 474.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003152/0.7183, allocations: 179.1 kB / 474.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7184, allocations: 4.062 kB / 474.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001201/0.7196, allocations: 239.1 kB / 474.7 MB, free: 13.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00303/0.7226, allocations: 1.846 MB / 476.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.7242, allocations: 0.5469 MB / 477.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7243, allocations: 0 / 477.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.725, allocations: 282.5 kB / 477.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.7256, allocations: 36.62 kB / 477.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.7293, allocations: 1.051 MB / 478.5 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.73, allocations: 0.9203 MB / 479.4 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000666/0.7307, allocations: 76.39 kB / 479.5 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.7313, allocations: 251.3 kB / 479.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7314, allocations: 0 / 479.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.7722, allocations: 9.485 MB / 489.2 MB, free: 14.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.7725, allocations: 172.2 kB / 489.4 MB, free: 14.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.729, allocations: 0 / 489.4 MB, free: 14.64 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat