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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 293 MB / 309 MB, free: 4.832 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.001767/0.001767, allocations: 172.6 kB / 378.7 MB, free: 1.027 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.767/1.767, allocations: 205.4 MB / 0.6383 GB, free: 8.242 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.0008088/0.0008087, allocations: 88.53 kB / 0.7527 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2657, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8414/1.107, allocations: 190.8 MB / 1.177 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.108, allocations: 93.11 kB / 1.177 GB, free: 6.609 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-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.38/1.488, allocations: 147.8 MB / 1.321 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.467e-06/1.488, allocations: 0 / 1.321 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004706/1.488, allocations: 79.92 kB / 1.321 GB, free: 0.8516 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.01176/1.5, allocations: 3.901 MB / 1.325 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.5, allocations: 8.031 kB / 1.325 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/1.516, allocations: 3.223 MB / 1.328 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007028/1.523, allocations: 2.415 MB / 1.331 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/1.523, allocations: 181.1 kB / 1.331 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/1.525, allocations: 232.3 kB / 1.331 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/1.538, allocations: 4.707 MB / 1.336 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/1.538, allocations: 192 / 1.336 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008105/1.539, allocations: 111.9 kB / 1.336 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/1.539, allocations: 144.8 kB / 1.336 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/1.553, allocations: 5.214 MB / 1.341 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02535/1.578, allocations: 14.39 MB / 1.355 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/1.589, allocations: 3.807 MB / 1.359 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/1.593, allocations: 1.506 MB / 1.36 GB, free: 7.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/1.593, allocations: 25.28 kB / 1.36 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004441/1.597, allocations: 1.829 MB / 1.362 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 5.641e-06/1.597, allocations: 0 / 1.362 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.7149/2.312, allocations: 33.61 MB / 1.395 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003013/2.313, allocations: 0.8993 MB / 1.396 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/2.317, allocations: 2.289 MB / 1.398 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005628/2.318, allocations: 81.92 kB / 1.398 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/2.319, allocations: 1.435 MB / 1.399 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/2.321, allocations: 0.8206 MB / 1.4 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/2.321, allocations: 47.19 kB / 1.4 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002175/2.321, allocations: 394.9 kB / 1.401 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005127/2.327, allocations: 1.924 MB / 1.402 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005442/2.332, allocations: 2.326 MB / 1.405 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009986/2.342, allocations: 4.209 MB / 1.409 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/2.342, allocations: 3.938 kB / 1.409 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01656/2.359, allocations: 6.188 MB / 1.415 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002282/2.359, allocations: 404.6 kB / 1.415 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/2.359, allocations: 7.281 kB / 1.415 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006151/2.365, allocations: 1.851 MB / 1.417 GB, free: 177 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/2.368, allocations: 0.5828 MB / 1.418 GB, free: 177 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/2.391, allocations: 14.14 MB / 1.431 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/2.395, allocations: 419.2 kB / 1.432 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000562/2.396, allocations: 88.38 kB / 1.432 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/2.396, allocations: 5.906 kB / 1.432 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/2.409, allocations: 5.77 MB / 1.438 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/2.41, allocations: 8.031 kB / 1.438 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004693/2.414, allocations: 1.827 MB / 1.439 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/2.417, allocations: 0.6135 MB / 1.44 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/2.437, allocations: 13.43 MB / 1.453 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/2.442, allocations: 414.7 kB / 1.453 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007792/2.442, allocations: 89.25 kB / 1.454 GB, free: 170.7 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.002922/2.445, allocations: 0.7859 MB / 1.454 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.447, allocations: 333.9 kB / 1.455 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/2.448, allocations: 398.3 kB / 1.455 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/2.448, allocations: 28.95 kB / 1.455 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.517e-05/2.448, allocations: 10.75 kB / 1.455 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-05/2.448, allocations: 14.02 kB / 1.455 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/2.454, allocations: 3.189 MB / 1.458 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/2.455, allocations: 0.5 kB / 1.458 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/2.457, allocations: 0.5233 MB / 1.459 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006001/2.463, allocations: 1.72 MB / 1.46 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000356/2.463, allocations: 54.86 kB / 1.46 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/2.485, allocations: 13.93 MB / 1.474 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/2.485, allocations: 0 / 1.474 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/2.502, allocations: 5.799 MB / 1.48 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/2.505, allocations: 0.6691 MB / 1.48 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/2.506, allocations: 53.22 kB / 1.48 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003781/2.51, allocations: 407 kB / 1.481 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/2.511, allocations: 309.1 kB / 1.481 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003497/2.512, allocations: 75.2 kB / 1.481 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003194/2.515, allocations: 1.523 MB / 1.483 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/2.515, allocations: 0 / 1.483 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006156/2.521, allocations: 1.663 MB / 1.484 GB, free: 159 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.0005709/2.522, allocations: 184.8 kB / 1.484 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0221/2.544, allocations: 10.09 MB / 1.494 GB, free: 155 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/2.544, allocations: 10.31 kB / 1.494 GB, free: 155 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0082/2.552, allocations: 3.495 MB / 1.498 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007538/2.56, allocations: 1.035 MB / 1.499 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/2.577, allocations: 7.572 MB / 1.506 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003589/2.58, allocations: 2.306 MB / 1.508 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004349/2.585, allocations: 0.6462 MB / 1.509 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009659/2.586, allocations: 180.8 kB / 1.509 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of SimCode: time 8.92e-07/2.586, allocations: 0 / 1.509 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.1148/2.701, allocations: 76.26 MB / 1.584 GB, free: 128.1 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)