Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.793/2.793, allocations: 270 MB / 282.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.366e-05/4.374e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4141, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.617, allocations: 111 MB / 0.5077 GB, free: 11.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.6174, allocations: 75.95 kB / 0.5078 GB, free: 11.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.951/2.569, allocations: 387.6 MB / 0.8862 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/2.569, allocations: 3.938 kB / 0.8862 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008349/2.57, allocations: 247.8 kB / 0.8865 GB, free: 14.16 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05304/2.623, allocations: 10.43 MB / 0.8967 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/2.623, allocations: 12.03 kB / 0.8967 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008613/2.631, allocations: 1.69 MB / 0.8983 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06661/2.698, allocations: 7.738 MB / 0.9059 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03773/2.736, allocations: 7.656 MB / 0.9134 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001856/2.738, allocations: 0.831 MB / 0.9142 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007508/2.745, allocations: 1.101 MB / 0.9153 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5281/3.273, allocations: 19.32 MB / 0.9341 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006538/3.274, allocations: 19.02 kB / 0.9341 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004591/3.279, allocations: 484.3 kB / 0.9346 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/3.28, allocations: 0.9128 MB / 0.9355 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05168/3.332, allocations: 17.23 MB / 0.9523 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1607/3.493, allocations: 60.35 MB / 1.011 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03286/3.526, allocations: 16.42 MB / 1.027 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/3.537, allocations: 4.399 MB / 1.032 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/3.538, allocations: 233.5 kB / 1.032 GB, free: 28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/3.538, allocations: 113.4 kB / 1.032 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 1.07e-05/3.538, allocations: 0 / 1.032 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.02422/3.563, allocations: 8.142 MB / 1.04 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/3.563, allocations: 117.8 kB / 1.04 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02075/3.583, allocations: 7.738 MB / 1.048 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001531/3.585, allocations: 134.9 kB / 1.048 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004412/3.589, allocations: 4.047 MB / 1.052 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003145/3.593, allocations: 2.192 MB / 1.054 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/3.594, allocations: 155.2 kB / 1.054 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006512/3.594, allocations: 0.6295 MB / 1.055 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/3.605, allocations: 3.992 MB / 1.058 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/3.618, allocations: 6.722 MB / 1.065 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/3.631, allocations: 5.512 MB / 1.07 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/3.631, allocations: 24 kB / 1.07 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.04679/3.678, allocations: 11.8 MB / 1.082 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/3.678, allocations: 44 kB / 1.082 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/3.678, allocations: 88 kB / 1.082 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/3.68, allocations: 423.6 kB / 1.082 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01616/3.696, allocations: 1.998 MB / 1.084 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/3.707, allocations: 8.903 MB / 1.093 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/3.719, allocations: 1.354 MB / 1.094 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002181/3.721, allocations: 370.5 kB / 1.095 GB, free: 14.12 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002601/3.724, allocations: 0.6056 MB / 1.095 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/3.726, allocations: 0.702 MB / 1.096 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04645/3.773, allocations: 10.45 MB / 1.106 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001434/3.773, allocations: 68 kB / 1.106 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/3.773, allocations: 0 / 1.106 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002152/3.773, allocations: 34.22 kB / 1.106 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7858/4.559, allocations: 153.2 MB / 1.256 GB, free: 76.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005373/4.56, allocations: 88 kB / 1.256 GB, free: 76.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01248/4.572, allocations: 1.538 MB / 1.258 GB, free: 74.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/4.574, allocations: 387.9 kB / 1.258 GB, free: 74.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001822/4.576, allocations: 247.3 kB / 1.258 GB, free: 74.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008265/4.584, allocations: 8.773 MB / 1.267 GB, free: 65.35 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.682e-05/4.584, allocations: 133.2 kB / 1.267 GB, free: 65.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04326/4.627, allocations: 33.51 MB / 1.3 GB, free: 30.24 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00414/4.632, allocations: 1.253 MB / 1.301 GB, free: 29.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00355/4.635, allocations: 242.7 kB / 1.301 GB, free: 28.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01094/4.646, allocations: 0.5613 MB / 1.302 GB, free: 28.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002358/4.649, allocations: 0.7236 MB / 1.302 GB, free: 28.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001527/4.65, allocations: 310.4 kB / 1.303 GB, free: 27.74 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01523/4.665, allocations: 5.924 MB / 1.308 GB, free: 22.64 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.202e-06/4.665, allocations: 0 / 1.308 GB, free: 22.64 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0144/4.68, allocations: 2.631 MB / 1.311 GB, free: 20.21 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5376/5.217, allocations: 50.38 MB / 1.36 GB, free: 97.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02567/5.243, allocations: 9.874 MB / 1.37 GB, free: 96.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 0.0001041/5.243, allocations: 18.12 kB / 1.37 GB, free: 96.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/5.257, allocations: 5.2 MB / 1.375 GB, free: 95.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01332/5.27, allocations: 1.359 MB / 1.376 GB, free: 95.74 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07716/5.347, allocations: 24.25 MB / 1.4 GB, free: 89.58 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01651/5.364, allocations: 7.7 MB / 1.407 GB, free: 88.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/5.376, allocations: 4.163 MB / 1.412 GB, free: 88.67 MB / 0.5886 GB Notification: Performance of SimCode: time 1.352e-06/5.376, allocations: 0 / 1.412 GB, free: 88.67 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.942/12.32, allocations: 0.5612 GB / 1.973 GB, free: 29.31 MB / 0.6198 GB