Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 188.8 kB / 360.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 90.94 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.727e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.7991, allocations: 115.2 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/1.16, allocations: 179.5 MB / 1.139 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/1.16, allocations: 86.2 kB / 1.139 GB, free: 8.824 MB / 0.7448 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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.1979/1.358, allocations: 36.56 MB / 1.175 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.955e-06/1.358, allocations: 0 / 1.175 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001195/1.358, allocations: 27.92 kB / 1.175 GB, free: 3.984 MB / 0.7761 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.003506/1.362, allocations: 0.8957 MB / 1.175 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/1.362, allocations: 12.03 kB / 1.175 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00813/1.37, allocations: 0.6232 MB / 1.176 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/1.372, allocations: 0.5909 MB / 1.177 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/1.372, allocations: 16 kB / 1.177 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/1.373, allocations: 31.94 kB / 1.177 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002616/1.375, allocations: 0.6937 MB / 1.177 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/1.378, allocations: 0.7895 MB / 1.178 GB, free: 204 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.378, allocations: 0 / 1.178 GB, free: 204 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/1.378, allocations: 4 kB / 1.178 GB, free: 200 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/1.378, allocations: 33.3 kB / 1.178 GB, free: 164 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009242/1.388, allocations: 3.421 MB / 1.181 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.389, allocations: 374.8 kB / 1.182 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/1.39, allocations: 179.7 kB / 1.182 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.768e-05/1.39, allocations: 4 kB / 1.182 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/1.39, allocations: 38.56 kB / 1.182 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.346e-05/1.39, allocations: 0 / 1.182 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.005941/1.396, allocations: 1.119 MB / 1.183 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.396, allocations: 136.5 kB / 1.183 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/1.397, allocations: 386.2 kB / 1.184 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.505e-05/1.397, allocations: 29.7 kB / 1.184 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/1.398, allocations: 371.7 kB / 1.184 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/1.398, allocations: 141.9 kB / 1.184 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/1.398, allocations: 0 / 1.184 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.399, allocations: 366.7 kB / 1.185 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/1.399, allocations: 183.3 kB / 1.185 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/1.4, allocations: 295.4 kB / 1.185 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/1.401, allocations: 225.4 kB / 1.185 GB, free: 8.504 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.401, allocations: 0 / 1.185 GB, free: 8.504 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003485/1.404, allocations: 0.7365 MB / 1.186 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007391/1.405, allocations: 1.219 MB / 1.187 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.405, allocations: 0 / 1.187 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/1.407, allocations: 232.9 kB / 1.187 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.409, allocations: 127.8 kB / 1.187 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/1.417, allocations: 5.746 MB / 1.193 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.419, allocations: 44.02 kB / 1.193 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/1.419, allocations: 23.98 kB / 1.193 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.419, allocations: 4 kB / 1.193 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00217/1.421, allocations: 1.018 MB / 1.194 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.421, allocations: 0 / 1.194 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/1.422, allocations: 141.4 kB / 1.194 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.423, allocations: 135.8 kB / 1.194 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/1.43, allocations: 7.518 MB / 1.202 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.431, allocations: 39.95 kB / 1.202 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/1.431, allocations: 20.09 kB / 1.202 GB, free: 6.133 MB / 0.8073 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.0002604/1.432, allocations: 128.5 kB / 1.202 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.432, allocations: 63.25 kB / 1.202 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/1.432, allocations: 65.72 kB / 1.202 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.432, allocations: 7.938 kB / 1.202 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.432, allocations: 5.219 kB / 1.202 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.432, allocations: 3.984 kB / 1.202 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.433, allocations: 0.5602 MB / 1.203 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.433, allocations: 0 / 1.203 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/1.434, allocations: 95.84 kB / 1.203 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/1.436, allocations: 240.9 kB / 1.203 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/1.436, allocations: 3.984 kB / 1.203 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009265/1.445, allocations: 8.009 MB / 1.211 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.445, allocations: 4.125 kB / 1.211 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/1.447, allocations: 0.7415 MB / 1.211 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/1.448, allocations: 172.4 kB / 1.212 GB, free: 11.24 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.448, allocations: 7.938 kB / 1.212 GB, free: 11.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/1.449, allocations: 43.95 kB / 1.212 GB, free: 11.19 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.449, allocations: 38.84 kB / 1.212 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/1.449, allocations: 12 kB / 1.212 GB, free: 11.14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005452/1.45, allocations: 299 kB / 1.212 GB, free: 10.86 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.45, allocations: 4 kB / 1.212 GB, free: 10.85 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001553/1.451, allocations: 260 kB / 1.212 GB, free: 10.6 MB / 0.823 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.0002603/1.452, allocations: 115.2 kB / 1.212 GB, free: 10.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003741/1.455, allocations: 1.732 MB / 1.214 GB, free: 8.656 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.455, allocations: 0 / 1.214 GB, free: 8.656 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.457, allocations: 0.8775 MB / 1.215 GB, free: 7.719 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.458, allocations: 175.6 kB / 1.215 GB, free: 7.559 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/1.461, allocations: 0.866 MB / 1.216 GB, free: 6.668 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/1.462, allocations: 0.9941 MB / 1.217 GB, free: 5.645 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001259/1.463, allocations: 161.6 kB / 1.217 GB, free: 5.492 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/1.463, allocations: 39.42 kB / 1.217 GB, free: 5.453 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/1.464, allocations: 0 / 1.217 GB, free: 5.453 MB / 0.823 GB Notification: Performance of Templates: time 0.03265/1.496, allocations: 11.44 MB / 1.228 GB, free: 10.24 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)