Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.532e-05/4.571e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 38.77 MB / 263.9 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.4448, allocations: 85.11 MB / 349 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.4452, allocations: 83.95 kB / 349 MB, free: 4.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.493/4.938, allocations: 0.778 GB / 1.119 GB, free: 32.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.504e-06/4.938, allocations: 3.219 kB / 1.119 GB, free: 32.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001727/4.94, allocations: 383.9 kB / 1.119 GB, free: 31.97 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.08248/5.023, allocations: 15.11 MB / 1.134 GB, free: 27.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/5.023, allocations: 10.97 kB / 1.134 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01385/5.037, allocations: 2.43 MB / 1.136 GB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/5.055, allocations: 2.074 MB / 1.138 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05205/5.107, allocations: 10.57 MB / 1.149 GB, free: 25.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003329/5.111, allocations: 1.267 MB / 1.15 GB, free: 25.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01179/5.123, allocations: 1.62 MB / 1.152 GB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1173/5.24, allocations: 27.38 MB / 1.178 GB, free: 23.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009968/5.241, allocations: 17.67 kB / 1.178 GB, free: 23.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007342/5.249, allocations: 0.6988 MB / 1.179 GB, free: 23.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/5.25, allocations: 0.7466 MB / 1.18 GB, free: 23.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06233/5.312, allocations: 20.05 MB / 1.199 GB, free: 17.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6436/5.956, allocations: 85.67 MB / 1.283 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02932/5.985, allocations: 13.76 MB / 1.296 GB, free: 24.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03122/6.016, allocations: 12.11 MB / 1.308 GB, free: 24.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/6.018, allocations: 242 kB / 1.308 GB, free: 24.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/6.018, allocations: 120 kB / 1.309 GB, free: 24.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 1.939e-05/6.018, allocations: 0.5625 kB / 1.309 GB, free: 24.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.06193/6.08, allocations: 21.42 MB / 1.329 GB, free: 23.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/6.08, allocations: 211.6 kB / 1.33 GB, free: 23.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008518/6.089, allocations: 2.947 MB / 1.333 GB, free: 23.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002736/6.092, allocations: 154.6 kB / 1.333 GB, free: 23.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004192/6.096, allocations: 5.399 MB / 1.338 GB, free: 21.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006766/6.103, allocations: 3.656 MB / 1.342 GB, free: 18.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00287/6.106, allocations: 154.4 kB / 1.342 GB, free: 18.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001668/6.107, allocations: 0.7417 MB / 1.342 GB, free: 18.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02018/6.128, allocations: 7.677 MB / 1.35 GB, free: 18.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02259/6.15, allocations: 9.155 MB / 1.359 GB, free: 15.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/6.174, allocations: 9.229 MB / 1.368 GB, free: 11.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/6.174, allocations: 10.91 kB / 1.368 GB, free: 11.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.08741/6.261, allocations: 23.9 MB / 1.391 GB, free: 14.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/6.262, allocations: 21.25 kB / 1.391 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/6.262, allocations: 36 kB / 1.391 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03585/6.298, allocations: 10.75 MB / 1.402 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007849/6.306, allocations: 0.931 MB / 1.403 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4506/6.756, allocations: 23.37 MB / 1.426 GB, free: 53.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009527/6.766, allocations: 0.8538 MB / 1.426 GB, free: 53.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003182/6.769, allocations: 358.9 kB / 1.427 GB, free: 53.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.00574/6.775, allocations: 495.9 kB / 1.427 GB, free: 52.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004023/6.779, allocations: 0.5664 MB / 1.428 GB, free: 52.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08943/6.868, allocations: 23.86 MB / 1.451 GB, free: 52.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05674/6.925, allocations: 21.26 MB / 1.472 GB, free: 51.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.963e-05/6.925, allocations: 6.016 kB / 1.472 GB, free: 51.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002422/6.925, allocations: 38.44 kB / 1.472 GB, free: 51.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1548/7.08, allocations: 44.86 MB / 1.516 GB, free: 36.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000199/7.081, allocations: 0 / 1.516 GB, free: 36.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005483/7.086, allocations: 0.5906 MB / 1.516 GB, free: 36.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03283/7.119, allocations: 10.69 MB / 1.527 GB, free: 33.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002656/7.122, allocations: 229 kB / 1.527 GB, free: 33.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04338/7.165, allocations: 22.42 MB / 1.549 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/7.165, allocations: 1.031 kB / 1.549 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1067/7.272, allocations: 34.8 MB / 1.583 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009063/7.281, allocations: 2.441 MB / 1.585 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003583/7.285, allocations: 129.8 kB / 1.585 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007439/7.292, allocations: 256.9 kB / 1.585 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004435/7.296, allocations: 0.8849 MB / 1.586 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002953/7.299, allocations: 270.2 kB / 1.587 GB, free: 1.395 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.4379/7.737, allocations: 2.335 MB / 1.589 GB, free: 72.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.743e-06/7.737, allocations: 0 / 1.589 GB, free: 72.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02383/7.761, allocations: 3.747 MB / 1.593 GB, free: 72.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (368): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,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.1492/7.911, allocations: 35.2 MB / 1.627 GB, free: 70.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0542/7.965, allocations: 18.43 MB / 1.645 GB, free: 69.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/7.965, allocations: 1.5 kB / 1.645 GB, free: 69.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04017/8.005, allocations: 9.762 MB / 1.654 GB, free: 69.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/8.019, allocations: 1.324 MB / 1.656 GB, free: 69.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1178/8.137, allocations: 34.75 MB / 1.69 GB, free: 57.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02702/8.164, allocations: 11.22 MB / 1.701 GB, free: 53.99 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01361/8.178, allocations: 5.411 MB / 1.706 GB, free: 49.17 MB / 474.7 MB Notification: Performance of SimCode: time 2.504e-06/8.178, allocations: 0 / 1.706 GB, free: 49.17 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.104/17.28, allocations: 1.023 GB / 2.729 GB, free: 79.52 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat