Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.557e-05, allocations: 4 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 44.49 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5281, allocations: 76.19 MB / 376.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5285, allocations: 70.45 kB / 376.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07465/0.6032, allocations: 18.55 MB / 394.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6032, allocations: 0 / 394.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001285/0.6034, allocations: 34.23 kB / 394.8 MB, free: 10.53 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00454/0.6079, allocations: 1.321 MB / 396.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.608, allocations: 11.72 kB / 396.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006884/0.6087, allocations: 180.9 kB / 396.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.6092, allocations: 144.7 kB / 396.4 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.6117, allocations: 0.854 MB / 397.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.6119, allocations: 85.53 kB / 397.4 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.6122, allocations: 105.9 kB / 397.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/0.6162, allocations: 1.45 MB / 398.9 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.6163, allocations: 0 / 398.9 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.6165, allocations: 49.56 kB / 399 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.6165, allocations: 27.09 kB / 399 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/0.6196, allocations: 1.16 MB / 400.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.6305, allocations: 4.253 MB / 404.4 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.6321, allocations: 1.28 MB / 405.7 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009614/0.6331, allocations: 443.2 kB / 406.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.6332, allocations: 8.188 kB / 406.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.6332, allocations: 41.12 kB / 406.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.847e-06/0.6332, allocations: 0 / 406.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00405/0.6373, allocations: 1.641 MB / 407.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6374, allocations: 59.67 kB / 407.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.6389, allocations: 0.7275 MB / 408.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.6391, allocations: 36.3 kB / 408.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.6394, allocations: 0.5518 MB / 409.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.6396, allocations: 180.5 kB / 409.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.6397, allocations: 14 kB / 409.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.6398, allocations: 329.4 kB / 409.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.6404, allocations: 283.5 kB / 410 MB, free: 4.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.641, allocations: 375.6 kB / 410.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.6417, allocations: 352.1 kB / 410.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6417, allocations: 0 / 410.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001758/0.6435, allocations: 0.8219 MB / 411.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.6436, allocations: 7.906 kB / 411.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6436, allocations: 3.906 kB / 411.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004192/0.644, allocations: 108.4 kB / 411.6 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/0.645, allocations: 120.3 kB / 411.8 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.6477, allocations: 2.181 MB / 413.9 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.6486, allocations: 26.61 kB / 414 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.6488, allocations: 26.33 kB / 414 MB, free: 2.184 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.649, allocations: 139.3 kB / 414.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6492, allocations: 78.17 kB / 414.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.6495, allocations: 90.11 kB / 414.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6495, allocations: 7.781 kB / 414.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.6495, allocations: 4 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.6495, allocations: 3.984 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.6542, allocations: 1.986 MB / 416.3 MB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.6543, allocations: 3.938 kB / 416.3 MB, free: 17.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.655, allocations: 92.86 kB / 416.4 MB, free: 17.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.6554, allocations: 98.53 kB / 416.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.6555, allocations: 16.81 kB / 416.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.6583, allocations: 2.131 MB / 418.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6583, allocations: 7.938 kB / 418.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.6607, allocations: 1.2 MB / 419.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.6612, allocations: 163.7 kB / 420 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.6613, allocations: 18.88 kB / 420 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/0.6621, allocations: 54.33 kB / 420.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.6623, allocations: 43.12 kB / 420.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.6624, allocations: 15.25 kB / 420.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.6635, allocations: 0.5741 MB / 420.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6635, allocations: 0 / 420.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001198/0.6647, allocations: 211.2 kB / 420.9 MB, free: 14.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002896/0.6676, allocations: 2.104 MB / 423 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.6695, allocations: 0.7618 MB / 423.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.6695, allocations: 0 / 423.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.6706, allocations: 469.6 kB / 424.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.6721, allocations: 165.8 kB / 424.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.678, allocations: 2.094 MB / 426.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.6795, allocations: 1.341 MB / 427.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009392/0.6804, allocations: 381.7 kB / 428.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6805, allocations: 0 / 428.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.174/3.854, allocations: 24.34 MB / 452.5 MB, free: 8.148 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat