Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.486e-05, allocations: 8 kB / 292.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 50.4 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.521/0.6467, allocations: 104.5 MB / 447.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.647, allocations: 82.33 kB / 447.7 MB, free: 5.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529/5.176, allocations: 0.8055 GB / 1.243 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.025e-06/5.176, allocations: 3.844 kB / 1.243 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001384/5.178, allocations: 385.3 kB / 1.243 GB, free: 35.29 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.08432/5.262, allocations: 15.95 MB / 1.259 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.311e-05/5.262, allocations: 12.5 kB / 1.259 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0157/5.278, allocations: 2.918 MB / 1.262 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0499/5.328, allocations: 6.059 MB / 1.267 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04325/5.371, allocations: 12 MB / 1.279 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00181/5.373, allocations: 1.253 MB / 1.28 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009648/5.382, allocations: 1.637 MB / 1.282 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09281/5.475, allocations: 27.91 MB / 1.309 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009565/5.476, allocations: 22.55 kB / 1.309 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007716/5.484, allocations: 0.7105 MB / 1.31 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/5.486, allocations: 1.296 MB / 1.311 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0712/5.558, allocations: 21.99 MB / 1.333 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7124/6.27, allocations: 87.18 MB / 1.418 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06868/6.339, allocations: 35.21 MB / 1.452 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02113/6.36, allocations: 5.381 MB / 1.457 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/6.361, allocations: 204.8 kB / 1.458 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/6.362, allocations: 97.94 kB / 1.458 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 1.768e-05/6.362, allocations: 4.75 kB / 1.458 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.03363/6.395, allocations: 8.44 MB / 1.466 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/6.395, allocations: 141 kB / 1.466 GB, free: 25.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/6.412, allocations: 5.679 MB / 1.472 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001364/6.413, allocations: 121.6 kB / 1.472 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006793/6.42, allocations: 7.562 MB / 1.479 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003246/6.423, allocations: 2.128 MB / 1.481 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/6.425, allocations: 209.4 kB / 1.481 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009229/6.426, allocations: 0.7488 MB / 1.482 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01248/6.438, allocations: 4.794 MB / 1.487 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01638/6.455, allocations: 9.427 MB / 1.496 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/6.471, allocations: 7.249 MB / 1.503 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002334/6.471, allocations: 48.25 kB / 1.503 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.0422/6.514, allocations: 15.07 MB / 1.518 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/6.514, allocations: 75.69 kB / 1.518 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/6.514, allocations: 158.9 kB / 1.518 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/6.52, allocations: 1.385 MB / 1.52 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02106/6.541, allocations: 2.35 MB / 1.522 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/6.565, allocations: 10.79 MB / 1.532 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/6.579, allocations: 1.368 MB / 1.534 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00301/6.582, allocations: 0.5332 MB / 1.534 GB, free: 10.64 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.004725/6.586, allocations: 0.7922 MB / 1.535 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/6.589, allocations: 0.6197 MB / 1.536 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02916/6.618, allocations: 10.43 MB / 1.546 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02209/6.64, allocations: 8.015 MB / 1.554 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/6.64, allocations: 16.67 kB / 1.554 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001519/6.64, allocations: 27.75 kB / 1.554 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07519/6.715, allocations: 25.99 MB / 1.579 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/6.716, allocations: 10.19 kB / 1.579 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008699/6.724, allocations: 1.008 MB / 1.58 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006461/6.731, allocations: 1.219 MB / 1.581 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001554/6.732, allocations: 139.3 kB / 1.581 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02543/6.758, allocations: 10.37 MB / 1.591 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.22e-05/6.758, allocations: 15.03 kB / 1.591 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06324/6.821, allocations: 16.88 MB / 1.608 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006248/6.827, allocations: 1.499 MB / 1.609 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002743/6.83, allocations: 112 kB / 1.61 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007337/6.838, allocations: 334.8 kB / 1.61 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/6.84, allocations: 410.9 kB / 1.61 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001257/6.841, allocations: 173.8 kB / 1.61 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01233/6.853, allocations: 4.214 MB / 1.615 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.092e-06/6.853, allocations: 0 / 1.615 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01891/6.872, allocations: 4.071 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.5362/7.409, allocations: 18.35 MB / 1.636 GB, free: 81.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0283/7.437, allocations: 11.27 MB / 1.647 GB, free: 80.67 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/7.437, allocations: 1.625 kB / 1.647 GB, free: 80.67 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/7.449, allocations: 4.721 MB / 1.652 GB, free: 80.47 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/7.461, allocations: 1.411 MB / 1.653 GB, free: 80.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1503/7.611, allocations: 30.74 MB / 1.683 GB, free: 75.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02659/7.638, allocations: 11.53 MB / 1.695 GB, free: 74.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01886/7.657, allocations: 3.952 MB / 1.699 GB, free: 74.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0151/7.672, allocations: 5.88 MB / 1.704 GB, free: 74.17 MB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/7.672, allocations: 2.188 kB / 1.704 GB, free: 74.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8991/8.571, allocations: 206 MB / 1.905 GB, free: 59.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/8.572, allocations: 193 kB / 1.906 GB, free: 59.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/17.47, allocations: 0.9375 kB / 1.906 GB, free: 59.02 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat