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.503/2.503, allocations: 252.6 MB / 265.2 MB, free: 5.645 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.001499/0.001499, allocations: 189.4 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001083/0.001082, allocations: 93.95 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.713e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2138, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.133, allocations: 173.9 MB / 1.065 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/1.133, allocations: 91.73 kB / 1.065 GB, free: 11.29 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.1685/1.302, allocations: 36.79 MB / 1.101 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-06/1.302, allocations: 0 / 1.101 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.341e-05/1.302, allocations: 27.86 kB / 1.101 GB, free: 12 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.003329/1.305, allocations: 0.888 MB / 1.102 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/1.305, allocations: 16.03 kB / 1.102 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00628/1.312, allocations: 0.6233 MB / 1.102 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.314, allocations: 0.5834 MB / 1.103 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/1.314, allocations: 41.3 kB / 1.103 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.314, allocations: 51.94 kB / 1.103 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/1.316, allocations: 0.8695 MB / 1.104 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.316, allocations: 0 / 1.104 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.317, allocations: 31.97 kB / 1.104 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-05/1.317, allocations: 33.3 kB / 1.104 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/1.319, allocations: 0.7391 MB / 1.104 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007815/1.327, allocations: 3.552 MB / 1.108 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.328, allocations: 382.9 kB / 1.108 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/1.329, allocations: 176.8 kB / 1.108 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/1.329, allocations: 7.984 kB / 1.109 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.329, allocations: 42.56 kB / 1.109 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.557e-06/1.329, allocations: 3.938 kB / 1.109 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.008577/1.338, allocations: 1.6 MB / 1.11 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/1.338, allocations: 136.5 kB / 1.11 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.339, allocations: 495.5 kB / 1.111 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/1.339, allocations: 37.7 kB / 1.111 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/1.339, allocations: 360 kB / 1.111 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/1.34, allocations: 149.9 kB / 1.111 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/1.34, allocations: 8 kB / 1.111 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.34, allocations: 374.7 kB / 1.112 GB, free: 304 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/1.34, allocations: 189.1 kB / 1.112 GB, free: 112 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/1.341, allocations: 312.4 kB / 1.112 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/1.342, allocations: 229.5 kB / 1.112 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.342, allocations: 0 / 1.112 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002794/1.345, allocations: 0.7951 MB / 1.113 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005305/1.345, allocations: 1.223 MB / 1.114 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.345, allocations: 0 / 1.114 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/1.347, allocations: 256.9 kB / 1.115 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.348, allocations: 123.8 kB / 1.115 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/1.354, allocations: 5.901 MB / 1.12 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.355, allocations: 51.95 kB / 1.12 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/1.356, allocations: 23.98 kB / 1.12 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.356, allocations: 4.062 kB / 1.12 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002636/1.358, allocations: 0.9054 MB / 1.121 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.358, allocations: 352 / 1.121 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.359, allocations: 205 kB / 1.122 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.361, allocations: 135.8 kB / 1.122 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008964/1.37, allocations: 8.11 MB / 1.13 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.371, allocations: 55.98 kB / 1.13 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/1.371, allocations: 28 kB / 1.13 GB, free: 12.22 MB / 0.7448 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.0002413/1.371, allocations: 128.9 kB / 1.13 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/1.371, allocations: 67.25 kB / 1.13 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/1.372, allocations: 78.16 kB / 1.13 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.372, allocations: 8.078 kB / 1.13 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.372, allocations: 4 kB / 1.13 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.372, allocations: 11.97 kB / 1.13 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.373, allocations: 0.6493 MB / 1.131 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.373, allocations: 3.984 kB / 1.131 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/1.374, allocations: 95.86 kB / 1.131 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/1.376, allocations: 248.9 kB / 1.131 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/1.376, allocations: 8 kB / 1.131 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009674/1.385, allocations: 8.354 MB / 1.139 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.385, allocations: 4.125 kB / 1.139 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/1.388, allocations: 0.7843 MB / 1.14 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/1.388, allocations: 184.3 kB / 1.14 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.389, allocations: 8 kB / 1.14 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/1.389, allocations: 55.91 kB / 1.14 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/1.39, allocations: 35.94 kB / 1.14 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/1.39, allocations: 12 kB / 1.14 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007797/1.391, allocations: 395.2 kB / 1.141 GB, free: 196 kB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.391, allocations: 0 / 1.141 GB, free: 196 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001497/1.392, allocations: 304 kB / 1.141 GB, free: 15.89 MB / 0.7605 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.000276/1.392, allocations: 125.1 kB / 1.141 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004049/1.396, allocations: 1.84 MB / 1.143 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.397, allocations: 3.938 kB / 1.143 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.398, allocations: 0.9412 MB / 1.144 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.4, allocations: 203.2 kB / 1.144 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/1.403, allocations: 0.8927 MB / 1.145 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.403, allocations: 0.9907 MB / 1.146 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0013/1.405, allocations: 177.3 kB / 1.146 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.405, allocations: 43.44 kB / 1.146 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of SimCode: time 9.21e-07/1.405, allocations: 0 / 1.146 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.03728/1.442, allocations: 13.23 MB / 1.159 GB, free: 13.34 MB / 0.7761 GB