Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001302/0.001302, allocations: 184.1 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.38/2.38, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009628/0.0009624, allocations: 99.75 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004824, allocations: 13.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9896/1.206, allocations: 183.2 MB / 1.078 GB, free: 54.64 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005734/1.207, allocations: 96.92 kB / 1.079 GB, free: 54.64 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.5686/1.775, allocations: 147.7 MB / 1.223 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.427e-06/1.775, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004906/1.776, allocations: 79.61 kB / 1.223 GB, free: 14.7 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.01774/1.794, allocations: 3.953 MB / 1.227 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.794, allocations: 12.03 kB / 1.227 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02943/1.823, allocations: 3.215 MB / 1.23 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/1.835, allocations: 2.315 MB / 1.232 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/1.835, allocations: 172.9 kB / 1.232 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/1.837, allocations: 236 kB / 1.232 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/1.86, allocations: 4.714 MB / 1.237 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/1.86, allocations: 4.125 kB / 1.237 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00116/1.861, allocations: 111.3 kB / 1.237 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002966/1.861, allocations: 144.8 kB / 1.237 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/1.889, allocations: 5.218 MB / 1.242 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04364/1.933, allocations: 14.38 MB / 1.256 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/1.955, allocations: 3.805 MB / 1.26 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007566/1.963, allocations: 1.506 MB / 1.262 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/1.963, allocations: 31.23 kB / 1.262 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008469/1.972, allocations: 1.819 MB / 1.263 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 6.062e-06/1.972, allocations: 0 / 1.263 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.2933/2.265, allocations: 33.63 MB / 1.296 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006279/2.266, allocations: 0.9022 MB / 1.297 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006705/2.272, allocations: 2.285 MB / 1.299 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007506/2.273, allocations: 77.7 kB / 1.299 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002483/2.276, allocations: 1.43 MB / 1.301 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/2.277, allocations: 0.8298 MB / 1.302 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/2.278, allocations: 44 kB / 1.302 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002847/2.278, allocations: 398.6 kB / 1.302 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/2.288, allocations: 1.925 MB / 1.304 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/2.299, allocations: 2.324 MB / 1.306 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/2.31, allocations: 2.148 MB / 1.308 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/2.31, allocations: 0 / 1.308 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03254/2.343, allocations: 6.189 MB / 1.314 GB, free: 14.79 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004802/2.343, allocations: 403.6 kB / 1.315 GB, free: 14.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/2.343, allocations: 4 kB / 1.315 GB, free: 14.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/2.357, allocations: 1.856 MB / 1.317 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006235/2.363, allocations: 0.5891 MB / 1.317 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04287/2.406, allocations: 14.15 MB / 1.331 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007875/2.414, allocations: 411.6 kB / 1.331 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009179/2.415, allocations: 91.97 kB / 1.331 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/2.415, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03055/2.445, allocations: 5.769 MB / 1.337 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/2.445, allocations: 4 kB / 1.337 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/2.456, allocations: 1.829 MB / 1.339 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006275/2.462, allocations: 0.6163 MB / 1.34 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04016/2.503, allocations: 13.42 MB / 1.353 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007481/2.51, allocations: 423.4 kB / 1.353 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008748/2.511, allocations: 87.97 kB / 1.353 GB, free: 6.453 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.003365/2.514, allocations: 0.7961 MB / 1.354 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/2.516, allocations: 332.1 kB / 1.354 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/2.517, allocations: 392.1 kB / 1.355 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/2.517, allocations: 27.94 kB / 1.355 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.266e-05/2.517, allocations: 12 kB / 1.355 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/2.517, allocations: 11.95 kB / 1.355 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/2.526, allocations: 3.181 MB / 1.358 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-05/2.526, allocations: 0 / 1.358 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005504/2.531, allocations: 0.5228 MB / 1.358 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01227/2.544, allocations: 1.723 MB / 1.36 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006647/2.545, allocations: 48.16 kB / 1.36 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04173/2.586, allocations: 13.94 MB / 1.374 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/2.586, allocations: 4 kB / 1.374 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03071/2.617, allocations: 5.803 MB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003009/2.62, allocations: 0.6687 MB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/2.621, allocations: 44 kB / 1.38 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007008/2.629, allocations: 411.5 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001683/2.63, allocations: 310.6 kB / 1.381 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004858/2.631, allocations: 67.97 kB / 1.381 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005611/2.636, allocations: 1.517 MB / 1.382 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.21e-07/2.636, allocations: 0 / 1.382 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009117/2.646, allocations: 1.66 MB / 1.384 GB, free: 6.652 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.001042/2.647, allocations: 194.8 kB / 1.384 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.7031/3.35, allocations: 10.08 MB / 1.394 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/3.35, allocations: 2.844 kB / 1.394 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/3.366, allocations: 3.487 MB / 1.397 GB, free: 233 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/3.378, allocations: 1.068 MB / 1.398 GB, free: 233 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/3.406, allocations: 7.568 MB / 1.406 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/3.41, allocations: 2.304 MB / 1.408 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00579/3.416, allocations: 0.6391 MB / 1.409 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/3.417, allocations: 183.4 kB / 1.409 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.452e-06/3.417, allocations: 1.156 kB / 1.409 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.1944/3.612, allocations: 75.43 MB / 1.482 GB, free: 226.8 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)