Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.287/2.287, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.279e-05/4.285e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5507, allocations: 76.72 MB / 376.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5511, allocations: 72.62 kB / 376.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08208/0.6332, allocations: 19.03 MB / 395.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.6332, allocations: 0 / 395.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001279/0.6334, allocations: 31.31 kB / 395.8 MB, free: 10.36 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004682/0.6381, allocations: 1.346 MB / 397.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6382, allocations: 7.75 kB / 397.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006334/0.6388, allocations: 179.2 kB / 397.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.6393, allocations: 140.6 kB / 397.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.6423, allocations: 0.9125 MB / 398.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/0.6424, allocations: 86.5 kB / 398.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.6428, allocations: 109.4 kB / 398.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.6465, allocations: 1.468 MB / 400 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.6466, allocations: 0 / 400 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.6467, allocations: 49.44 kB / 400.1 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.6468, allocations: 30.12 kB / 400.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.65, allocations: 1.158 MB / 401.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.6614, allocations: 4.312 MB / 405.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.6628, allocations: 1.282 MB / 406.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/0.6637, allocations: 460.4 kB / 407.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.6638, allocations: 12.12 kB / 407.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6638, allocations: 38.31 kB / 407.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.677e-06/0.6638, allocations: 0 / 407.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001436/0.6653, allocations: 0.5893 MB / 408 MB, free: 5.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6654, allocations: 55.59 kB / 408 MB, free: 5.324 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.6668, allocations: 0.7295 MB / 408.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.6669, allocations: 33.56 kB / 408.8 MB, free: 5.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.6673, allocations: 0.5598 MB / 409.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.6675, allocations: 185.4 kB / 409.5 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.6675, allocations: 10.59 kB / 409.5 MB, free: 4.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.6676, allocations: 329.3 kB / 409.9 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.6682, allocations: 281.6 kB / 410.1 MB, free: 4.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.6688, allocations: 371.7 kB / 410.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.6695, allocations: 336.6 kB / 410.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6695, allocations: 4 kB / 410.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001453/0.671, allocations: 0.7236 MB / 411.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.6711, allocations: 9.625 kB / 411.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6711, allocations: 0 / 411.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.6711, allocations: 11.83 kB / 411.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6723, allocations: 152.2 kB / 411.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.6723, allocations: 3.875 kB / 411.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.6731, allocations: 64.81 kB / 411.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.6732, allocations: 18.75 kB / 411.8 MB, free: 3.742 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.000175/0.6734, allocations: 140.7 kB / 411.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.6736, allocations: 70.28 kB / 412 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.6738, allocations: 93.8 kB / 412.1 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6739, allocations: 3.875 kB / 412.1 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6739, allocations: 3.953 kB / 412.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.6739, allocations: 3.984 kB / 412.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.6781, allocations: 1.884 MB / 414 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6782, allocations: 0 / 414 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6792, allocations: 120.5 kB / 414.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.6793, allocations: 3.984 kB / 414.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.6793, allocations: 10.88 kB / 414.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.6793, allocations: 3.969 kB / 414.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6793, allocations: 0 / 414.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.6813, allocations: 1.085 MB / 415.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.6818, allocations: 166.1 kB / 415.4 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.6819, allocations: 14.31 kB / 415.4 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.6827, allocations: 57.84 kB / 415.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.6829, allocations: 38.34 kB / 415.5 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.6829, allocations: 14.72 kB / 415.5 MB, free: 2.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.684, allocations: 0.5663 MB / 416.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6841, allocations: 0 / 416.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001287/0.6854, allocations: 289.9 kB / 416.3 MB, free: 2.016 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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.002402/0.6878, allocations: 1.851 MB / 418.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.6892, allocations: 0.597 MB / 418.8 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.433e-05/0.6892, allocations: 0 / 418.8 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.6898, allocations: 297.2 kB / 419.1 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6914, allocations: 163.9 kB / 419.2 MB, free: 16.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.6971, allocations: 2.185 MB / 421.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.6984, allocations: 1.337 MB / 422.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/0.6993, allocations: 385.8 kB / 423.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6993, allocations: 7.812 kB / 423.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/3.584, allocations: 19.13 MB / 442.3 MB, free: 2.492 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat