Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.769e-05, allocations: 0 / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5308, allocations: 81.06 MB / 381 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5312, allocations: 82.91 kB / 381.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09617/0.6274, allocations: 28.75 MB / 409.8 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6274, allocations: 7.906 kB / 409.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.6274, allocations: 15.19 kB / 409.9 MB, free: 5.965 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003177/0.6306, allocations: 1.066 MB / 410.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6307, allocations: 7.75 kB / 410.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/0.631, allocations: 169.4 kB / 411.1 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006921/0.6379, allocations: 0.7112 MB / 411.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008114/0.6387, allocations: 440.9 kB / 412.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.6388, allocations: 78.2 kB / 412.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.6391, allocations: 111.8 kB / 412.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.6415, allocations: 1.053 MB / 413.5 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.6416, allocations: 3.984 kB / 413.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.6417, allocations: 52.25 kB / 413.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.6418, allocations: 23.25 kB / 413.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.6442, allocations: 1.071 MB / 414.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007902/0.6522, allocations: 4.06 MB / 418.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.6564, allocations: 3.717 MB / 422.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.6571, allocations: 301 kB / 422.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.6573, allocations: 98.09 kB / 422.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.6573, allocations: 45.38 kB / 422.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.467e-06/0.6573, allocations: 0 / 422.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.00133/0.6587, allocations: 0.5134 MB / 423.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.6588, allocations: 111.2 kB / 423.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.6592, allocations: 281.7 kB / 423.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.6593, allocations: 36.77 kB / 423.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.6596, allocations: 0.4946 MB / 424.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.6599, allocations: 247.9 kB / 424.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.6599, allocations: 26.09 kB / 424.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6601, allocations: 345 kB / 424.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.6606, allocations: 216.1 kB / 425.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.6614, allocations: 0.531 MB / 425.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.6621, allocations: 308.5 kB / 425.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.6622, allocations: 3.875 kB / 425.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001889/0.6641, allocations: 0.8144 MB / 426.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6641, allocations: 11.78 kB / 426.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.6642, allocations: 8.531 kB / 426.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.7e-05/0.6642, allocations: 23.19 kB / 426.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.6657, allocations: 242.2 kB / 427 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.069e-05/0.6658, allocations: 19.41 kB / 427 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/0.6666, allocations: 104.8 kB / 427.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.274e-05/0.6667, allocations: 42.94 kB / 427.2 MB, free: 12.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.6669, allocations: 161.9 kB / 427.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6671, allocations: 58.88 kB / 427.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.6687, allocations: 0.6373 MB / 428 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6687, allocations: 7.719 kB / 428 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6688, allocations: 4 kB / 428 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.6688, allocations: 7.891 kB / 428.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.6721, allocations: 1.545 MB / 429.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6722, allocations: 0 / 429.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.6733, allocations: 147.2 kB / 429.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.6733, allocations: 3.781 kB / 429.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.6734, allocations: 27.56 kB / 429.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.6734, allocations: 0 / 429.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6734, allocations: 3.75 kB / 429.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.6755, allocations: 1.127 MB / 430.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.6757, allocations: 135.8 kB / 431 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6758, allocations: 11.88 kB / 431.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.6765, allocations: 23.62 kB / 431.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.6766, allocations: 47.95 kB / 431.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.6767, allocations: 23.31 kB / 431.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.677, allocations: 212.4 kB / 431.4 MB, free: 9.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.206e-06/0.677, allocations: 0 / 431.4 MB, free: 9.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001188/0.6782, allocations: 253 kB / 431.6 MB, free: 9.762 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002651/0.6808, allocations: 1.853 MB / 433.5 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.6824, allocations: 0.625 MB / 434.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.6825, allocations: 3.875 kB / 434.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.6831, allocations: 293.5 kB / 434.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.6837, allocations: 35.84 kB / 434.4 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006218/0.6899, allocations: 1.652 MB / 436.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.6906, allocations: 0.9457 MB / 437 MB, free: 6.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/0.6913, allocations: 289.8 kB / 437.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of SimCode: time 4.799e-06/0.6913, allocations: 0 / 437.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.657/3.348, allocations: 10.84 MB / 448.1 MB, free: 13.81 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat