Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.457e-05, allocations: 2.5 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5304, allocations: 82.23 MB / 424.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5308, allocations: 74.89 kB / 424.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0968/0.6276, allocations: 19.45 MB / 444.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6276, allocations: 0 / 444.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.6278, allocations: 28 kB / 444.4 MB, free: 11.04 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004583/0.6324, allocations: 1.359 MB / 445.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6324, allocations: 8.031 kB / 445.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005297/0.633, allocations: 176.4 kB / 446 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.6335, allocations: 146.3 kB / 446.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.6363, allocations: 0.9027 MB / 447 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.6365, allocations: 87.12 kB / 447.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.6369, allocations: 107.7 kB / 447.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/0.6411, allocations: 1.462 MB / 448.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.6412, allocations: 0 / 448.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.6414, allocations: 52.77 kB / 448.7 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.6414, allocations: 35.88 kB / 448.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.6448, allocations: 1.144 MB / 449.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.6573, allocations: 4.299 MB / 454.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.6592, allocations: 1.299 MB / 455.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.6603, allocations: 450.5 kB / 455.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.6604, allocations: 4.438 kB / 455.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.6605, allocations: 43 kB / 456 MB, free: 1.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/0.6605, allocations: 0 / 456 MB, free: 1.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001627/0.6621, allocations: 0.585 MB / 456.6 MB, free: 456 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.6622, allocations: 59.83 kB / 456.6 MB, free: 384 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.6639, allocations: 0.7259 MB / 457.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.6641, allocations: 33.7 kB / 457.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/0.6646, allocations: 0.5557 MB / 457.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.6648, allocations: 177.4 kB / 458.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.6649, allocations: 19.94 kB / 458.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6651, allocations: 342.8 kB / 458.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007631/0.6658, allocations: 277 kB / 458.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.6669, allocations: 361.5 kB / 459.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6681, allocations: 339.1 kB / 459.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.6681, allocations: 11.89 kB / 459.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002437/0.6706, allocations: 0.7173 MB / 460.1 MB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.6706, allocations: 8 kB / 460.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6707, allocations: 7.984 kB / 460.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.6707, allocations: 4 kB / 460.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.6723, allocations: 151.8 kB / 460.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.6723, allocations: 4.281 kB / 460.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.6734, allocations: 71.41 kB / 460.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.6735, allocations: 16 kB / 460.4 MB, free: 12.53 MB / 378.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.0002604/0.6738, allocations: 140.8 kB / 460.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.674, allocations: 75.11 kB / 460.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.6744, allocations: 94.84 kB / 460.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.6744, allocations: 4 kB / 460.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6745, allocations: 0 / 460.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6745, allocations: 4 kB / 460.7 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/0.681, allocations: 1.875 MB / 462.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.6811, allocations: 0 / 462.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.6826, allocations: 119.9 kB / 462.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.088e-05/0.6827, allocations: 4 kB / 462.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.324e-05/0.6828, allocations: 12.09 kB / 462.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.6828, allocations: 11.89 kB / 462.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.6828, allocations: 7.984 kB / 462.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/0.6863, allocations: 1.084 MB / 463.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.687, allocations: 164.2 kB / 464 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.6872, allocations: 12 kB / 464 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6884, allocations: 55.94 kB / 464 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.6887, allocations: 40.33 kB / 464.1 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.6887, allocations: 16 kB / 464.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01393/0.7027, allocations: 0.5694 MB / 464.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.7028, allocations: 0 / 464.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00187/0.7046, allocations: 282.7 kB / 464.9 MB, free: 7.836 MB / 378.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.003854/0.7085, allocations: 1.847 MB / 466.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01019/0.7188, allocations: 0.6013 MB / 467.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.7189, allocations: 0 / 467.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.7199, allocations: 297.4 kB / 467.7 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.722, allocations: 167.5 kB / 467.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.7393, allocations: 2.188 MB / 470 MB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.7413, allocations: 1.34 MB / 471.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004024/0.7454, allocations: 383.3 kB / 471.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7455, allocations: 0 / 471.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.725/3.471, allocations: 19.14 MB / 490.9 MB, free: 13.78 MB / 410.7 MB