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.631/1.631, allocations: 288.3 MB / 303.2 MB, free: 8.273 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.001054/0.001054, allocations: 169.1 kB / 371.8 MB, free: 10.29 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.887/1.887, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000936/0.0009359, allocations: 87.06 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.000432, allocations: 11.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7989/1.078, allocations: 180.4 MB / 1.156 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.078, allocations: 100.1 kB / 1.156 GB, free: 2.648 MB / 0.6823 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.0928/1.171, allocations: 36.96 MB / 1.192 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.171, allocations: 0 / 1.192 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.117e-05/1.171, allocations: 24.06 kB / 1.192 GB, free: 3.82 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.002669/1.174, allocations: 1 MB / 1.193 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.174, allocations: 12.02 kB / 1.193 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/1.177, allocations: 0.6314 MB / 1.193 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.179, allocations: 0.5869 MB / 1.194 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/1.179, allocations: 43.75 kB / 1.194 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.179, allocations: 55.3 kB / 1.194 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/1.182, allocations: 1.003 MB / 1.195 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.182, allocations: 4 kB / 1.195 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/1.182, allocations: 26.14 kB / 1.195 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/1.182, allocations: 40.42 kB / 1.195 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.184, allocations: 1.014 MB / 1.196 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005864/1.19, allocations: 3.542 MB / 1.2 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/1.192, allocations: 0.5116 MB / 1.2 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/1.192, allocations: 7.953 kB / 1.2 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.192, allocations: 37.62 kB / 1.2 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 4.82e-06/1.192, allocations: 0 / 1.2 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.007229/1.199, allocations: 2.287 MB / 1.202 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.199, allocations: 136.5 kB / 1.202 GB, free: 10 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/1.2, allocations: 0.4955 MB / 1.203 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/1.2, allocations: 32.58 kB / 1.203 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/1.201, allocations: 352.8 kB / 1.203 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/1.201, allocations: 154.2 kB / 1.203 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/1.201, allocations: 11.12 kB / 1.204 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.201, allocations: 377.4 kB / 1.204 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/1.202, allocations: 271.4 kB / 1.204 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/1.202, allocations: 402.8 kB / 1.205 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/1.203, allocations: 309.6 kB / 1.205 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.203, allocations: 4 kB / 1.205 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002358/1.205, allocations: 0.9663 MB / 1.206 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005666/1.206, allocations: 1.225 MB / 1.207 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.206, allocations: 8 kB / 1.207 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.207, allocations: 244.3 kB / 1.207 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/1.208, allocations: 135.4 kB / 1.207 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/1.213, allocations: 5.98 MB / 1.213 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/1.213, allocations: 50.39 kB / 1.213 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/1.214, allocations: 23.25 kB / 1.213 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.214, allocations: 4 kB / 1.213 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/1.216, allocations: 1.069 MB / 1.214 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.216, allocations: 0 / 1.214 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/1.217, allocations: 218.5 kB / 1.214 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/1.217, allocations: 139.3 kB / 1.215 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/1.224, allocations: 8.193 MB / 1.223 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/1.225, allocations: 58.77 kB / 1.223 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/1.225, allocations: 18.38 kB / 1.223 GB, free: 5.59 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 () * 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.0006175/1.225, allocations: 319.4 kB / 1.223 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.226, allocations: 67.25 kB / 1.223 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/1.226, allocations: 75.94 kB / 1.223 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.226, allocations: 4 kB / 1.223 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.226, allocations: 4 kB / 1.223 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.226, allocations: 3.984 kB / 1.223 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.227, allocations: 0.6529 MB / 1.224 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.227, allocations: 0 / 1.224 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/1.228, allocations: 103.4 kB / 1.224 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009623/1.229, allocations: 248.1 kB / 1.224 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/1.229, allocations: 9.609 kB / 1.224 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006802/1.235, allocations: 8.474 MB / 1.232 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.235, allocations: 0 / 1.232 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/1.238, allocations: 0.9601 MB / 1.233 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/1.238, allocations: 181.6 kB / 1.234 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.239, allocations: 6.75 kB / 1.234 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/1.239, allocations: 55.7 kB / 1.234 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.239, allocations: 39.77 kB / 1.234 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/1.239, allocations: 11.88 kB / 1.234 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006426/1.24, allocations: 403 kB / 1.234 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.593e-06/1.24, allocations: 0 / 1.234 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00135/1.241, allocations: 301.8 kB / 1.234 GB, free: 9.969 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 () * 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.0002601/1.242, allocations: 121.7 kB / 1.234 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004206/1.246, allocations: 2.097 MB / 1.236 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.246, allocations: 4.125 kB / 1.236 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.248, allocations: 1.025 MB / 1.237 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.249, allocations: 198.9 kB / 1.238 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/1.253, allocations: 1.501 MB / 1.239 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/1.254, allocations: 0.9968 MB / 1.24 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007592/1.255, allocations: 153.3 kB / 1.24 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/1.255, allocations: 43.42 kB / 1.24 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of SimCode: time 1.543e-06/1.255, allocations: 0 / 1.24 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of Templates: time 0.02395/1.279, allocations: 12.38 MB / 1.252 GB, free: 7.926 MB / 0.7761 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)