Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadModel(Buildings): time 3.802/3.802, allocations: 403.9 MB / 411 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.62e-05, allocations: 4 kB / 0.4942 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4765, allocations: 92.69 MB / 0.5847 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/0.7126, allocations: 170.8 MB / 0.7515 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.7129, allocations: 91.94 kB / 0.7515 GB, free: 7.238 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.026/1.739, allocations: 146.6 MB / 0.8947 GB, free: 70.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.946e-06/1.739, allocations: 0 / 0.8947 GB, free: 70.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003273/1.739, allocations: 72 kB / 0.8947 GB, free: 70.18 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.01109/1.75, allocations: 3.683 MB / 0.8983 GB, free: 66.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.75, allocations: 12.02 kB / 0.8984 GB, free: 66.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02015/1.77, allocations: 3.202 MB / 0.9015 GB, free: 63.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008588/1.779, allocations: 2.569 MB / 0.904 GB, free: 60.53 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/1.779, allocations: 385.8 kB / 0.9044 GB, free: 60.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/1.78, allocations: 136 kB / 0.9045 GB, free: 59.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008611/1.789, allocations: 3.45 MB / 0.9079 GB, free: 56.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/1.799, allocations: 3.603 MB / 0.9114 GB, free: 52.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-05/1.8, allocations: 0 / 0.9114 GB, free: 52.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/1.801, allocations: 4 kB / 0.9114 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/1.801, allocations: 144.8 kB / 0.9115 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/1.826, allocations: 10.02 MB / 0.9213 GB, free: 42.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0068/1.833, allocations: 2.608 MB / 0.9239 GB, free: 39.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/1.836, allocations: 1.069 MB / 0.9249 GB, free: 38.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/1.836, allocations: 21.3 kB / 0.9249 GB, free: 38.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002692/1.838, allocations: 1.374 MB / 0.9263 GB, free: 37.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 5.649e-06/1.838, allocations: 0 / 0.9263 GB, free: 37.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.02688/1.865, allocations: 8.497 MB / 0.9346 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/1.866, allocations: 0.9022 MB / 0.9354 GB, free: 27.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/1.869, allocations: 1.556 MB / 0.937 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005703/1.869, allocations: 33.69 kB / 0.937 GB, free: 26.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.871, allocations: 1.447 MB / 0.9384 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009876/1.872, allocations: 0.7774 MB / 0.9392 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.872, allocations: 0 / 0.9392 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.872, allocations: 398.7 kB / 0.9395 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/1.875, allocations: 1.36 MB / 0.9409 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/1.878, allocations: 1.738 MB / 0.9426 GB, free: 20.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/1.881, allocations: 1.429 MB / 0.944 GB, free: 18.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.881, allocations: 4 kB / 0.944 GB, free: 18.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01434/1.895, allocations: 5.073 MB / 0.9489 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/1.896, allocations: 152.8 kB / 0.9491 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.896, allocations: 8 kB / 0.9491 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/1.907, allocations: 2.789 MB / 0.9518 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.911, allocations: 0.5811 MB / 0.9524 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04183/1.953, allocations: 16.39 MB / 0.9684 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/1.958, allocations: 383.4 kB / 0.9687 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000636/1.959, allocations: 87.97 kB / 0.9688 GB, free: 8.949 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0007408/1.959, allocations: 159.1 kB / 0.969 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009545/1.96, allocations: 300.5 kB / 0.9693 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009634/1.961, allocations: 333.2 kB / 0.9696 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.961, allocations: 24 kB / 0.9696 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.358e-05/1.962, allocations: 8 kB / 0.9696 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/1.962, allocations: 11.95 kB / 0.9696 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006715/1.968, allocations: 3.262 MB / 0.9728 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/1.968, allocations: 3.938 kB / 0.9728 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.972, allocations: 0.5072 MB / 0.9733 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0128/1.985, allocations: 2.765 MB / 0.976 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005384/1.985, allocations: 11.98 kB / 0.976 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0716/2.057, allocations: 16.4 MB / 0.992 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-06/2.057, allocations: 0 / 0.992 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/2.072, allocations: 4.889 MB / 0.9968 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/2.075, allocations: 0.673 MB / 0.9975 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009731/2.076, allocations: 19.88 kB / 0.9975 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004673/2.08, allocations: 375.5 kB / 0.9978 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001648/2.082, allocations: 374.7 kB / 0.9982 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004125/2.082, allocations: 67.97 kB / 0.9983 GB, free: 10.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002695/2.085, allocations: 1.161 MB / 0.9994 GB, free: 9.266 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/2.085, allocations: 0 / 0.9994 GB, free: 9.266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004294/2.089, allocations: 0.9219 MB / 1 GB, free: 8.344 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 (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.000573/2.09, allocations: 147 kB / 1 GB, free: 8.191 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0212/2.111, allocations: 5.199 MB / 1.006 GB, free: 2.906 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/2.111, allocations: 4 kB / 1.006 GB, free: 2.902 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01776/2.129, allocations: 3.336 MB / 1.009 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/2.135, allocations: 0.8763 MB / 1.01 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/2.148, allocations: 4.968 MB / 1.014 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003313/2.151, allocations: 2.288 MB / 1.017 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003474/2.155, allocations: 491.4 kB / 1.017 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/2.156, allocations: 159.4 kB / 1.017 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of SimCode: time 1.255e-06/2.156, allocations: 4 kB / 1.017 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.5926/2.749, allocations: 65.25 MB / 1.081 GB, free: 178.7 MB / 0.7448 GB