Running command: "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.085/2.085, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.433e-05/7.443e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1348, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.6953, allocations: 100.5 MB / 429.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.6956, allocations: 72.72 kB / 429.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.906/2.602, allocations: 363.2 MB / 0.7745 GB, free: 54.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.602, allocations: 0 / 0.7745 GB, free: 54.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007291/2.603, allocations: 236.4 kB / 0.7747 GB, free: 54.42 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: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.05332/2.656, allocations: 10.02 MB / 0.7845 GB, free: 51.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/2.656, allocations: 9.969 kB / 0.7845 GB, free: 51.51 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007751/2.664, allocations: 1.535 MB / 0.786 GB, free: 51.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04481/2.709, allocations: 5.327 MB / 0.7912 GB, free: 50.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02261/2.731, allocations: 6.726 MB / 0.7978 GB, free: 48.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001441/2.733, allocations: 0.7782 MB / 0.7985 GB, free: 48.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005554/2.738, allocations: 1.005 MB / 0.7995 GB, free: 47.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07606/2.814, allocations: 18.14 MB / 0.8172 GB, free: 30.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007948/2.815, allocations: 19.84 kB / 0.8173 GB, free: 30.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005965/2.821, allocations: 440.9 kB / 0.8177 GB, free: 29.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/2.823, allocations: 0.7282 MB / 0.8184 GB, free: 28.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06604/2.889, allocations: 15.91 MB / 0.8339 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5752/3.464, allocations: 53.84 MB / 0.8865 GB, free: 57.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/3.493, allocations: 13.82 MB / 0.9 GB, free: 54.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02057/3.514, allocations: 8.672 MB / 0.9085 GB, free: 54.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/3.515, allocations: 311.5 kB / 0.9088 GB, free: 54.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/3.516, allocations: 117.1 kB / 0.9089 GB, free: 54.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=996): time 2.436e-05/3.516, allocations: 0 / 0.9089 GB, free: 54.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=996): time 0.04552/3.561, allocations: 16.09 MB / 0.9246 GB, free: 54.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/3.561, allocations: 163.6 kB / 0.9247 GB, free: 53.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/3.566, allocations: 1.817 MB / 0.9265 GB, free: 53.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002635/3.568, allocations: 153.3 kB / 0.9267 GB, free: 53.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002427/3.571, allocations: 3.206 MB / 0.9298 GB, free: 52.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005694/3.577, allocations: 3.241 MB / 0.933 GB, free: 50.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/3.579, allocations: 140.3 kB / 0.9331 GB, free: 50.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001239/3.58, allocations: 0.6681 MB / 0.9337 GB, free: 50.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01587/3.596, allocations: 5.959 MB / 0.9396 GB, free: 49.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01771/3.614, allocations: 6.804 MB / 0.9462 GB, free: 46.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/3.633, allocations: 7.056 MB / 0.9531 GB, free: 43.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.354e-05/3.633, allocations: 7.25 kB / 0.9531 GB, free: 43.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0491/3.682, allocations: 16.89 MB / 0.9696 GB, free: 37.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/3.682, allocations: 11 kB / 0.9696 GB, free: 37.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.371e-05/3.682, allocations: 14.66 kB / 0.9696 GB, free: 37.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01808/3.7, allocations: 5.623 MB / 0.9751 GB, free: 35.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/3.711, allocations: 1.217 MB / 0.9763 GB, free: 35.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/3.731, allocations: 10.52 MB / 0.9866 GB, free: 29.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009384/3.741, allocations: 0.84 MB / 0.9874 GB, free: 29.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00288/3.744, allocations: 300 kB / 0.9877 GB, free: 28.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 555 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,11 77} Notification: Performance of prepare postOptimizeDAE: time 0.004917/3.749, allocations: 459.4 kB / 0.9881 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003382/3.752, allocations: 454.1 kB / 0.9886 GB, free: 28.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.067/3.819, allocations: 17.91 MB / 1.006 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07303/3.892, allocations: 16.54 MB / 1.022 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/3.892, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002432/3.892, allocations: 43.94 kB / 1.022 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5037/4.396, allocations: 33.48 MB / 1.055 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001701/4.396, allocations: 2 kB / 1.055 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/4.407, allocations: 1.096 MB / 1.056 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01994/4.427, allocations: 5.611 MB / 1.061 GB, free: 86.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00279/4.43, allocations: 209.9 kB / 1.062 GB, free: 86.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/4.45, allocations: 10.49 MB / 1.072 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/4.45, allocations: 0 / 1.072 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06915/4.519, allocations: 26.42 MB / 1.098 GB, free: 83.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007969/4.527, allocations: 2.007 MB / 1.1 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003185/4.531, allocations: 133.8 kB / 1.1 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00785/4.538, allocations: 420.8 kB / 1.1 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003911/4.542, allocations: 0.6983 MB / 1.101 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002703/4.545, allocations: 259.2 kB / 1.101 GB, free: 82.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003323/4.549, allocations: 1.416 MB / 1.103 GB, free: 82.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/4.549, allocations: 0 / 1.103 GB, free: 82.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01277/4.561, allocations: 2.667 MB / 1.105 GB, free: 82.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (main_e.plug_p.reference.gamma,converter_m.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (587): * Single equations (assignments): 503 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.07376/4.635, allocations: 27.48 MB / 1.132 GB, free: 71.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04197/4.677, allocations: 14.57 MB / 1.146 GB, free: 63.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/4.677, allocations: 0 / 1.146 GB, free: 63.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02916/4.706, allocations: 7.813 MB / 1.154 GB, free: 56.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009116/4.716, allocations: 0.7712 MB / 1.155 GB, free: 55.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0745/4.79, allocations: 24.12 MB / 1.178 GB, free: 34.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01484/4.805, allocations: 7.353 MB / 1.185 GB, free: 29.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009838/4.815, allocations: 1.764 MB / 1.187 GB, free: 27.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00947/4.825, allocations: 3.556 MB / 1.191 GB, free: 24.68 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/4.825, allocations: 0 / 1.191 GB, free: 24.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8155/5.64, allocations: 197.9 MB / 1.384 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/5.64, allocations: 176.3 kB / 1.384 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/13.36, allocations: 0 / 1.384 GB, free: 14.72 MB / 0.4948 GB