Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 176.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007865, allocations: 86.27 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.516e-05/1.518e-05, allocations: 4 kB / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6344, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.8591, allocations: 179.7 MB / 1.14 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.8594, allocations: 89.11 kB / 1.14 GB, free: 7.98 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.08702/0.9464, allocations: 36.55 MB / 1.176 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9465, allocations: 4 kB / 1.176 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.661e-05/0.9465, allocations: 23.94 kB / 1.176 GB, free: 3.16 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.001453/0.948, allocations: 0.892 MB / 1.177 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.948, allocations: 12.03 kB / 1.177 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.9512, allocations: 0.631 MB / 1.177 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.9523, allocations: 0.5856 MB / 1.178 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.9523, allocations: 17.38 kB / 1.178 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.9524, allocations: 31.98 kB / 1.178 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/0.9535, allocations: 0.6859 MB / 1.178 GB, free: 216 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.9547, allocations: 0.7934 MB / 1.179 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.9547, allocations: 0 / 1.179 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.9548, allocations: 4 kB / 1.179 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.9548, allocations: 33.3 kB / 1.179 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.9588, allocations: 3.417 MB / 1.183 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.9596, allocations: 380.9 kB / 1.183 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.9599, allocations: 173.5 kB / 1.183 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.9599, allocations: 4 kB / 1.183 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.9599, allocations: 45.33 kB / 1.183 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.96, allocations: 0 / 1.183 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.002492/0.9624, allocations: 1.126 MB / 1.184 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.9625, allocations: 135 kB / 1.184 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.963, allocations: 390.2 kB / 1.185 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.963, allocations: 25.7 kB / 1.185 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.9632, allocations: 367.7 kB / 1.185 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.9634, allocations: 145.9 kB / 1.185 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.9634, allocations: 0 / 1.185 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9635, allocations: 362.8 kB / 1.186 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.9638, allocations: 181.1 kB / 1.186 GB, free: 8.246 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.9642, allocations: 299.4 kB / 1.186 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.9645, allocations: 221.5 kB / 1.186 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9645, allocations: 3.953 kB / 1.186 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001367/0.9659, allocations: 0.7292 MB / 1.187 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004715/0.9664, allocations: 1.218 MB / 1.188 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9664, allocations: 8 kB / 1.188 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.9673, allocations: 232.9 kB / 1.188 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.9679, allocations: 123.8 kB / 1.189 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.9721, allocations: 5.741 MB / 1.194 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.9727, allocations: 48.05 kB / 1.194 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.9727, allocations: 27.94 kB / 1.194 GB, free: 15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.9727, allocations: 4 kB / 1.194 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/0.9741, allocations: 1.015 MB / 1.195 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9741, allocations: 5.75 kB / 1.195 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.9744, allocations: 133.1 kB / 1.195 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.975, allocations: 139.8 kB / 1.195 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/0.98, allocations: 7.512 MB / 1.203 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.9806, allocations: 48.05 kB / 1.203 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.9806, allocations: 20 kB / 1.203 GB, free: 5.309 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.000177/0.9808, allocations: 122.5 kB / 1.203 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9809, allocations: 79.12 kB / 1.203 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.9811, allocations: 57.73 kB / 1.203 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.9811, allocations: 4 kB / 1.203 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.9811, allocations: 4 kB / 1.203 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.9811, allocations: 3.984 kB / 1.203 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007717/0.9819, allocations: 0.5564 MB / 1.204 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9819, allocations: 0 / 1.204 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.9825, allocations: 99.86 kB / 1.204 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.9832, allocations: 236.9 kB / 1.204 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.9833, allocations: 4 kB / 1.204 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005968/0.9892, allocations: 8.011 MB / 1.212 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9893, allocations: 0 / 1.212 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.9906, allocations: 0.7454 MB / 1.213 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.9908, allocations: 174.8 kB / 1.213 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.9909, allocations: 4 kB / 1.213 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.9914, allocations: 43.95 kB / 1.213 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.9915, allocations: 40.08 kB / 1.213 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.9916, allocations: 15.75 kB / 1.213 GB, free: 10.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003368/0.9919, allocations: 299 kB / 1.213 GB, free: 10.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9919, allocations: 0 / 1.213 GB, free: 10.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009752/0.9929, allocations: 260 kB / 1.213 GB, free: 9.781 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.0002024/0.9931, allocations: 122.9 kB / 1.213 GB, free: 9.652 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.9953, allocations: 1.727 MB / 1.215 GB, free: 7.836 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9953, allocations: 4.125 kB / 1.215 GB, free: 7.832 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.9962, allocations: 0.8735 MB / 1.216 GB, free: 6.898 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.997, allocations: 178.5 kB / 1.216 GB, free: 6.734 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.9986, allocations: 0.8716 MB / 1.217 GB, free: 5.84 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.9991, allocations: 0.9941 MB / 1.218 GB, free: 4.816 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006395/0.9998, allocations: 164.2 kB / 1.218 GB, free: 4.664 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.9999, allocations: 43.36 kB / 1.218 GB, free: 4.621 MB / 0.823 GB Notification: Performance of SimCode: time 6.61e-07/0.9999, allocations: 0 / 1.218 GB, free: 4.621 MB / 0.823 GB Notification: Performance of Templates: time 0.01731/1.017, allocations: 11.43 MB / 1.229 GB, free: 9.398 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)