Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001013/0.001013, allocations: 180.4 kB / 371.6 MB, free: 3.406 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.443/1.443, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008798, allocations: 93.95 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.814e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8102/1.069, allocations: 190.6 MB / 1.166 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.069, allocations: 89.17 kB / 1.166 GB, free: 7.164 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.3624/1.432, allocations: 147.6 MB / 1.31 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/1.432, allocations: 0 / 1.31 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003075/1.432, allocations: 79.92 kB / 1.31 GB, free: 14.98 MB / 0.8855 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.00993/1.442, allocations: 3.423 MB / 1.314 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/1.442, allocations: 8.031 kB / 1.314 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/1.459, allocations: 3.206 MB / 1.317 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006754/1.466, allocations: 2.295 MB / 1.319 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/1.466, allocations: 188.5 kB / 1.319 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008864/1.467, allocations: 232.7 kB / 1.319 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007318/1.474, allocations: 3.818 MB / 1.323 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/1.475, allocations: 7.891 kB / 1.323 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/1.475, allocations: 116 kB / 1.323 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/1.475, allocations: 140.8 kB / 1.323 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005906/1.481, allocations: 3.526 MB / 1.327 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/1.504, allocations: 14.37 MB / 1.341 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006669/1.51, allocations: 2.831 MB / 1.344 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.512, allocations: 1.046 MB / 1.345 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.512, allocations: 25.28 kB / 1.345 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/1.514, allocations: 1.355 MB / 1.346 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=163): time 3.306e-06/1.514, allocations: 0 / 1.346 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=250): time 0.1083/1.622, allocations: 29 MB / 1.374 GB, free: 11.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000399/1.623, allocations: 0.8944 MB / 1.375 GB, free: 10.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/1.626, allocations: 1.951 MB / 1.377 GB, free: 8.723 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007723/1.627, allocations: 77.7 kB / 1.377 GB, free: 8.641 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.629, allocations: 1.438 MB / 1.378 GB, free: 7.188 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.63, allocations: 0.8201 MB / 1.379 GB, free: 6.355 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.63, allocations: 52 kB / 1.379 GB, free: 6.305 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002431/1.631, allocations: 398.7 kB / 1.38 GB, free: 5.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/1.633, allocations: 1.25 MB / 1.381 GB, free: 4.656 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/1.636, allocations: 1.641 MB / 1.383 GB, free: 2.879 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/1.638, allocations: 1.485 MB / 1.384 GB, free: 1.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/1.638, allocations: 4 kB / 1.384 GB, free: 1.336 MB / 0.948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.6292/2.267, allocations: 4.765 MB / 1.389 GB, free: 196.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005267/2.268, allocations: 2.449 MB / 1.391 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/2.268, allocations: 5.531 kB / 1.391 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006006/2.274, allocations: 1.764 MB / 1.393 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/2.277, allocations: 0.5886 MB / 1.393 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/2.292, allocations: 9.047 MB / 1.402 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004762/2.297, allocations: 413.8 kB / 1.403 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004063/2.297, allocations: 89.84 kB / 1.403 GB, free: 192.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/2.297, allocations: 3.812 kB / 1.403 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009476/2.307, allocations: 4.376 MB / 1.407 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/2.307, allocations: 11.45 kB / 1.407 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004612/2.311, allocations: 1.764 MB / 1.409 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003071/2.314, allocations: 0.6129 MB / 1.409 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/2.332, allocations: 13.25 MB / 1.422 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/2.337, allocations: 416.7 kB / 1.423 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/2.337, allocations: 89.34 kB / 1.423 GB, free: 189.2 MB / 0.948 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 () * 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.0007251/2.338, allocations: 251.9 kB / 1.423 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/2.338, allocations: 337 kB / 1.423 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/2.339, allocations: 390.4 kB / 1.424 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/2.339, allocations: 29.75 kB / 1.424 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.258e-05/2.339, allocations: 9.906 kB / 1.424 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/2.339, allocations: 12.95 kB / 1.424 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/2.343, allocations: 3.182 MB / 1.427 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/2.343, allocations: 2.734 kB / 1.427 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/2.346, allocations: 0.5232 MB / 1.427 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004764/2.351, allocations: 1.659 MB / 1.429 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/2.351, allocations: 53.05 kB / 1.429 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/2.369, allocations: 13.74 MB / 1.442 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.369, allocations: 0 / 1.442 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008535/2.378, allocations: 4.411 MB / 1.447 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/2.38, allocations: 0.67 MB / 1.447 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004912/2.38, allocations: 49.12 kB / 1.447 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/2.383, allocations: 408 kB / 1.448 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008807/2.384, allocations: 312.1 kB / 1.448 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/2.384, allocations: 69.31 kB / 1.448 GB, free: 185.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002126/2.386, allocations: 1.494 MB / 1.45 GB, free: 185 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/2.386, allocations: 0 / 1.45 GB, free: 185 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003887/2.39, allocations: 1.586 MB / 1.451 GB, free: 185 MB / 0.948 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) * 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.0003815/2.39, allocations: 191.8 kB / 1.451 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01288/2.403, allocations: 7.716 MB / 1.459 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/2.403, allocations: 3.656 kB / 1.459 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/2.408, allocations: 2.788 MB / 1.462 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/2.412, allocations: 1.014 MB / 1.463 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00782/2.42, allocations: 4.914 MB / 1.467 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/2.422, allocations: 2.332 MB / 1.47 GB, free: 178.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003574/2.426, allocations: 0.763 MB / 1.47 GB, free: 178.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/2.426, allocations: 155.8 kB / 1.471 GB, free: 178.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/2.426, allocations: 0 / 1.471 GB, free: 178.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1291/2.555, allocations: 76.8 MB / 1.546 GB, free: 175.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)