Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.156/2.156, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.435e-05, allocations: 2.312 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5729, allocations: 75.52 MB / 369.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5733, allocations: 66.23 kB / 369.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07335/0.6467, allocations: 18.34 MB / 388.2 MB, free: 17.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6467, allocations: 0 / 388.2 MB, free: 17.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.6468, allocations: 34.59 kB / 388.2 MB, free: 17.96 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.003866/0.6507, allocations: 1.319 MB / 389.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.6508, allocations: 11.84 kB / 389.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.6512, allocations: 147.7 kB / 389.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.6534, allocations: 0.8549 MB / 390.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.6535, allocations: 34.94 kB / 390.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.6537, allocations: 62.06 kB / 390.7 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00287/0.6566, allocations: 1.111 MB / 391.8 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.6598, allocations: 1.314 MB / 393.1 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.6599, allocations: 7.984 kB / 393.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.66, allocations: 0 / 393.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.6601, allocations: 27.12 kB / 393.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.6707, allocations: 4.042 MB / 397.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.6723, allocations: 1.267 MB / 398.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.6732, allocations: 421.4 kB / 398.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.6733, allocations: 4.344 kB / 398.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.6733, allocations: 41.56 kB / 398.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.857e-06/0.6733, allocations: 0 / 398.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.003822/0.6772, allocations: 1.547 MB / 400.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.6772, allocations: 67.56 kB / 400.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6785, allocations: 0.6702 MB / 401.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.6786, allocations: 25.7 kB / 401.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/0.6791, allocations: 0.5396 MB / 401.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.6793, allocations: 170.9 kB / 401.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.6794, allocations: 0 / 401.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.6796, allocations: 383.2 kB / 402.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.6802, allocations: 273 kB / 402.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.6808, allocations: 368 kB / 402.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.6816, allocations: 339.6 kB / 403.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6816, allocations: 3.875 kB / 403.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001864/0.6835, allocations: 0.824 MB / 404.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6835, allocations: 3.875 kB / 404.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6835, allocations: 7.812 kB / 404.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/0.6839, allocations: 103.9 kB / 404.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.685, allocations: 132.1 kB / 404.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.6881, allocations: 2.091 MB / 406.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.6889, allocations: 19.45 kB / 406.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.689, allocations: 19.23 kB / 406.4 MB, free: 9.301 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.0002097/0.6893, allocations: 124.6 kB / 406.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001472/0.6907, allocations: 0.656 MB / 407.2 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.6909, allocations: 70.31 kB / 407.3 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.6912, allocations: 85.61 kB / 407.4 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.6912, allocations: 11.72 kB / 407.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6912, allocations: 4 kB / 407.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6913, allocations: 3.984 kB / 407.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.6957, allocations: 1.788 MB / 409.2 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.6957, allocations: 3.812 kB / 409.2 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.6965, allocations: 85.83 kB / 409.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/0.6969, allocations: 109.9 kB / 409.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.697, allocations: 7.719 kB / 409.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.6999, allocations: 2.048 MB / 411.4 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7, allocations: 0 / 411.4 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.7024, allocations: 1.17 MB / 412.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.7028, allocations: 154.1 kB / 412.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.7029, allocations: 6.219 kB / 412.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.7038, allocations: 50.94 kB / 412.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.7039, allocations: 36.25 kB / 412.8 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.704, allocations: 20.48 kB / 412.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.7052, allocations: 0.5191 MB / 413.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7052, allocations: 0 / 413.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001229/0.7064, allocations: 196 kB / 413.6 MB, free: 5.52 MB / 314.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.003173/0.7096, allocations: 2.061 MB / 415.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.7116, allocations: 0.747 MB / 416.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7117, allocations: 0 / 416.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.7128, allocations: 463.9 kB / 416.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.7143, allocations: 143.3 kB / 417 MB, free: 2.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.722, allocations: 2.057 MB / 419 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/0.7243, allocations: 1.359 MB / 420.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001426/0.7257, allocations: 177.5 kB / 420.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.727, allocations: 375.3 kB / 420.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7271, allocations: 0 / 420.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08526/0.8123, allocations: 16.04 MB / 437 MB, free: 14.04 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003243/0.8127, allocations: 158 kB / 437.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.277/4.089, allocations: 7.875 kB / 437.1 MB, free: 13.83 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat