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.492/2.492, allocations: 284.8 MB / 297.3 MB, free: 6.387 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.001564/0.001564, allocations: 172.8 kB / 365.7 MB, free: 2.605 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 2.019/2.019, allocations: 205.1 MB / 0.6241 GB, free: 8.203 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.001/0.0009999, allocations: 100.7 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.969e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7709, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2959/1.067, allocations: 180.2 MB / 1.146 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.067, allocations: 91.94 kB / 1.146 GB, free: 4.113 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.1508/1.218, allocations: 36.79 MB / 1.182 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.36e-06/1.218, allocations: 4 kB / 1.182 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.769e-05/1.218, allocations: 19.94 kB / 1.182 GB, free: 15.07 MB / 0.7917 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.002406/1.221, allocations: 0.8998 MB / 1.183 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.221, allocations: 12.03 kB / 1.183 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/1.227, allocations: 0.6193 MB / 1.183 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/1.229, allocations: 0.5947 MB / 1.184 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/1.229, allocations: 33.31 kB / 1.184 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/1.229, allocations: 55.98 kB / 1.184 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.231, allocations: 0.8671 MB / 1.185 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/1.232, allocations: 0 / 1.185 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.232, allocations: 24 kB / 1.185 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.76e-05/1.232, allocations: 41.23 kB / 1.185 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/1.234, allocations: 0.7353 MB / 1.186 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007645/1.242, allocations: 3.544 MB / 1.189 GB, free: 7.203 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/1.243, allocations: 402.7 kB / 1.19 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/1.244, allocations: 172.8 kB / 1.19 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-05/1.244, allocations: 4 kB / 1.19 GB, free: 6.621 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/1.244, allocations: 42.56 kB / 1.19 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 3.055e-06/1.244, allocations: 0 / 1.19 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.008563/1.252, allocations: 1.595 MB / 1.191 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/1.252, allocations: 137.8 kB / 1.191 GB, free: 4.785 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/1.253, allocations: 0.4917 MB / 1.192 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.253, allocations: 29.7 kB / 1.192 GB, free: 4.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/1.254, allocations: 360.2 kB / 1.192 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.254, allocations: 145.9 kB / 1.192 GB, free: 3.746 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/1.254, allocations: 8 kB / 1.192 GB, free: 3.738 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.254, allocations: 378.7 kB / 1.193 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/1.255, allocations: 189.1 kB / 1.193 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/1.256, allocations: 313.1 kB / 1.193 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/1.256, allocations: 233.4 kB / 1.194 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.256, allocations: 0 / 1.194 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002747/1.259, allocations: 0.7875 MB / 1.194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005258/1.26, allocations: 1.217 MB / 1.196 GB, free: 476 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.26, allocations: 4 kB / 1.196 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/1.261, allocations: 250.3 kB / 1.196 GB, free: 204 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.262, allocations: 135.8 kB / 1.196 GB, free: 68 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006419/1.269, allocations: 5.906 MB / 1.202 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.27, allocations: 51.95 kB / 1.202 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.175e-05/1.27, allocations: 19.98 kB / 1.202 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.27, allocations: 4.781 kB / 1.202 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002656/1.273, allocations: 0.9022 MB / 1.203 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.273, allocations: 0 / 1.203 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/1.274, allocations: 213.3 kB / 1.203 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.275, allocations: 131.8 kB / 1.203 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/1.284, allocations: 8.102 MB / 1.211 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.285, allocations: 51.95 kB / 1.211 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/1.285, allocations: 19.98 kB / 1.211 GB, free: 15.31 MB / 0.823 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.0002781/1.286, allocations: 150.6 kB / 1.211 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.286, allocations: 68.56 kB / 1.211 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/1.286, allocations: 82.09 kB / 1.211 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.286, allocations: 8 kB / 1.211 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.286, allocations: 0 / 1.211 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.286, allocations: 4.125 kB / 1.211 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.287, allocations: 0.6533 MB / 1.212 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.287, allocations: 7.984 kB / 1.212 GB, free: 14.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.288, allocations: 95.86 kB / 1.212 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/1.29, allocations: 244.9 kB / 1.212 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/1.29, allocations: 11.98 kB / 1.212 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/1.299, allocations: 8.355 MB / 1.22 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.299, allocations: 0 / 1.22 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/1.302, allocations: 0.7767 MB / 1.221 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/1.303, allocations: 188.1 kB / 1.221 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.303, allocations: 12 kB / 1.221 GB, free: 3.742 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/1.304, allocations: 49.55 kB / 1.221 GB, free: 3.695 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/1.304, allocations: 47.84 kB / 1.221 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/1.304, allocations: 8 kB / 1.221 GB, free: 3.641 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007893/1.305, allocations: 403.2 kB / 1.222 GB, free: 3.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.305, allocations: 0 / 1.222 GB, free: 3.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001529/1.306, allocations: 292 kB / 1.222 GB, free: 2.965 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.000289/1.307, allocations: 123.3 kB / 1.222 GB, free: 2.836 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004018/1.311, allocations: 1.851 MB / 1.224 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.311, allocations: 0 / 1.224 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/1.313, allocations: 0.9298 MB / 1.225 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.314, allocations: 194.2 kB / 1.225 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/1.317, allocations: 0.9047 MB / 1.226 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/1.318, allocations: 0.9946 MB / 1.227 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001375/1.32, allocations: 181.9 kB / 1.227 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/1.32, allocations: 39.42 kB / 1.227 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of SimCode: time 1.122e-06/1.32, allocations: 4.844 kB / 1.227 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of Templates: time 0.03802/1.358, allocations: 13.21 MB / 1.24 GB, free: 0.5039 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)