Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.052e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.5983, allocations: 89.75 MB / 432.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5987, allocations: 90.38 kB / 432.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/1.657, allocations: 209.1 MB / 0.6265 GB, free: 66.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.657, allocations: 0 / 0.6265 GB, free: 66.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003087/1.657, allocations: 131.9 kB / 0.6267 GB, free: 65.95 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02768/1.685, allocations: 5.869 MB / 0.6324 GB, free: 60.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.685, allocations: 15.97 kB / 0.6324 GB, free: 60 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004373/1.689, allocations: 1.038 MB / 0.6334 GB, free: 58.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/1.708, allocations: 2.077 MB / 0.6355 GB, free: 56.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/1.72, allocations: 3.838 MB / 0.6392 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/1.721, allocations: 460.2 kB / 0.6396 GB, free: 52.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002341/1.723, allocations: 0.582 MB / 0.6402 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/1.751, allocations: 9.034 MB / 0.649 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003319/1.751, allocations: 11.91 kB / 0.649 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/1.753, allocations: 259.9 kB / 0.6493 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006497/1.754, allocations: 461.3 kB / 0.6497 GB, free: 41.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/1.777, allocations: 7.06 MB / 0.6566 GB, free: 34.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06544/1.842, allocations: 28.69 MB / 0.6847 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3472/2.189, allocations: 11.68 MB / 0.6961 GB, free: 65.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/2.194, allocations: 1.634 MB / 0.6977 GB, free: 65.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/2.194, allocations: 142.3 kB / 0.6978 GB, free: 65.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/2.194, allocations: 64.48 kB / 0.6978 GB, free: 65.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 6.141e-06/2.194, allocations: 1.594 kB / 0.6978 GB, free: 65.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.008265/2.203, allocations: 2.658 MB / 0.7004 GB, free: 65.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/2.203, allocations: 107.1 kB / 0.7005 GB, free: 65.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/2.207, allocations: 1.672 MB / 0.7022 GB, free: 65.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004933/2.208, allocations: 66.83 kB / 0.7022 GB, free: 64.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/2.21, allocations: 2.521 MB / 0.7047 GB, free: 63.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/2.211, allocations: 0.8511 MB / 0.7055 GB, free: 63.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/2.212, allocations: 69.78 kB / 0.7056 GB, free: 63.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003271/2.212, allocations: 462 kB / 0.706 GB, free: 63.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/2.216, allocations: 1.417 MB / 0.7074 GB, free: 63.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/2.222, allocations: 2.58 MB / 0.7099 GB, free: 61.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/2.227, allocations: 2.044 MB / 0.7119 GB, free: 61.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.321e-05/2.227, allocations: 18.19 kB / 0.712 GB, free: 61.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01253/2.24, allocations: 4.379 MB / 0.7162 GB, free: 61.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/2.24, allocations: 19.12 kB / 0.7163 GB, free: 61.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-05/2.24, allocations: 42 kB / 0.7163 GB, free: 61.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/2.241, allocations: 317.3 kB / 0.7166 GB, free: 61.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/2.247, allocations: 0.7783 MB / 0.7174 GB, free: 61.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/2.254, allocations: 4.611 MB / 0.7219 GB, free: 58.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/2.258, allocations: 420.5 kB / 0.7223 GB, free: 58.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008129/2.259, allocations: 167.6 kB / 0.7224 GB, free: 58.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007904/2.26, allocations: 320.1 kB / 0.7227 GB, free: 58.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/2.26, allocations: 213.8 kB / 0.7229 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008696/2.269, allocations: 3.282 MB / 0.7261 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/2.269, allocations: 25.66 kB / 0.7262 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/2.269, allocations: 2.188 kB / 0.7262 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/2.269, allocations: 18.62 kB / 0.7262 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02902/2.298, allocations: 11.83 MB / 0.7377 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/2.298, allocations: 14.94 kB / 0.7377 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003522/2.302, allocations: 435.4 kB / 0.7382 GB, free: 55.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/2.303, allocations: 278.5 kB / 0.7384 GB, free: 55.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004835/2.304, allocations: 70.48 kB / 0.7385 GB, free: 55.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/2.31, allocations: 4.539 MB / 0.7429 GB, free: 52.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-05/2.31, allocations: 28.19 kB / 0.743 GB, free: 52.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/2.322, allocations: 6.084 MB / 0.7489 GB, free: 50.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008484/2.323, allocations: 334.9 kB / 0.7492 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007769/2.324, allocations: 62.38 kB / 0.7493 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/2.327, allocations: 129 kB / 0.7494 GB, free: 50.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006806/2.328, allocations: 208.4 kB / 0.7496 GB, free: 50.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/2.328, allocations: 87.34 kB / 0.7497 GB, free: 50.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00286/2.331, allocations: 1.262 MB / 0.7509 GB, free: 50.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.583e-06/2.331, allocations: 0 / 0.7509 GB, free: 50.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006164/2.337, allocations: 1.453 MB / 0.7523 GB, free: 49.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01337/2.35, allocations: 10.77 MB / 0.7628 GB, free: 41.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008859/2.359, allocations: 3.593 MB / 0.7664 GB, free: 40.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.176e-05/2.359, allocations: 3.656 kB / 0.7664 GB, free: 40.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004085/2.363, allocations: 1.697 MB / 0.768 GB, free: 39.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/2.368, allocations: 462.2 kB / 0.7685 GB, free: 39.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/2.396, allocations: 9.708 MB / 0.7779 GB, free: 35.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006948/2.403, allocations: 4.004 MB / 0.7818 GB, free: 34.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004449/2.408, allocations: 1.949 MB / 0.7837 GB, free: 32.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/2.408, allocations: 4 kB / 0.7838 GB, free: 32.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.091/6.499, allocations: 149.1 MB / 0.9294 GB, free: 96.67 MB / 474.7 MB