Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.769/4.769, allocations: 404.1 MB / 411.3 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.559e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7182, allocations: 92.7 MB / 0.5851 GB, free: 2.289 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.335/1.053, allocations: 170.7 MB / 0.7518 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/1.054, allocations: 87.95 kB / 0.7519 GB, free: 7.23 MB / 0.6355 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 1.267/2.32, allocations: 145 MB / 0.8934 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.056e-06/2.32, allocations: 0 / 0.8934 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004902/2.321, allocations: 79.92 kB / 0.8935 GB, free: 72.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01659/2.338, allocations: 3.418 MB / 0.8968 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/2.338, allocations: 12.03 kB / 0.8968 GB, free: 68.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03267/2.37, allocations: 3.194 MB / 0.9 GB, free: 65.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009353/2.38, allocations: 2.3 MB / 0.9022 GB, free: 63.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/2.38, allocations: 80 kB / 0.9023 GB, free: 63.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/2.381, allocations: 140 kB / 0.9024 GB, free: 62.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01041/2.391, allocations: 3.383 MB / 0.9057 GB, free: 59.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/2.403, allocations: 3.479 MB / 0.9091 GB, free: 55.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.171e-05/2.404, allocations: 4 kB / 0.9091 GB, free: 55.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005665/2.404, allocations: 11.98 kB / 0.9091 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/2.404, allocations: 144.8 kB / 0.9093 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/2.441, allocations: 9.526 MB / 0.9186 GB, free: 46.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/2.454, allocations: 2.76 MB / 0.9213 GB, free: 43.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/2.457, allocations: 0.9952 MB / 0.9222 GB, free: 42.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/2.457, allocations: 29.28 kB / 0.9223 GB, free: 42.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003138/2.46, allocations: 1.305 MB / 0.9235 GB, free: 41.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 5.951e-06/2.46, allocations: 0 / 0.9235 GB, free: 41.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.03333/2.493, allocations: 7.549 MB / 0.9309 GB, free: 33.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002995/2.494, allocations: 0.8944 MB / 0.9318 GB, free: 32.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/2.498, allocations: 1.564 MB / 0.9333 GB, free: 30.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007369/2.498, allocations: 41.62 kB / 0.9334 GB, free: 30.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/2.5, allocations: 1.447 MB / 0.9348 GB, free: 29.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/2.501, allocations: 0.7735 MB / 0.9355 GB, free: 28.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/2.502, allocations: 0 / 0.9355 GB, free: 28.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000183/2.502, allocations: 398.7 kB / 0.9359 GB, free: 28.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/2.505, allocations: 1.199 MB / 0.9371 GB, free: 26.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/2.509, allocations: 1.582 MB / 0.9386 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/2.513, allocations: 1.296 MB / 0.9399 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/2.513, allocations: 7.953 kB / 0.9399 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01677/2.529, allocations: 4.362 MB / 0.9442 GB, free: 19.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006237/2.53, allocations: 2.42 MB / 0.9465 GB, free: 16.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/2.53, allocations: 4 kB / 0.9465 GB, free: 16.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/2.545, allocations: 1.606 MB / 0.9481 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009187/2.555, allocations: 0.5929 MB / 0.9487 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03195/2.587, allocations: 8.988 MB / 0.9575 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/2.598, allocations: 363.4 kB / 0.9578 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/2.599, allocations: 95.97 kB / 0.9579 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/2.599, allocations: 4 kB / 0.9579 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01971/2.619, allocations: 3.669 MB / 0.9615 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-05/2.619, allocations: 12.03 kB / 0.9615 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009441/2.628, allocations: 1.402 MB / 0.9629 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007265/2.635, allocations: 0.6436 MB / 0.9635 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04866/2.684, allocations: 11.77 MB / 0.975 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008256/2.693, allocations: 363.6 kB / 0.9753 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/2.694, allocations: 83.98 kB / 0.9754 GB, free: 2.727 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * 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: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002065/2.696, allocations: 167 kB / 0.9756 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02788/2.724, allocations: 4.042 MB / 0.9795 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/2.726, allocations: 300.4 kB / 0.9798 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/2.728, allocations: 345.2 kB / 0.9801 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-05/2.728, allocations: 24 kB / 0.9801 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/2.728, allocations: 8 kB / 0.9802 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/2.728, allocations: 11.95 kB / 0.9802 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/2.741, allocations: 2.799 MB / 0.9829 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.078e-05/2.741, allocations: 3.953 kB / 0.9829 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009344/2.75, allocations: 0.5228 MB / 0.9834 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/2.765, allocations: 1.614 MB / 0.985 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006219/2.766, allocations: 23.97 kB / 0.985 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04157/2.807, allocations: 13.34 MB / 0.998 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/2.807, allocations: 384 / 0.998 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/2.824, allocations: 4.174 MB / 1.002 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003014/2.827, allocations: 0.634 MB / 1.003 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/2.829, allocations: 7.984 kB / 1.003 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007689/2.836, allocations: 383.4 kB / 1.003 GB, free: 5.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001872/2.838, allocations: 302.6 kB / 1.003 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005489/2.839, allocations: 71.95 kB / 1.003 GB, free: 5.613 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003353/2.842, allocations: 1.165 MB / 1.005 GB, free: 4.441 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.268e-06/2.842, allocations: 0 / 1.005 GB, free: 4.441 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00862/2.851, allocations: 1.379 MB / 1.006 GB, free: 3.062 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01847/2.869, allocations: 4.793 MB / 1.011 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02903/2.898, allocations: 7.349 MB / 1.018 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/2.899, allocations: 4.188 kB / 1.018 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01096/2.91, allocations: 2.668 MB / 1.02 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008115/2.918, allocations: 0.8677 MB / 1.021 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/2.939, allocations: 5.418 MB / 1.027 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/2.943, allocations: 2.323 MB / 1.029 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.007808/2.95, allocations: 0.7259 MB / 1.03 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003696/2.954, allocations: 1.284 MB / 1.031 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of SimCode: time 1.573e-06/2.954, allocations: 8 kB / 1.031 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/3.961, allocations: 92.91 MB / 1.122 GB, free: 179.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002297/3.961, allocations: 139.1 kB / 1.122 GB, free: 178.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.268/12.23, allocations: 0 / 1.122 GB, free: 178.9 MB / 0.7448 GB