Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.54e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5512, allocations: 102.1 MB / 419.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.5515, allocations: 86.52 kB / 419.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449/5, allocations: 0.816 GB / 1.225 GB, free: 33.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.494e-06/5, allocations: 0 / 1.225 GB, free: 33.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001257/5.001, allocations: 399.5 kB / 1.226 GB, free: 33.38 MB / 490.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.08332/5.085, allocations: 16.49 MB / 1.242 GB, free: 28.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/5.085, allocations: 10.47 kB / 1.242 GB, free: 28.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01582/5.101, allocations: 3.071 MB / 1.245 GB, free: 28.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07046/5.171, allocations: 8.643 MB / 1.253 GB, free: 27.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04052/5.212, allocations: 11.92 MB / 1.265 GB, free: 26.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00249/5.214, allocations: 1.339 MB / 1.266 GB, free: 26.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009575/5.224, allocations: 1.717 MB / 1.268 GB, free: 26.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1056/5.33, allocations: 31.66 MB / 1.299 GB, free: 24.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009982/5.331, allocations: 14.94 kB / 1.299 GB, free: 24.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008389/5.339, allocations: 0.7435 MB / 1.3 GB, free: 24.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/5.341, allocations: 1.252 MB / 1.301 GB, free: 23.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08011/5.421, allocations: 27.53 MB / 1.328 GB, free: 18.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7555/6.177, allocations: 96.95 MB / 1.422 GB, free: 26.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05803/6.235, allocations: 33.76 MB / 1.455 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03853/6.273, allocations: 15.12 MB / 1.47 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1349/6.408, allocations: 47.23 MB / 1.516 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/6.409, allocations: 154.3 kB / 1.516 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1454): time 2.157e-05/6.409, allocations: 0 / 1.516 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454): time 0.07472/6.483, allocations: 25.45 MB / 1.541 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/6.484, allocations: 193.9 kB / 1.541 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/6.494, allocations: 3.916 MB / 1.545 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003246/6.498, allocations: 205.7 kB / 1.545 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006204/6.504, allocations: 6.109 MB / 1.551 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.009414/6.513, allocations: 4.764 MB / 1.556 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003611/6.517, allocations: 232 kB / 1.556 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001947/6.519, allocations: 0.8943 MB / 1.557 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05403/6.573, allocations: 11.4 MB / 1.568 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4703/7.044, allocations: 12.16 MB / 1.58 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0303/7.074, allocations: 11.87 MB / 1.592 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/7.074, allocations: 17.53 kB / 1.592 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.0815/7.156, allocations: 28.3 MB / 1.619 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/7.156, allocations: 31.44 kB / 1.619 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001951/7.156, allocations: 63.97 kB / 1.619 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03151/7.187, allocations: 10.41 MB / 1.63 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01615/7.204, allocations: 1.951 MB / 1.632 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04212/7.246, allocations: 21.21 MB / 1.652 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/7.26, allocations: 1.416 MB / 1.654 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004362/7.264, allocations: 0.5244 MB / 1.654 GB, free: 70.23 MB / 0.5261 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.006682/7.271, allocations: 0.7035 MB / 1.655 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004531/7.276, allocations: 0.7256 MB / 1.656 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07921/7.355, allocations: 27.79 MB / 1.683 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06811/7.423, allocations: 25.33 MB / 1.707 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.18e-05/7.423, allocations: 7.953 kB / 1.707 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002826/7.424, allocations: 54.47 kB / 1.707 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6145/8.038, allocations: 52.53 MB / 1.759 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002331/8.038, allocations: 4.562 kB / 1.759 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01315/8.052, allocations: 1.361 MB / 1.76 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03475/8.086, allocations: 10.28 MB / 1.77 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00387/8.09, allocations: 305.5 kB / 1.77 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04466/8.135, allocations: 21.1 MB / 1.791 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/8.135, allocations: 6.188 kB / 1.791 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1104/8.245, allocations: 41.29 MB / 1.831 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01139/8.257, allocations: 3.138 MB / 1.834 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004872/8.262, allocations: 184.2 kB / 1.835 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0113/8.273, allocations: 0.5057 MB / 1.835 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005415/8.279, allocations: 1.062 MB / 1.836 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003808/8.282, allocations: 375.5 kB / 1.836 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007765/8.29, allocations: 2.927 MB / 1.839 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.222e-06/8.29, allocations: 0 / 1.839 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02128/8.312, allocations: 4.36 MB / 1.844 GB, free: 56.71 MB / 0.5261 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.1128/8.424, allocations: 42.25 MB / 1.885 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06484/8.489, allocations: 23.41 MB / 1.908 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/8.489, allocations: 0 / 1.908 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03595/8.525, allocations: 12.15 MB / 1.92 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/8.54, allocations: 1.377 MB / 1.921 GB, free: 17.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5759/9.116, allocations: 41.58 MB / 1.962 GB, free: 80.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0329/9.149, allocations: 12.32 MB / 1.974 GB, free: 79.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01825/9.167, allocations: 2.793 MB / 1.976 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01808/9.185, allocations: 6.159 MB / 1.982 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.744e-06/9.185, allocations: 0 / 1.982 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.115/10.3, allocations: 333 MB / 2.308 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/10.3, allocations: 208.5 kB / 2.308 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/21.53, allocations: 0 / 2.308 GB, free: 15.51 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat