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.677/1.677, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.00116/0.00116, allocations: 177.1 kB / 377.1 MB, free: 1.535 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.987/1.987, allocations: 205.4 MB / 0.6367 GB, free: 9.523 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.001278/0.001278, allocations: 91.38 kB / 0.751 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004223, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 116.3 MB / 0.9884 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9219/1.264, allocations: 190.7 MB / 1.175 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/1.265, allocations: 93.22 kB / 1.175 GB, free: 7.836 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.3836/1.649, allocations: 148 MB / 1.319 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.455e-06/1.649, allocations: 0 / 1.319 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004744/1.649, allocations: 75.94 kB / 1.319 GB, free: 1.773 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.01241/1.662, allocations: 3.94 MB / 1.323 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.662, allocations: 16.02 kB / 1.323 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/1.678, allocations: 3.214 MB / 1.326 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007401/1.686, allocations: 2.311 MB / 1.329 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/1.686, allocations: 176.7 kB / 1.329 GB, free: 7.926 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/1.687, allocations: 236.7 kB / 1.329 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/1.698, allocations: 4.691 MB / 1.334 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/1.698, allocations: 3.953 kB / 1.334 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/1.698, allocations: 112 kB / 1.334 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/1.699, allocations: 152.8 kB / 1.334 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/1.712, allocations: 5.214 MB / 1.339 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/1.737, allocations: 14.38 MB / 1.353 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.748, allocations: 3.779 MB / 1.357 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/1.748, allocations: 33.27 kB / 1.357 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00401/1.752, allocations: 1.822 MB / 1.358 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 3.927e-06/1.752, allocations: 0 / 1.358 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.6894/2.442, allocations: 33.5 MB / 1.391 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002949/2.442, allocations: 0.8998 MB / 1.392 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/2.445, allocations: 1.987 MB / 1.394 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004492/2.445, allocations: 77.33 kB / 1.394 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/2.447, allocations: 1.429 MB / 1.395 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000683/2.447, allocations: 0.8201 MB / 1.396 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/2.447, allocations: 46.91 kB / 1.396 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001123/2.448, allocations: 404.1 kB / 1.397 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/2.452, allocations: 1.92 MB / 1.399 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/2.456, allocations: 2.313 MB / 1.401 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004488/2.461, allocations: 2.142 MB / 1.403 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/2.461, allocations: 4 kB / 1.403 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01407/2.475, allocations: 6.126 MB / 1.409 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005602/2.476, allocations: 2.458 MB / 1.411 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/2.476, allocations: 8.438 kB / 1.411 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005835/2.481, allocations: 1.792 MB / 1.413 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/2.485, allocations: 0.5913 MB / 1.414 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/2.497, allocations: 9.523 MB / 1.423 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/2.502, allocations: 406.6 kB / 1.423 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/2.502, allocations: 88.89 kB / 1.423 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/2.502, allocations: 6.422 kB / 1.423 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01273/2.515, allocations: 5.727 MB / 1.429 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/2.515, allocations: 6.188 kB / 1.429 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004509/2.519, allocations: 1.801 MB / 1.431 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/2.522, allocations: 0.6138 MB / 1.431 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/2.54, allocations: 14.01 MB / 1.445 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/2.544, allocations: 409.2 kB / 1.445 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/2.545, allocations: 95.05 kB / 1.446 GB, free: 171 MB / 0.9323 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.002051/2.547, allocations: 0.7838 MB / 1.446 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008198/2.548, allocations: 344.8 kB / 1.447 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/2.549, allocations: 390.8 kB / 1.447 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/2.549, allocations: 22.88 kB / 1.447 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.647e-05/2.549, allocations: 12.28 kB / 1.447 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/2.549, allocations: 15.16 kB / 1.447 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/2.554, allocations: 3.184 MB / 1.45 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/2.554, allocations: 0 / 1.45 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/2.557, allocations: 0.5181 MB / 1.451 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006025/2.563, allocations: 1.698 MB / 1.452 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000448/2.563, allocations: 49.94 kB / 1.452 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/2.584, allocations: 14.55 MB / 1.467 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.585, allocations: 3.328 kB / 1.467 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/2.599, allocations: 5.761 MB / 1.472 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/2.601, allocations: 0.6715 MB / 1.473 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007815/2.602, allocations: 48.44 kB / 1.473 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003763/2.606, allocations: 407.5 kB / 1.473 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/2.607, allocations: 312.1 kB / 1.474 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/2.607, allocations: 75.73 kB / 1.474 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002932/2.61, allocations: 1.52 MB / 1.475 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/2.61, allocations: 0 / 1.475 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006746/2.617, allocations: 1.585 MB / 1.477 GB, free: 160.4 MB / 0.9323 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.0005677/2.617, allocations: 189.4 kB / 1.477 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02775/2.645, allocations: 9.703 MB / 1.486 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/2.645, allocations: 2.406 kB / 1.486 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01495/2.66, allocations: 3.506 MB / 1.49 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008728/2.669, allocations: 1.005 MB / 1.491 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/2.694, allocations: 7.558 MB / 1.498 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003987/2.698, allocations: 2.325 MB / 1.5 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00685/2.705, allocations: 0.6381 MB / 1.501 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/2.706, allocations: 186.4 kB / 1.501 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.292e-06/2.706, allocations: 0 / 1.501 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.1598/2.866, allocations: 72.5 MB / 1.572 GB, free: 139.4 MB / 0.9323 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)