Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.259e-05, allocations: 0 / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5307, allocations: 80.4 MB / 397.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5311, allocations: 69.08 kB / 397.5 MB, free: 7.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08185/0.613, allocations: 18.49 MB / 416 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6131, allocations: 0 / 416 MB, free: 7.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001452/0.6132, allocations: 31.94 kB / 416 MB, free: 7.629 MB / 330.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.005224/0.6185, allocations: 1.331 MB / 417.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.6185, allocations: 8.031 kB / 417.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006844/0.6192, allocations: 172.6 kB / 417.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.6253, allocations: 142.3 kB / 417.6 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.6287, allocations: 0.8566 MB / 418.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6289, allocations: 86.48 kB / 418.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/0.6293, allocations: 105.8 kB / 418.7 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.6413, allocations: 1.451 MB / 420.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.6414, allocations: 3.938 kB / 420.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.6416, allocations: 45.5 kB / 420.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.6417, allocations: 24 kB / 420.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.652, allocations: 1.163 MB / 421.4 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.6789, allocations: 4.274 MB / 425.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.6811, allocations: 1.28 MB / 426.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.6822, allocations: 437 kB / 427.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.6823, allocations: 12.42 kB / 427.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.6824, allocations: 38.62 kB / 427.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.078e-06/0.6824, allocations: 3.938 kB / 427.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.004343/0.6867, allocations: 1.634 MB / 429 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.6868, allocations: 63.77 kB / 429.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.6885, allocations: 0.7244 MB / 429.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.6886, allocations: 35.83 kB / 429.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.6891, allocations: 0.5401 MB / 430.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.6893, allocations: 178.2 kB / 430.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.6894, allocations: 14.75 kB / 430.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6896, allocations: 388 kB / 431 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.6902, allocations: 276.3 kB / 431.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.691, allocations: 378.6 kB / 431.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.6918, allocations: 351.4 kB / 432 MB, free: 10.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6918, allocations: 8 kB / 432 MB, free: 10.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00208/0.6939, allocations: 0.8656 MB / 432.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6939, allocations: 11.75 kB / 432.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.694, allocations: 4 kB / 432.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.6944, allocations: 114.9 kB / 433 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.6954, allocations: 118.8 kB / 433.1 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.6989, allocations: 2.172 MB / 435.2 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.6998, allocations: 27.17 kB / 435.3 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.6999, allocations: 19.25 kB / 435.3 MB, free: 7.895 MB / 346.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.0002142/0.7001, allocations: 134.2 kB / 435.4 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.7003, allocations: 79.06 kB / 435.5 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.7006, allocations: 90.73 kB / 435.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.7006, allocations: 4 kB / 435.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7006, allocations: 7.953 kB / 435.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.7007, allocations: 3.984 kB / 435.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.7058, allocations: 2.008 MB / 437.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.7058, allocations: 4 kB / 437.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.7066, allocations: 88.05 kB / 437.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.707, allocations: 108.9 kB / 437.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.7071, allocations: 16 kB / 437.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.7102, allocations: 2.127 MB / 440 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7102, allocations: 4.094 kB / 440 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.7129, allocations: 1.204 MB / 441.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.7133, allocations: 156.3 kB / 441.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.7135, allocations: 19.98 kB / 441.3 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.7143, allocations: 56.02 kB / 441.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.7145, allocations: 44.27 kB / 441.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.7145, allocations: 16 kB / 441.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.7158, allocations: 0.5772 MB / 442 MB, free: 1.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7158, allocations: 0 / 442 MB, free: 1.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001204/0.717, allocations: 212 kB / 442.2 MB, free: 1.098 MB / 346.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.003187/0.7202, allocations: 2.116 MB / 444.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.7221, allocations: 0.7627 MB / 445.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7221, allocations: 3.938 kB / 445.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7232, allocations: 468 kB / 445.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.7247, allocations: 159 kB / 445.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.7302, allocations: 2.099 MB / 447.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.7317, allocations: 1.36 MB / 449.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008466/0.7325, allocations: 181.8 kB / 449.4 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/0.7333, allocations: 379.3 kB / 449.7 MB, free: 9.414 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7333, allocations: 0 / 449.7 MB, free: 9.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.7916, allocations: 17.68 MB / 467.4 MB, free: 7.805 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.7919, allocations: 181.8 kB / 467.6 MB, free: 7.574 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/3.794, allocations: 0 / 467.6 MB, free: 7.574 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat