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 1.824/1.824, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.386e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.262, allocations: 38.76 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.4286, allocations: 85.09 MB / 348.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.4291, allocations: 83.95 kB / 349 MB, free: 4.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.103/4.532, allocations: 0.778 GB / 1.119 GB, free: 32.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.126e-06/4.532, allocations: 0 / 1.119 GB, free: 32.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001167/4.533, allocations: 382.5 kB / 1.119 GB, free: 32.27 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.07785/4.611, allocations: 15.13 MB / 1.134 GB, free: 28.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/4.611, allocations: 10.94 kB / 1.134 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01251/4.624, allocations: 2.429 MB / 1.136 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/4.638, allocations: 2.073 MB / 1.138 GB, free: 27.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03469/4.673, allocations: 10.56 MB / 1.149 GB, free: 25.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002364/4.675, allocations: 1.274 MB / 1.15 GB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008087/4.683, allocations: 1.622 MB / 1.152 GB, free: 25.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09288/4.776, allocations: 27.59 MB / 1.178 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009316/4.777, allocations: 20.47 kB / 1.178 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007116/4.784, allocations: 0.7029 MB / 1.179 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001162/4.785, allocations: 0.7383 MB / 1.18 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06292/4.848, allocations: 20.24 MB / 1.2 GB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6405/5.489, allocations: 85.6 MB / 1.283 GB, free: 26.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03236/5.521, allocations: 13.84 MB / 1.297 GB, free: 24.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04152/5.563, allocations: 12.12 MB / 1.309 GB, free: 24.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/5.565, allocations: 235 kB / 1.309 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/5.565, allocations: 123 kB / 1.309 GB, free: 24.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 2.953e-05/5.565, allocations: 0 / 1.309 GB, free: 24.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.06535/5.63, allocations: 21.42 MB / 1.33 GB, free: 23.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/5.631, allocations: 211.7 kB / 1.33 GB, free: 23.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008438/5.639, allocations: 2.948 MB / 1.333 GB, free: 23.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002739/5.642, allocations: 156.1 kB / 1.333 GB, free: 23.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004132/5.646, allocations: 5.398 MB / 1.338 GB, free: 20.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006776/5.653, allocations: 3.656 MB / 1.342 GB, free: 18.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002698/5.656, allocations: 156.2 kB / 1.342 GB, free: 18.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001585/5.657, allocations: 0.74 MB / 1.343 GB, free: 18.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02019/5.677, allocations: 7.678 MB / 1.35 GB, free: 18.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02317/5.701, allocations: 9.192 MB / 1.359 GB, free: 15.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02376/5.724, allocations: 9.23 MB / 1.368 GB, free: 11.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.781e-05/5.725, allocations: 10.06 kB / 1.368 GB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.06815/5.793, allocations: 22.87 MB / 1.391 GB, free: 11.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/5.793, allocations: 21.09 kB / 1.391 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/5.793, allocations: 32 kB / 1.391 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03582/5.829, allocations: 10.76 MB / 1.401 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007834/5.837, allocations: 0.9291 MB / 1.402 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.444/6.281, allocations: 22.56 MB / 1.424 GB, free: 72.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009523/6.29, allocations: 0.844 MB / 1.425 GB, free: 72.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00325/6.294, allocations: 357.1 kB / 1.425 GB, free: 72.8 MB / 474.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.005458/6.299, allocations: 0.4885 MB / 1.426 GB, free: 72.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004035/6.303, allocations: 0.5679 MB / 1.426 GB, free: 72.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1236/6.427, allocations: 23.86 MB / 1.45 GB, free: 71.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07672/6.504, allocations: 21.26 MB / 1.47 GB, free: 71.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/6.504, allocations: 2.719 kB / 1.47 GB, free: 71.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001769/6.504, allocations: 36.05 kB / 1.47 GB, free: 71.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1287/6.633, allocations: 44.87 MB / 1.514 GB, free: 60.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002192/6.633, allocations: 3.438 kB / 1.514 GB, free: 60.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0056/6.639, allocations: 0.5864 MB / 1.515 GB, free: 60.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03267/6.671, allocations: 10.69 MB / 1.525 GB, free: 57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002848/6.674, allocations: 222.1 kB / 1.525 GB, free: 56.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05794/6.732, allocations: 22.42 MB / 1.547 GB, free: 43.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/6.732, allocations: 7.25 kB / 1.547 GB, free: 43.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0895/6.822, allocations: 34.08 MB / 1.581 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01169/6.834, allocations: 2.434 MB / 1.583 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004598/6.838, allocations: 128 kB / 1.583 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/6.848, allocations: 257.2 kB / 1.583 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005698/6.854, allocations: 0.8804 MB / 1.584 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003391/6.857, allocations: 275.4 kB / 1.585 GB, free: 10.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008316/6.866, allocations: 2.283 MB / 1.587 GB, free: 8.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.042e-06/6.866, allocations: 2.844 kB / 1.587 GB, free: 8.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02178/6.888, allocations: 3.741 MB / 1.59 GB, free: 4.805 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.5502/7.438, allocations: 36.11 MB / 1.626 GB, free: 69.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.05298/7.491, allocations: 18.54 MB / 1.644 GB, free: 69.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/7.491, allocations: 0 / 1.644 GB, free: 69.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03097/7.522, allocations: 9.802 MB / 1.653 GB, free: 69.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/7.536, allocations: 1.317 MB / 1.655 GB, free: 69.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.116/7.652, allocations: 34.8 MB / 1.689 GB, free: 61.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02779/7.68, allocations: 11.21 MB / 1.7 GB, free: 57.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01371/7.694, allocations: 5.414 MB / 1.705 GB, free: 53.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/7.694, allocations: 4 kB / 1.705 GB, free: 53.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.052/16.75, allocations: 1.024 GB / 2.728 GB, free: 86.84 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