Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.129e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09764, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.5413, allocations: 97.88 MB / 397.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5417, allocations: 91.31 kB / 397.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.353/4.895, allocations: 0.8213 GB / 1.21 GB, free: 33.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/4.895, allocations: 4.375 kB / 1.21 GB, free: 33.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00128/4.896, allocations: 396.9 kB / 1.21 GB, free: 33.27 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.0835/4.98, allocations: 16.49 MB / 1.226 GB, free: 28.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/4.98, allocations: 14.28 kB / 1.226 GB, free: 28.61 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01531/4.995, allocations: 3.07 MB / 1.229 GB, free: 28.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06994/5.065, allocations: 8.642 MB / 1.238 GB, free: 27.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04135/5.107, allocations: 11.92 MB / 1.249 GB, free: 26.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002558/5.109, allocations: 1.339 MB / 1.251 GB, free: 26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01003/5.119, allocations: 1.719 MB / 1.252 GB, free: 25.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1087/5.228, allocations: 31.87 MB / 1.284 GB, free: 23.83 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001051/5.229, allocations: 21.08 kB / 1.284 GB, free: 23.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008646/5.238, allocations: 0.7439 MB / 1.284 GB, free: 23.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002098/5.24, allocations: 1.256 MB / 1.286 GB, free: 23.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08285/5.323, allocations: 27.73 MB / 1.313 GB, free: 18.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7576/6.081, allocations: 99.31 MB / 1.41 GB, free: 25.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05636/6.137, allocations: 33.88 MB / 1.443 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03884/6.176, allocations: 15.12 MB / 1.457 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1357/6.312, allocations: 47.24 MB / 1.504 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/6.312, allocations: 152.7 kB / 1.504 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1454): time 2.083e-05/6.312, allocations: 0 / 1.504 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1454): time 0.07407/6.386, allocations: 25.46 MB / 1.529 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/6.386, allocations: 192.6 kB / 1.529 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/6.399, allocations: 3.919 MB / 1.533 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003382/6.402, allocations: 205.7 kB / 1.533 GB, free: 4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006102/6.408, allocations: 5.906 MB / 1.539 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.009834/6.418, allocations: 4.768 MB / 1.543 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003743/6.422, allocations: 224 kB / 1.543 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002123/6.424, allocations: 0.9079 MB / 1.544 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02949/6.454, allocations: 9.811 MB / 1.554 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.516/6.97, allocations: 14.81 MB / 1.568 GB, free: 72.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03478/7.004, allocations: 11.87 MB / 1.58 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001841/7.005, allocations: 19.03 kB / 1.58 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.08483/7.09, allocations: 28.24 MB / 1.608 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/7.09, allocations: 30.09 kB / 1.608 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002312/7.09, allocations: 61.66 kB / 1.608 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03187/7.122, allocations: 10.41 MB / 1.618 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01605/7.138, allocations: 1.945 MB / 1.62 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04487/7.183, allocations: 21.2 MB / 1.64 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/7.198, allocations: 1.426 MB / 1.642 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004457/7.203, allocations: 0.5186 MB / 1.642 GB, free: 67.61 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.007736/7.211, allocations: 0.7047 MB / 1.643 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005044/7.216, allocations: 0.7295 MB / 1.644 GB, free: 67.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08169/7.298, allocations: 27.79 MB / 1.671 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06781/7.365, allocations: 25.33 MB / 1.696 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/7.365, allocations: 6.281 kB / 1.696 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002308/7.366, allocations: 57.47 kB / 1.696 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6399/8.006, allocations: 52.17 MB / 1.747 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002495/8.006, allocations: 0.6562 kB / 1.747 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01314/8.019, allocations: 1.359 MB / 1.748 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04026/8.059, allocations: 10.29 MB / 1.758 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003747/8.063, allocations: 300.8 kB / 1.758 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04626/8.11, allocations: 21.09 MB / 1.779 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/8.11, allocations: 0 / 1.779 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1114/8.221, allocations: 41.29 MB / 1.819 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01168/8.233, allocations: 3.145 MB / 1.822 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004878/8.238, allocations: 180.5 kB / 1.822 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01126/8.249, allocations: 0.5025 MB / 1.823 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00544/8.255, allocations: 1.063 MB / 1.824 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003694/8.258, allocations: 373.9 kB / 1.824 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007829/8.266, allocations: 2.927 MB / 1.827 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.51e-07/8.266, allocations: 0 / 1.827 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02071/8.287, allocations: 4.364 MB / 1.831 GB, free: 54.86 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.1169/8.404, allocations: 42.25 MB / 1.873 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06594/8.47, allocations: 23.6 MB / 1.896 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/8.47, allocations: 0 / 1.896 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0484/8.518, allocations: 12.21 MB / 1.908 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02044/8.539, allocations: 1.368 MB / 1.909 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5843/9.123, allocations: 40.67 MB / 1.949 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02654/9.15, allocations: 11.95 MB / 1.96 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01827/9.168, allocations: 6.236 MB / 1.967 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/9.168, allocations: 2.406 kB / 1.967 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.343/18.51, allocations: 0.9978 GB / 2.964 GB, free: 95.81 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat