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.172/2.172, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 182.6 kB / 325.6 MB, free: 2.84 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.391/2.391, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001176/0.001176, allocations: 87.94 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004861, allocations: 11.94 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2277, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9055/1.133, allocations: 173.9 MB / 1.069 GB, free: 67.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.134, allocations: 92.3 kB / 1.069 GB, free: 67.02 MB / 0.698 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.1368/1.271, allocations: 36.97 MB / 1.105 GB, free: 62.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.271, allocations: 3.906 kB / 1.105 GB, free: 62.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.829e-05/1.271, allocations: 19.75 kB / 1.105 GB, free: 62.05 MB / 0.698 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.00251/1.273, allocations: 1.011 MB / 1.106 GB, free: 61.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.273, allocations: 7.844 kB / 1.106 GB, free: 61.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/1.279, allocations: 0.6208 MB / 1.107 GB, free: 61.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/1.281, allocations: 0.5906 MB / 1.107 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/1.281, allocations: 38.56 kB / 1.107 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/1.281, allocations: 50.41 kB / 1.107 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/1.284, allocations: 1.011 MB / 1.108 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/1.284, allocations: 3.938 kB / 1.108 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.284, allocations: 20.16 kB / 1.108 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/1.284, allocations: 42.7 kB / 1.108 GB, free: 60.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/1.289, allocations: 1.015 MB / 1.109 GB, free: 60.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006675/1.295, allocations: 3.549 MB / 1.113 GB, free: 58.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/1.298, allocations: 0.52 MB / 1.113 GB, free: 58.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/1.298, allocations: 3.875 kB / 1.113 GB, free: 58.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.298, allocations: 36.47 kB / 1.113 GB, free: 58.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.526e-06/1.298, allocations: 1.312 kB / 1.113 GB, free: 58.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.01283/1.311, allocations: 2.286 MB / 1.116 GB, free: 57.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.311, allocations: 132.4 kB / 1.116 GB, free: 57.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/1.312, allocations: 0.503 MB / 1.116 GB, free: 57.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/1.312, allocations: 36.67 kB / 1.116 GB, free: 57.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/1.312, allocations: 350 kB / 1.116 GB, free: 57.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/1.312, allocations: 150.1 kB / 1.117 GB, free: 57.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/1.312, allocations: 7.25 kB / 1.117 GB, free: 57.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.313, allocations: 381 kB / 1.117 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.314, allocations: 277.4 kB / 1.117 GB, free: 57.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/1.315, allocations: 396.6 kB / 1.118 GB, free: 56.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.316, allocations: 318.7 kB / 1.118 GB, free: 56.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.316, allocations: 3.875 kB / 1.118 GB, free: 56.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0037/1.32, allocations: 0.9518 MB / 1.119 GB, free: 56.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002742/1.32, allocations: 1.225 MB / 1.12 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.32, allocations: 0 / 1.12 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/1.322, allocations: 255.5 kB / 1.12 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.323, allocations: 138.7 kB / 1.12 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004825/1.328, allocations: 5.97 MB / 1.126 GB, free: 50 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.329, allocations: 55.3 kB / 1.126 GB, free: 50 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/1.329, allocations: 20.3 kB / 1.126 GB, free: 50 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.329, allocations: 3.938 kB / 1.126 GB, free: 50 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00359/1.333, allocations: 1.079 MB / 1.127 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.333, allocations: 0 / 1.127 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.334, allocations: 204.9 kB / 1.128 GB, free: 49.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.335, allocations: 141.2 kB / 1.128 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007852/1.343, allocations: 8.198 MB / 1.136 GB, free: 41.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.345, allocations: 58.39 kB / 1.136 GB, free: 41.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/1.345, allocations: 19.25 kB / 1.136 GB, free: 41.61 MB / 0.698 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 () * Number of clocked 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.0007951/1.345, allocations: 318.8 kB / 1.136 GB, free: 41.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.346, allocations: 78.22 kB / 1.136 GB, free: 41.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/1.346, allocations: 77.31 kB / 1.136 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.346, allocations: 4.188 kB / 1.136 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.346, allocations: 3.812 kB / 1.136 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.346, allocations: 7.922 kB / 1.136 GB, free: 41.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.348, allocations: 0.6451 MB / 1.137 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.348, allocations: 0 / 1.137 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.349, allocations: 97.34 kB / 1.137 GB, free: 40.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/1.352, allocations: 250.1 kB / 1.137 GB, free: 40.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/1.352, allocations: 10.78 kB / 1.137 GB, free: 40.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008626/1.361, allocations: 8.469 MB / 1.146 GB, free: 32.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.361, allocations: 3.938 kB / 1.146 GB, free: 32.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/1.364, allocations: 0.9536 MB / 1.146 GB, free: 32.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/1.365, allocations: 184 kB / 1.147 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.365, allocations: 7.5 kB / 1.147 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008678/1.366, allocations: 58.58 kB / 1.147 GB, free: 32.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.366, allocations: 39.06 kB / 1.147 GB, free: 32.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/1.366, allocations: 11.5 kB / 1.147 GB, free: 32.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006463/1.366, allocations: 396.5 kB / 1.147 GB, free: 32.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.366, allocations: 0 / 1.147 GB, free: 32.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00141/1.368, allocations: 306.4 kB / 1.147 GB, free: 32.15 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0002244/1.368, allocations: 139.2 kB / 1.148 GB, free: 32.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005292/1.373, allocations: 2.082 MB / 1.15 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.373, allocations: 0 / 1.15 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002/1.376, allocations: 1.034 MB / 1.151 GB, free: 30 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.377, allocations: 199.6 kB / 1.151 GB, free: 29.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/1.38, allocations: 1.512 MB / 1.152 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/1.381, allocations: 0.9834 MB / 1.153 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001013/1.382, allocations: 155.8 kB / 1.153 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/1.382, allocations: 42.59 kB / 1.153 GB, free: 28.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.382, allocations: 0 / 1.153 GB, free: 28.14 MB / 0.698 GB Notification: Performance of Templates: time 0.03476/1.417, allocations: 12.38 MB / 1.166 GB, free: 22.14 MB / 0.698 GB