Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.45/2.45, allocations: 253.2 MB / 260.6 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 180.8 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 86.7 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.859e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.182, allocations: 174.1 MB / 1.059 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/1.182, allocations: 87.05 kB / 1.059 GB, free: 13.86 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.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/saved_omc/libraries/.openmodelica/libraries/Buildings 7.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 0.1498/1.332, allocations: 36.56 MB / 1.094 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/1.332, allocations: 0 / 1.094 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.776e-05/1.332, allocations: 28.06 kB / 1.095 GB, free: 15.81 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002534/1.335, allocations: 0.8936 MB / 1.095 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.335, allocations: 12.02 kB / 1.095 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005961/1.341, allocations: 0.6242 MB / 1.096 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/1.343, allocations: 0.5846 MB / 1.097 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/1.343, allocations: 20 kB / 1.097 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.343, allocations: 32 kB / 1.097 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001911/1.345, allocations: 0.6926 MB / 1.097 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.347, allocations: 0.7996 MB / 1.098 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.347, allocations: 0 / 1.098 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.348, allocations: 11.97 kB / 1.098 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/1.348, allocations: 40.8 kB / 1.098 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/1.355, allocations: 3.407 MB / 1.101 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.357, allocations: 380.4 kB / 1.102 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/1.357, allocations: 166.9 kB / 1.102 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/1.357, allocations: 7.984 kB / 1.102 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/1.357, allocations: 33.75 kB / 1.102 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.966e-06/1.357, allocations: 4 kB / 1.102 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.004447/1.362, allocations: 1.122 MB / 1.103 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/1.362, allocations: 136.5 kB / 1.103 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/1.362, allocations: 393.8 kB / 1.104 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/1.363, allocations: 29.7 kB / 1.104 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/1.363, allocations: 365.7 kB / 1.104 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/1.363, allocations: 142.7 kB / 1.104 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/1.363, allocations: 0 / 1.104 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.363, allocations: 367.4 kB / 1.104 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/1.364, allocations: 177.4 kB / 1.105 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/1.364, allocations: 304.7 kB / 1.105 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/1.365, allocations: 225.5 kB / 1.105 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.365, allocations: 0 / 1.105 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002597/1.368, allocations: 0.729 MB / 1.106 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007425/1.368, allocations: 1.221 MB / 1.107 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.368, allocations: 4 kB / 1.107 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.37, allocations: 234.9 kB / 1.107 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.371, allocations: 131 kB / 1.107 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/1.378, allocations: 5.734 MB / 1.113 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.379, allocations: 48.02 kB / 1.113 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/1.379, allocations: 26.44 kB / 1.113 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.379, allocations: 4 kB / 1.113 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002252/1.381, allocations: 1.018 MB / 1.114 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.382, allocations: 4 kB / 1.114 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/1.382, allocations: 133.7 kB / 1.114 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.383, allocations: 147.4 kB / 1.114 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/1.391, allocations: 7.494 MB / 1.122 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.392, allocations: 50.83 kB / 1.122 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/1.392, allocations: 23.97 kB / 1.122 GB, free: 4.863 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/1.393, allocations: 116.8 kB / 1.122 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/1.393, allocations: 55.34 kB / 1.122 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/1.393, allocations: 69.16 kB / 1.122 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.393, allocations: 11.92 kB / 1.122 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.393, allocations: 7.938 kB / 1.122 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.393, allocations: 7.984 kB / 1.122 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.394, allocations: 0.5666 MB / 1.123 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.394, allocations: 0 / 1.123 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.395, allocations: 95.91 kB / 1.123 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/1.397, allocations: 236.9 kB / 1.123 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/1.397, allocations: 7.984 kB / 1.123 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009562/1.407, allocations: 8.014 MB / 1.131 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.407, allocations: 0 / 1.131 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/1.409, allocations: 0.7261 MB / 1.131 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/1.41, allocations: 176.3 kB / 1.132 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.41, allocations: 3.953 kB / 1.132 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009224/1.411, allocations: 51.94 kB / 1.132 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.411, allocations: 43.83 kB / 1.132 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/1.411, allocations: 12 kB / 1.132 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005975/1.412, allocations: 299 kB / 1.132 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.8e-07/1.412, allocations: 4 kB / 1.132 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001601/1.413, allocations: 260 kB / 1.132 GB, free: 9.371 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/1.414, allocations: 129 kB / 1.132 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003958/1.418, allocations: 1.708 MB / 1.134 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.418, allocations: 0 / 1.134 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.42, allocations: 0.8891 MB / 1.135 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.421, allocations: 179.2 kB / 1.135 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/1.424, allocations: 0.8622 MB / 1.136 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/1.425, allocations: 0.9902 MB / 1.137 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001352/1.427, allocations: 160.9 kB / 1.137 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/1.427, allocations: 35.42 kB / 1.137 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of SimCode: time 1.342e-06/1.427, allocations: 0 / 1.137 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.034/1.461, allocations: 11.45 MB / 1.148 GB, free: 8.875 MB / 0.7605 GB