Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.818e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 50.41 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.6377, allocations: 104.5 MB / 447.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.638, allocations: 88.02 kB / 447.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529/5.167, allocations: 0.8055 GB / 1.242 GB, free: 35.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/5.167, allocations: 4 kB / 1.242 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001443/5.169, allocations: 386.7 kB / 1.243 GB, free: 35.22 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.08683/5.256, allocations: 15.95 MB / 1.258 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/5.256, allocations: 10.38 kB / 1.258 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01552/5.271, allocations: 2.928 MB / 1.261 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04961/5.321, allocations: 6.054 MB / 1.267 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04275/5.364, allocations: 11.99 MB / 1.279 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001816/5.366, allocations: 1.25 MB / 1.28 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008766/5.374, allocations: 1.639 MB / 1.282 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09499/5.469, allocations: 27.91 MB / 1.309 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009272/5.47, allocations: 21.09 kB / 1.309 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007602/5.478, allocations: 0.7066 MB / 1.309 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/5.48, allocations: 1.3 MB / 1.311 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0729/5.553, allocations: 21.99 MB / 1.332 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.706/6.259, allocations: 87.22 MB / 1.417 GB, free: 53.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04561/6.305, allocations: 35.21 MB / 1.452 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01439/6.319, allocations: 5.389 MB / 1.457 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/6.321, allocations: 204.4 kB / 1.457 GB, free: 25.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.1e-05/6.321, allocations: 98.28 kB / 1.457 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 9.939e-06/6.321, allocations: 0 / 1.457 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.02392/6.345, allocations: 8.443 MB / 1.466 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/6.345, allocations: 137.9 kB / 1.466 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01512/6.36, allocations: 5.68 MB / 1.471 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001388/6.361, allocations: 119.4 kB / 1.471 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006982/6.368, allocations: 7.565 MB / 1.479 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003402/6.372, allocations: 2.129 MB / 1.481 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/6.374, allocations: 210.6 kB / 1.481 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001203/6.375, allocations: 0.7487 MB / 1.482 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/6.388, allocations: 4.792 MB / 1.486 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01724/6.405, allocations: 9.429 MB / 1.496 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/6.422, allocations: 7.248 MB / 1.503 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002874/6.423, allocations: 48.73 kB / 1.503 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.04379/6.466, allocations: 15.07 MB / 1.517 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/6.467, allocations: 71.12 kB / 1.518 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003555/6.467, allocations: 161.4 kB / 1.518 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006031/6.473, allocations: 1.38 MB / 1.519 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/6.489, allocations: 2.355 MB / 1.521 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/6.514, allocations: 10.78 MB / 1.532 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/6.527, allocations: 1.364 MB / 1.533 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002875/6.53, allocations: 0.5364 MB / 1.534 GB, free: 10.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004741/6.535, allocations: 0.792 MB / 1.535 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002467/6.537, allocations: 0.6173 MB / 1.535 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02975/6.567, allocations: 10.44 MB / 1.545 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02228/6.589, allocations: 8.009 MB / 1.553 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.603e-05/6.589, allocations: 14.97 kB / 1.553 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000152/6.589, allocations: 33.53 kB / 1.553 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08027/6.67, allocations: 25.98 MB / 1.579 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/6.67, allocations: 12 kB / 1.579 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008581/6.678, allocations: 1.008 MB / 1.58 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/6.684, allocations: 1.167 MB / 1.581 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001441/6.685, allocations: 143.4 kB / 1.581 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02422/6.71, allocations: 10.37 MB / 1.591 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-05/6.71, allocations: 11.19 kB / 1.591 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05862/6.768, allocations: 16.88 MB / 1.607 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006257/6.775, allocations: 1.503 MB / 1.609 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00302/6.778, allocations: 112 kB / 1.609 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008029/6.786, allocations: 334.3 kB / 1.609 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001924/6.788, allocations: 415.8 kB / 1.61 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008323/6.788, allocations: 173 kB / 1.61 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01264/6.801, allocations: 4.211 MB / 1.614 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.92e-07/6.801, allocations: 0 / 1.614 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01931/6.821, allocations: 4.07 MB / 1.618 GB, free: 0.5547 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (546): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5346/7.355, allocations: 18.36 MB / 1.636 GB, free: 81.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02951/7.385, allocations: 11.27 MB / 1.647 GB, free: 80.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/7.385, allocations: 0 / 1.647 GB, free: 80.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/7.398, allocations: 4.716 MB / 1.652 GB, free: 80.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/7.41, allocations: 1.41 MB / 1.653 GB, free: 80.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1252/7.536, allocations: 30.73 MB / 1.683 GB, free: 75.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03425/7.57, allocations: 11.53 MB / 1.694 GB, free: 74.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02014/7.59, allocations: 3.949 MB / 1.698 GB, free: 74.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01521/7.605, allocations: 5.883 MB / 1.704 GB, free: 74.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.513e-06/7.605, allocations: 2.75 kB / 1.704 GB, free: 74.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9066/8.512, allocations: 206 MB / 1.905 GB, free: 59.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/8.512, allocations: 200.8 kB / 1.905 GB, free: 59.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.243/17.76, allocations: 0 / 1.905 GB, free: 59.15 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat