Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 176 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009724/0.0009726, allocations: 82.36 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003959, allocations: 10.12 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1977, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6485/0.8462, allocations: 183.5 MB / 1.08 GB, free: 52.55 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.8466, allocations: 94.8 kB / 1.08 GB, free: 52.55 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.3255/1.172, allocations: 147.7 MB / 1.225 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/1.172, allocations: 3.938 kB / 1.225 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004548/1.173, allocations: 75.59 kB / 1.225 GB, free: 12.25 MB / 0.7292 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.01188/1.184, allocations: 3.911 MB / 1.229 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.185, allocations: 8.031 kB / 1.229 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/1.201, allocations: 3.223 MB / 1.232 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007522/1.208, allocations: 2.413 MB / 1.234 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/1.209, allocations: 184.1 kB / 1.234 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/1.21, allocations: 236.2 kB / 1.235 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/1.224, allocations: 4.702 MB / 1.239 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/1.224, allocations: 4.188 kB / 1.239 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009988/1.225, allocations: 110.7 kB / 1.239 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/1.225, allocations: 148.8 kB / 1.239 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/1.24, allocations: 5.222 MB / 1.244 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.035/1.275, allocations: 14.37 MB / 1.259 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/1.291, allocations: 3.806 MB / 1.262 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005547/1.296, allocations: 1.514 MB / 1.264 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/1.297, allocations: 29 kB / 1.264 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006246/1.303, allocations: 1.818 MB / 1.266 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 7.003e-06/1.303, allocations: 7.938 kB / 1.266 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.1282/1.431, allocations: 33.62 MB / 1.298 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004242/1.432, allocations: 0.8983 MB / 1.299 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/1.437, allocations: 2.289 MB / 1.301 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006498/1.437, allocations: 81.7 kB / 1.302 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.439, allocations: 1.434 MB / 1.303 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.441, allocations: 0.8191 MB / 1.304 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/1.441, allocations: 52 kB / 1.304 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002434/1.441, allocations: 398.6 kB / 1.304 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/1.446, allocations: 1.921 MB / 1.306 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/1.452, allocations: 2.324 MB / 1.308 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00959/1.461, allocations: 4.212 MB / 1.312 GB, free: 404 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/1.461, allocations: 0 / 1.312 GB, free: 404 kB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01579/1.477, allocations: 6.173 MB / 1.318 GB, free: 10.13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000264/1.477, allocations: 411.2 kB / 1.319 GB, free: 9.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.478, allocations: 4 kB / 1.319 GB, free: 9.609 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006243/1.484, allocations: 1.851 MB / 1.321 GB, free: 7.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/1.487, allocations: 0.589 MB / 1.321 GB, free: 7.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/1.509, allocations: 14.16 MB / 1.335 GB, free: 8.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.513, allocations: 411.5 kB / 1.335 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000567/1.514, allocations: 91.97 kB / 1.336 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.514, allocations: 4 kB / 1.336 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01476/1.529, allocations: 5.768 MB / 1.341 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/1.529, allocations: 11.98 kB / 1.341 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/1.534, allocations: 1.818 MB / 1.343 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.537, allocations: 0.6164 MB / 1.344 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/1.559, allocations: 13.44 MB / 1.357 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/1.563, allocations: 411.5 kB / 1.357 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000667/1.564, allocations: 91.97 kB / 1.357 GB, free: 1.781 MB / 0.8542 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,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00269/1.567, allocations: 0.7883 MB / 1.358 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.568, allocations: 336.1 kB / 1.358 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.569, allocations: 396.3 kB / 1.359 GB, free: 264 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/1.569, allocations: 27.94 kB / 1.359 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-05/1.569, allocations: 11.94 kB / 1.359 GB, free: 224 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.569, allocations: 15.95 kB / 1.359 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/1.576, allocations: 3.183 MB / 1.362 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/1.576, allocations: 4 kB / 1.362 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.578, allocations: 0.5188 MB / 1.362 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005855/1.584, allocations: 1.723 MB / 1.364 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/1.584, allocations: 51.97 kB / 1.364 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/1.607, allocations: 13.94 MB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.607, allocations: 0 / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.623, allocations: 5.795 MB / 1.383 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.625, allocations: 0.6687 MB / 1.384 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.627, allocations: 48 kB / 1.384 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/1.63, allocations: 411.5 kB / 1.384 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/1.632, allocations: 314.5 kB / 1.385 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/1.632, allocations: 67.97 kB / 1.385 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003086/1.635, allocations: 1.521 MB / 1.386 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/1.635, allocations: 0 / 1.386 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005969/1.641, allocations: 1.66 MB / 1.388 GB, free: 1.98 MB / 0.8855 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.0006084/1.642, allocations: 187.5 kB / 1.388 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.4368/2.078, allocations: 10.08 MB / 1.398 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/2.079, allocations: 2.531 kB / 1.398 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.089, allocations: 3.493 MB / 1.401 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007883/2.097, allocations: 1.035 MB / 1.402 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/2.117, allocations: 7.571 MB / 1.41 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/2.122, allocations: 2.303 MB / 1.412 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005069/2.127, allocations: 0.6436 MB / 1.413 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/2.128, allocations: 184.7 kB / 1.413 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/2.128, allocations: 0 / 1.413 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.1283/2.256, allocations: 76.25 MB / 1.487 GB, free: 222.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)