Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.02e-05, allocations: 6.031 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5376, allocations: 81.91 MB / 424.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5379, allocations: 69.72 kB / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07588/0.6138, allocations: 19 MB / 443.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.6139, allocations: 0 / 443.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.614, allocations: 35.94 kB / 443.6 MB, free: 12.1 MB / 362.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.003975/0.618, allocations: 1.346 MB / 445 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.618, allocations: 8.031 kB / 445 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000422/0.6185, allocations: 178.8 kB / 445.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.6189, allocations: 138.4 kB / 445.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.6211, allocations: 0.8484 MB / 446.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.6212, allocations: 80.34 kB / 446.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.6215, allocations: 108.4 kB / 446.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.6251, allocations: 1.446 MB / 447.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.6252, allocations: 3.938 kB / 447.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.6254, allocations: 52.95 kB / 447.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.6254, allocations: 28 kB / 447.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.6286, allocations: 1.144 MB / 449 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.64, allocations: 4.247 MB / 453.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.6418, allocations: 1.287 MB / 454.6 MB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.6429, allocations: 446.5 kB / 455 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.6429, allocations: 8.422 kB / 455 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.643, allocations: 39 kB / 455 MB, free: 1.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.995e-06/0.643, allocations: 0 / 455 MB, free: 1.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.00405/0.647, allocations: 1.623 MB / 456.7 MB, free: 32 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.6471, allocations: 63.89 kB / 456.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.6487, allocations: 0.7336 MB / 457.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.6488, allocations: 37.7 kB / 457.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/0.6493, allocations: 0.5376 MB / 458 MB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.6495, allocations: 181.4 kB / 458.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.6496, allocations: 8 kB / 458.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.6498, allocations: 382.8 kB / 458.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.6505, allocations: 289 kB / 458.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007226/0.6512, allocations: 378.2 kB / 459.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.652, allocations: 343.1 kB / 459.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.652, allocations: 3.938 kB / 459.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002116/0.6541, allocations: 0.8657 MB / 460.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.6542, allocations: 11.95 kB / 460.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6542, allocations: 0 / 460.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.6547, allocations: 116.7 kB / 460.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6557, allocations: 128.1 kB / 460.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.6588, allocations: 2.166 MB / 462.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.6597, allocations: 27.98 kB / 462.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.6597, allocations: 16 kB / 462.9 MB, free: 9.562 MB / 378.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.0002006/0.66, allocations: 140.9 kB / 463 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6601, allocations: 71.16 kB / 463.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.6604, allocations: 94.86 kB / 463.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.6604, allocations: 7.938 kB / 463.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.6604, allocations: 0 / 463.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6605, allocations: 7.984 kB / 463.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/0.6653, allocations: 1.983 MB / 465.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.6654, allocations: 7.953 kB / 465.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.6661, allocations: 95.98 kB / 465.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.6665, allocations: 112.7 kB / 465.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.6666, allocations: 12 kB / 465.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.6696, allocations: 2.111 MB / 467.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6696, allocations: 0 / 467.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.6722, allocations: 1.212 MB / 468.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.6726, allocations: 160.2 kB / 468.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6728, allocations: 12 kB / 468.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.6736, allocations: 56.02 kB / 469 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.6738, allocations: 40.38 kB / 469 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.6738, allocations: 16 kB / 469 MB, free: 3.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.6751, allocations: 0.5733 MB / 469.6 MB, free: 2.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6751, allocations: 4 kB / 469.6 MB, free: 2.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001165/0.6762, allocations: 216 kB / 469.8 MB, free: 2.336 MB / 378.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.003087/0.6793, allocations: 2.117 MB / 471.9 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.6813, allocations: 0.7665 MB / 472.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6814, allocations: 4 kB / 472.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6825, allocations: 456 kB / 473.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.6839, allocations: 171 kB / 473.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.6897, allocations: 2.107 MB / 475.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.6912, allocations: 1.36 MB / 476.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008742/0.6921, allocations: 181.8 kB / 477 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008148/0.693, allocations: 371.3 kB / 477.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.693, allocations: 0 / 477.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07708/0.7701, allocations: 17.72 MB / 495 MB, free: 9.113 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/0.7705, allocations: 178.4 kB / 495.2 MB, free: 8.887 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.601, allocations: 0 / 495.2 MB, free: 8.887 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat