Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.743/2.743, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001433/0.001433, allocations: 190.4 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.000911/0.0009105, allocations: 85.28 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005028, allocations: 11.36 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02825/0.2541, allocations: 20.22 MB / 0.9981 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03371/0.2879, allocations: 16.51 MB / 1.014 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.2916, allocations: 103.4 kB / 1.014 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.2947, allocations: 0.558 MB / 1.015 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.3079, allocations: 2.87 MB / 1.018 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/0.3128, allocations: 0.9573 MB / 1.019 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.3244, allocations: 5.774 MB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.3293, allocations: 2.017 MB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/0.3345, allocations: 1.867 MB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006078/0.3406, allocations: 2.175 MB / 1.03 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.3418, allocations: 164 kB / 1.03 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.3449, allocations: 491.5 kB / 1.031 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.3466, allocations: 0.9263 MB / 1.032 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.3483, allocations: 0.6873 MB / 1.032 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.3557, allocations: 3.822 MB / 1.036 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3558, allocations: 4 kB / 1.036 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3558, allocations: 0 / 1.036 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001606/0.3559, allocations: 0 / 1.036 GB, free: 0.9922 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01361/0.3696, allocations: 3.881 MB / 1.04 GB, free: 13 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.3696, allocations: 16.02 kB / 1.04 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02817/0.3978, allocations: 3.358 MB / 1.043 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/0.4043, allocations: 1.952 MB / 1.045 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/0.4046, allocations: 184.7 kB / 1.045 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009101/0.4056, allocations: 236 kB / 1.045 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4242, allocations: 4.713 MB / 1.05 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.916e-05/0.4243, allocations: 8 kB / 1.05 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005429/0.4249, allocations: 108 kB / 1.05 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.4253, allocations: 176.8 kB / 1.05 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/0.4503, allocations: 5.23 MB / 1.055 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7073/1.158, allocations: 14.1 MB / 1.069 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02196/1.18, allocations: 3.848 MB / 1.073 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007182/1.187, allocations: 1.512 MB / 1.074 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/1.187, allocations: 24.77 kB / 1.075 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008312/1.196, allocations: 1.818 MB / 1.076 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 7.204e-06/1.196, allocations: 0 / 1.076 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.2478/1.443, allocations: 33.39 MB / 1.109 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.444, allocations: 0.4959 MB / 1.109 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/1.448, allocations: 2.277 MB / 1.112 GB, free: 67.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005631/1.448, allocations: 77.45 kB / 1.112 GB, free: 67.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.45, allocations: 1.423 MB / 1.113 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009838/1.451, allocations: 0.8239 MB / 1.114 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/1.451, allocations: 47.47 kB / 1.114 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.451, allocations: 407.3 kB / 1.114 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008167/1.459, allocations: 1.919 MB / 1.116 GB, free: 64.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008428/1.468, allocations: 2.223 MB / 1.118 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00827/1.476, allocations: 2.124 MB / 1.12 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.476, allocations: 4 kB / 1.12 GB, free: 60.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02599/1.502, allocations: 6.169 MB / 1.126 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/1.502, allocations: 407.2 kB / 1.127 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.502, allocations: 4 kB / 1.127 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/1.513, allocations: 1.849 MB / 1.129 GB, free: 51.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/1.519, allocations: 0.5929 MB / 1.129 GB, free: 51.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03875/1.558, allocations: 14.15 MB / 1.143 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.568, allocations: 403.6 kB / 1.143 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008326/1.569, allocations: 89.33 kB / 1.144 GB, free: 36.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.569, allocations: 4 kB / 1.144 GB, free: 36.37 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03927/1.608, allocations: 5.758 MB / 1.149 GB, free: 30.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/1.608, allocations: 4 kB / 1.149 GB, free: 30.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/1.623, allocations: 1.826 MB / 1.151 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/1.632, allocations: 0.6086 MB / 1.152 GB, free: 28.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04106/1.673, allocations: 13.43 MB / 1.165 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006622/1.679, allocations: 403.6 kB / 1.165 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006703/1.68, allocations: 93.05 kB / 1.165 GB, free: 13.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00239/1.683, allocations: 0.7915 MB / 1.166 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.684, allocations: 331.9 kB / 1.166 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/1.685, allocations: 396.1 kB / 1.167 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/1.685, allocations: 24 kB / 1.167 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-05/1.685, allocations: 12 kB / 1.167 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/1.685, allocations: 11.95 kB / 1.167 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/1.691, allocations: 3.165 MB / 1.17 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/1.691, allocations: 4 kB / 1.17 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00483/1.696, allocations: 0.52 MB / 1.17 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/1.707, allocations: 1.716 MB / 1.172 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005692/1.707, allocations: 47.97 kB / 1.172 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04379/1.751, allocations: 13.93 MB / 1.186 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.751, allocations: 0 / 1.186 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.029/1.78, allocations: 5.785 MB / 1.191 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002752/1.783, allocations: 0.6687 MB / 1.192 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.784, allocations: 48 kB / 1.192 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006504/1.791, allocations: 395.5 kB / 1.192 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001575/1.792, allocations: 316.7 kB / 1.193 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004045/1.793, allocations: 75.97 kB / 1.193 GB, free: 1.387 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003954/1.797, allocations: 1.513 MB / 1.194 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.62e-07/1.797, allocations: 0 / 1.194 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008394/1.805, allocations: 1.625 MB / 1.196 GB, free: 14.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008546/1.806, allocations: 163 kB / 1.196 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0443/1.851, allocations: 10.06 MB / 1.206 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.851, allocations: 4 kB / 1.206 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01605/1.867, allocations: 3.491 MB / 1.209 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009114/1.876, allocations: 1.055 MB / 1.21 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/1.901, allocations: 7.578 MB / 1.218 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003621/1.905, allocations: 2.305 MB / 1.22 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005331/1.91, allocations: 0.6348 MB / 1.22 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.912, allocations: 175.4 kB / 1.221 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of SimCode: time 1.482e-06/1.912, allocations: 4 kB / 1.221 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of Templates: time 0.2494/2.161, allocations: 74.08 MB / 1.293 GB, free: 11.18 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)