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.969/1.969, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.381e-05, allocations: 6.391 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09412, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.5992, allocations: 81.06 MB / 381 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5996, allocations: 81.17 kB / 381.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09905/0.6987, allocations: 28.76 MB / 409.8 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6987, allocations: 0 / 409.8 MB, free: 5.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.6988, allocations: 15.62 kB / 409.8 MB, free: 5.723 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.003209/0.702, allocations: 1.071 MB / 410.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7021, allocations: 7.844 kB / 410.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003002/0.7024, allocations: 162.9 kB / 411.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006957/0.7093, allocations: 0.7135 MB / 411.8 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.7102, allocations: 433.3 kB / 412.2 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.7103, allocations: 82.34 kB / 412.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.7106, allocations: 107.5 kB / 412.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.7131, allocations: 1.08 MB / 413.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.7132, allocations: 0 / 413.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7133, allocations: 50.53 kB / 413.5 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.7134, allocations: 23.28 kB / 413.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.7159, allocations: 1.073 MB / 414.6 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.724, allocations: 4.058 MB / 418.7 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/0.7284, allocations: 3.74 MB / 422.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/0.7291, allocations: 298.8 kB / 422.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.7293, allocations: 93.28 kB / 422.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.7294, allocations: 45.88 kB / 422.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 4.378e-06/0.7294, allocations: 0 / 422.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.001325/0.7307, allocations: 0.5107 MB / 423.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.7308, allocations: 115.3 kB / 423.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.7313, allocations: 288.1 kB / 423.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.7313, allocations: 33.52 kB / 423.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.7317, allocations: 0.4938 MB / 424.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.7319, allocations: 254.7 kB / 424.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.732, allocations: 17.97 kB / 424.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7322, allocations: 346 kB / 424.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.7327, allocations: 220.5 kB / 425.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/0.7335, allocations: 0.5342 MB / 425.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.7343, allocations: 308.1 kB / 425.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.7343, allocations: 3.875 kB / 425.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001875/0.7362, allocations: 0.8487 MB / 426.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.7363, allocations: 11.69 kB / 426.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.7363, allocations: 11.62 kB / 426.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/0.7363, allocations: 15.34 kB / 426.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.7379, allocations: 239.6 kB / 427.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.139e-05/0.738, allocations: 19.41 kB / 427.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/0.7388, allocations: 111 kB / 427.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.739, allocations: 40.25 kB / 427.2 MB, free: 11.78 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.0002409/0.7392, allocations: 164 kB / 427.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.7394, allocations: 54.58 kB / 427.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.7411, allocations: 0.6409 MB / 428.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7411, allocations: 7.875 kB / 428.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7411, allocations: 0 / 428.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.7412, allocations: 15.86 kB / 428.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.7446, allocations: 1.538 MB / 429.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.7447, allocations: 3.969 kB / 429.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.7459, allocations: 145.4 kB / 429.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.7459, allocations: 3.906 kB / 429.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.746, allocations: 21.84 kB / 429.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.746, allocations: 7.812 kB / 429.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.746, allocations: 4 kB / 429.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.7482, allocations: 1.124 MB / 431 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.7484, allocations: 131.9 kB / 431.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.7485, allocations: 15.88 kB / 431.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.7492, allocations: 23.66 kB / 431.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.7493, allocations: 51.95 kB / 431.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.7494, allocations: 19.56 kB / 431.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003094/0.7497, allocations: 207.7 kB / 431.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7497, allocations: 7.875 kB / 431.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001154/0.7509, allocations: 249.6 kB / 431.6 MB, free: 9.793 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.002647/0.7536, allocations: 1.858 MB / 433.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.7552, allocations: 0.6449 MB / 434.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.7553, allocations: 0 / 434.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.7559, allocations: 300.8 kB / 434.4 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.7565, allocations: 33.56 kB / 434.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.7628, allocations: 1.664 MB / 436.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.7634, allocations: 0.944 MB / 437.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.7641, allocations: 289.2 kB / 437.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7641, allocations: 3.875 kB / 437.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/3.639, allocations: 10.86 MB / 448.2 MB, free: 13.67 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