Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.148e-05, allocations: 4 kB / 292.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 50.41 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5632, allocations: 96.46 MB / 439.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.5636, allocations: 81.08 kB / 439.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565/2.129, allocations: 315 MB / 0.7365 GB, free: 79.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.129, allocations: 0 / 0.7365 GB, free: 79.69 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000566/2.13, allocations: 179.5 kB / 0.7366 GB, free: 79.68 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04734/2.177, allocations: 9.567 MB / 0.746 GB, free: 77.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/2.177, allocations: 11.25 kB / 0.746 GB, free: 77.21 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006614/2.184, allocations: 1.299 MB / 0.7473 GB, free: 77.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04613/2.23, allocations: 5.53 MB / 0.7527 GB, free: 76.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02145/2.251, allocations: 6.317 MB / 0.7588 GB, free: 75.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009002/2.252, allocations: 0.6102 MB / 0.7594 GB, free: 75.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00561/2.258, allocations: 0.8035 MB / 0.7602 GB, free: 75.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05455/2.312, allocations: 15.44 MB / 0.7753 GB, free: 73.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004742/2.313, allocations: 23.09 kB / 0.7753 GB, free: 73.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004023/2.317, allocations: 354.1 kB / 0.7757 GB, free: 73.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001291/2.318, allocations: 0.8205 MB / 0.7765 GB, free: 73.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05064/2.369, allocations: 14.25 MB / 0.7904 GB, free: 67.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1317/2.501, allocations: 47.69 MB / 0.837 GB, free: 26.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03824/2.539, allocations: 19.16 MB / 0.8557 GB, free: 5.395 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/2.552, allocations: 3.5 MB / 0.8591 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/2.553, allocations: 185.5 kB / 0.8593 GB, free: 1.719 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/2.553, allocations: 93.75 kB / 0.8594 GB, free: 1.621 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 1.328e-05/2.553, allocations: 0 / 0.8594 GB, free: 1.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.4216/2.975, allocations: 7.13 MB / 0.8663 GB, free: 74.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.975, allocations: 128.8 kB / 0.8664 GB, free: 74.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009369/2.984, allocations: 3.428 MB / 0.8698 GB, free: 74.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009841/2.985, allocations: 112.6 kB / 0.8699 GB, free: 74.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003482/2.989, allocations: 3.837 MB / 0.8736 GB, free: 72.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002393/2.991, allocations: 1.61 MB / 0.8752 GB, free: 71.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008813/2.992, allocations: 148.3 kB / 0.8754 GB, free: 71.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005741/2.993, allocations: 0.6183 MB / 0.876 GB, free: 71.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009621/3.002, allocations: 3.585 MB / 0.8795 GB, free: 71.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/3.018, allocations: 6.349 MB / 0.8857 GB, free: 67.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/3.035, allocations: 5.16 MB / 0.8907 GB, free: 67.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/3.035, allocations: 28.03 kB / 0.8907 GB, free: 67.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03838/3.073, allocations: 11.37 MB / 0.9018 GB, free: 67.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/3.074, allocations: 44.91 kB / 0.9019 GB, free: 67.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/3.074, allocations: 98.22 kB / 0.902 GB, free: 67.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008217/3.082, allocations: 1.609 MB / 0.9035 GB, free: 67.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01163/3.094, allocations: 1.654 MB / 0.9051 GB, free: 67.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02526/3.119, allocations: 16.17 MB / 0.9209 GB, free: 58.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008599/3.128, allocations: 0.9458 MB / 0.9219 GB, free: 58.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/3.129, allocations: 362.3 kB / 0.9222 GB, free: 58.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001958/3.131, allocations: 0.5582 MB / 0.9228 GB, free: 58.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/3.132, allocations: 388.4 kB / 0.9231 GB, free: 57.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03076/3.163, allocations: 8.44 MB / 0.9314 GB, free: 56.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-05/3.163, allocations: 47.53 kB / 0.9314 GB, free: 56.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/3.163, allocations: 19.06 kB / 0.9314 GB, free: 56.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001544/3.164, allocations: 33.73 kB / 0.9315 GB, free: 56.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06194/3.225, allocations: 16.77 MB / 0.9478 GB, free: 50.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/3.226, allocations: 9.172 kB / 0.9478 GB, free: 50.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007082/3.233, allocations: 0.8624 MB / 0.9487 GB, free: 50.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007926/3.241, allocations: 1.488 MB / 0.9501 GB, free: 49.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008631/3.241, allocations: 101.5 kB / 0.9502 GB, free: 49.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02493/3.266, allocations: 15.96 MB / 0.9658 GB, free: 38.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/3.266, allocations: 3.781 kB / 0.9658 GB, free: 38.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/3.302, allocations: 12.22 MB / 0.9778 GB, free: 32.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005327/3.307, allocations: 1.112 MB / 0.9788 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/3.309, allocations: 91.81 kB / 0.9789 GB, free: 31.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007387/3.316, allocations: 312.6 kB / 0.9792 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001788/3.318, allocations: 321.7 kB / 0.9795 GB, free: 30.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007125/3.319, allocations: 135.3 kB / 0.9797 GB, free: 30.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008162/3.327, allocations: 2.518 MB / 0.9821 GB, free: 28.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.61e-07/3.327, allocations: 4 kB / 0.9821 GB, free: 28.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01571/3.343, allocations: 2.388 MB / 0.9845 GB, free: 26.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03676/3.379, allocations: 13.51 MB / 0.9977 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02204/3.402, allocations: 8.953 MB / 1.006 GB, free: 6.242 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/3.402, allocations: 7.5 kB / 1.006 GB, free: 6.238 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01081/3.412, allocations: 4.29 MB / 1.011 GB, free: 2.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/3.418, allocations: 0.6323 MB / 1.011 GB, free: 1.828 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05776/3.476, allocations: 17.01 MB / 1.028 GB, free: 3.609 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4062/3.882, allocations: 6.473 MB / 1.034 GB, free: 78.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009735/3.892, allocations: 3.06 MB / 1.037 GB, free: 78.67 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/3.892, allocations: 1.5 kB / 1.037 GB, free: 78.67 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.684/9.576, allocations: 440.9 MB / 1.468 GB, free: 110.9 MB / 0.5105 GB