Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.29e-05, allocations: 0 / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09356, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.5684, allocations: 97.89 MB / 397.9 MB, free: 12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.5688, allocations: 83.89 kB / 398 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.693/5.262, allocations: 0.8213 GB / 1.21 GB, free: 33.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.196e-06/5.262, allocations: 0 / 1.21 GB, free: 33.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001538/5.263, allocations: 399.1 kB / 1.21 GB, free: 33.54 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.08713/5.35, allocations: 16.49 MB / 1.226 GB, free: 28.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/5.35, allocations: 10.97 kB / 1.226 GB, free: 28.88 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01658/5.367, allocations: 3.071 MB / 1.229 GB, free: 28.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07768/5.445, allocations: 8.638 MB / 1.238 GB, free: 27.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05297/5.498, allocations: 11.92 MB / 1.25 GB, free: 26.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003314/5.501, allocations: 1.343 MB / 1.251 GB, free: 26.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01166/5.513, allocations: 1.717 MB / 1.253 GB, free: 26.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/5.62, allocations: 31.66 MB / 1.283 GB, free: 24.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00105/5.621, allocations: 16.78 kB / 1.283 GB, free: 24.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008708/5.63, allocations: 0.7462 MB / 1.284 GB, free: 24.17 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/5.632, allocations: 1.251 MB / 1.285 GB, free: 24.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08299/5.716, allocations: 27.53 MB / 1.312 GB, free: 18.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7885/6.504, allocations: 99.31 MB / 1.409 GB, free: 25.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05687/6.561, allocations: 33.75 MB / 1.442 GB, free: 27.96 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03789/6.599, allocations: 15.11 MB / 1.457 GB, free: 27.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.136/6.735, allocations: 47.24 MB / 1.503 GB, free: 18.91 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/6.735, allocations: 151 kB / 1.503 GB, free: 18.79 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1454): time 2.146e-05/6.735, allocations: 0 / 1.503 GB, free: 18.79 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1454): time 0.07387/6.809, allocations: 25.46 MB / 1.528 GB, free: 7.953 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/6.809, allocations: 197.9 kB / 1.528 GB, free: 7.738 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/6.821, allocations: 3.92 MB / 1.532 GB, free: 4.324 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003347/6.825, allocations: 201.7 kB / 1.532 GB, free: 4.121 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006412/6.831, allocations: 6.11 MB / 1.538 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00992/6.841, allocations: 4.762 MB / 1.543 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003902/6.845, allocations: 232 kB / 1.543 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002154/6.847, allocations: 0.8973 MB / 1.544 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03103/6.878, allocations: 9.814 MB / 1.554 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6203/7.499, allocations: 14.73 MB / 1.568 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03905/7.538, allocations: 11.87 MB / 1.58 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/7.538, allocations: 18.08 kB / 1.58 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.08555/7.624, allocations: 28.29 MB / 1.607 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/7.624, allocations: 33.97 kB / 1.607 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002114/7.624, allocations: 60.16 kB / 1.607 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03222/7.656, allocations: 10.41 MB / 1.617 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01606/7.672, allocations: 1.95 MB / 1.619 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04488/7.717, allocations: 21.2 MB / 1.64 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01511/7.732, allocations: 1.417 MB / 1.641 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004523/7.737, allocations: 0.5208 MB / 1.642 GB, free: 67.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.007858/7.745, allocations: 0.697 MB / 1.643 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00514/7.75, allocations: 0.7249 MB / 1.643 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08463/7.835, allocations: 27.8 MB / 1.671 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1047/7.94, allocations: 25.34 MB / 1.695 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.562e-05/7.94, allocations: 0 / 1.695 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003169/7.94, allocations: 55.08 kB / 1.695 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6501/8.59, allocations: 52.13 MB / 1.746 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002239/8.591, allocations: 0.8906 kB / 1.746 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01557/8.606, allocations: 1.36 MB / 1.748 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0744/8.681, allocations: 10.3 MB / 1.758 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004465/8.685, allocations: 299 kB / 1.758 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05084/8.736, allocations: 21.09 MB / 1.779 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/8.736, allocations: 0.8438 kB / 1.779 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1115/8.848, allocations: 41.29 MB / 1.819 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01121/8.859, allocations: 3.138 MB / 1.822 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004921/8.864, allocations: 182.3 kB / 1.822 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01123/8.875, allocations: 0.506 MB / 1.823 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00539/8.881, allocations: 1.062 MB / 1.824 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003738/8.884, allocations: 375.6 kB / 1.824 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007774/8.892, allocations: 2.927 MB / 1.827 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.323e-06/8.892, allocations: 0 / 1.827 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0205/8.913, allocations: 4.365 MB / 1.831 GB, free: 54.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1131/9.026, allocations: 42.26 MB / 1.872 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06772/9.094, allocations: 23.41 MB / 1.895 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/9.094, allocations: 4.391 kB / 1.895 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.04385/9.138, allocations: 12.15 MB / 1.907 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01699/9.155, allocations: 1.369 MB / 1.908 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5499/9.705, allocations: 41.57 MB / 1.949 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03009/9.735, allocations: 12.33 MB / 1.961 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01636/9.751, allocations: 2.791 MB / 1.964 GB, free: 78.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0171/9.768, allocations: 6.159 MB / 1.97 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.765e-06/9.768, allocations: 0 / 1.97 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.222/10.99, allocations: 332.8 MB / 2.295 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/10.99, allocations: 223.2 kB / 2.295 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/23.01, allocations: 0 / 2.295 GB, free: 12.55 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat