Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.061e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5392, allocations: 86.04 MB / 428.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5395, allocations: 82.12 kB / 428.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1218/0.6613, allocations: 31.5 MB / 460.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6613, allocations: 0 / 460.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.6615, allocations: 36 kB / 460.3 MB, free: 13.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00577/0.6673, allocations: 1.695 MB / 462 MB, free: 11.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6673, allocations: 16.02 kB / 462 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004549/0.6678, allocations: 202.6 kB / 462.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.67, allocations: 317.8 kB / 462.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.673, allocations: 1.078 MB / 463.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.6731, allocations: 103 kB / 463.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.6735, allocations: 136 kB / 463.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.6779, allocations: 1.767 MB / 465.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.678, allocations: 4 kB / 465.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.6782, allocations: 56 kB / 465.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-05/0.6783, allocations: 46 kB / 465.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/0.6824, allocations: 1.486 MB / 467.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.6967, allocations: 5.595 MB / 472.8 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/0.7016, allocations: 2.839 MB / 475.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.7027, allocations: 475.3 kB / 476.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003653/0.7064, allocations: 1.525 MB / 477.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.7065, allocations: 46.78 kB / 477.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/0.7065, allocations: 4 kB / 477.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.002161/0.7087, allocations: 0.7923 MB / 478.4 MB, free: 9.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.7087, allocations: 81.11 kB / 478.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.7107, allocations: 0.9221 MB / 479.4 MB, free: 8.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.7108, allocations: 33.7 kB / 479.5 MB, free: 8.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.7113, allocations: 0.6682 MB / 480.1 MB, free: 8.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.7116, allocations: 193.3 kB / 480.3 MB, free: 8.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.7116, allocations: 12 kB / 480.3 MB, free: 8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7118, allocations: 338.8 kB / 480.7 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.7126, allocations: 321.7 kB / 481 MB, free: 7.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009366/0.7136, allocations: 493.8 kB / 481.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.7145, allocations: 401.2 kB / 481.9 MB, free: 6.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7145, allocations: 3.938 kB / 481.9 MB, free: 6.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002125/0.7167, allocations: 0.8578 MB / 482.7 MB, free: 5.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.7167, allocations: 8 kB / 482.7 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.7167, allocations: 4 kB / 482.7 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.7168, allocations: 11.95 kB / 482.7 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.7183, allocations: 184.3 kB / 482.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.7183, allocations: 16.17 kB / 482.9 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.7193, allocations: 83.33 kB / 483 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.7194, allocations: 28 kB / 483 MB, free: 5.207 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002207/0.7197, allocations: 144.7 kB / 483.2 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.7199, allocations: 90.88 kB / 483.3 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.7218, allocations: 0.6502 MB / 483.9 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.7218, allocations: 7.984 kB / 483.9 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.7218, allocations: 4 kB / 483.9 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.7219, allocations: 0 / 483.9 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.7256, allocations: 1.621 MB / 485.6 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7256, allocations: 8.031 kB / 485.6 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/0.7265, allocations: 91.88 kB / 485.7 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006638/0.7272, allocations: 148.6 kB / 485.8 MB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.7273, allocations: 23.98 kB / 485.8 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/0.7318, allocations: 2.599 MB / 488.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7318, allocations: 0 / 488.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.735, allocations: 1.42 MB / 489.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.7354, allocations: 191.9 kB / 490 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.7356, allocations: 12 kB / 490 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7366, allocations: 67.94 kB / 490.1 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.7368, allocations: 63.78 kB / 490.2 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.7369, allocations: 16 kB / 490.2 MB, free: 13.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001555/0.7384, allocations: 0.7255 MB / 490.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.7384, allocations: 0 / 490.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001476/0.7399, allocations: 358.4 kB / 491.3 MB, free: 12.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003712/0.7437, allocations: 2.296 MB / 493.6 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.7454, allocations: 0.6938 MB / 494.3 MB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7454, allocations: 0 / 494.3 MB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.7469, allocations: 0.5397 MB / 494.8 MB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.7483, allocations: 167.4 kB / 495 MB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.7552, allocations: 2.664 MB / 497.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.7569, allocations: 1.496 MB / 499.1 MB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.758, allocations: 487.3 kB / 499.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.758, allocations: 0 / 499.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/3.533, allocations: 26.62 MB / 0.5139 GB, free: 9.609 MB / 442.7 MB