Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.558/1.558, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001214/0.001213, allocations: 180.8 kB / 361.4 MB, free: 6.848 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.579/1.579, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008426/0.0008426, allocations: 86.78 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.375e-05/1.378e-05, allocations: 0 / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6363, allocations: 115.3 MB / 0.9644 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.8643, allocations: 189 MB / 1.149 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.8647, allocations: 91.94 kB / 1.149 GB, free: 14.68 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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.8474/1.712, allocations: 146.5 MB / 1.292 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/1.712, allocations: 0 / 1.292 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00029/1.712, allocations: 85.25 kB / 1.292 GB, free: 193.3 MB / 0.8542 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.009003/1.721, allocations: 3.42 MB / 1.295 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.722, allocations: 9.594 kB / 1.295 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/1.738, allocations: 3.208 MB / 1.299 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005454/1.744, allocations: 2.296 MB / 1.301 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/1.744, allocations: 79.22 kB / 1.301 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/1.744, allocations: 140.5 kB / 1.301 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005564/1.75, allocations: 3.383 MB / 1.304 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/1.755, allocations: 3.478 MB / 1.308 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/1.755, allocations: 2.188 kB / 1.308 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/1.756, allocations: 8.328 kB / 1.308 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/1.756, allocations: 147.9 kB / 1.308 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/1.774, allocations: 13.85 MB / 1.321 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/1.779, allocations: 2.763 MB / 1.324 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.78, allocations: 1.006 MB / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/1.78, allocations: 22.41 kB / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/1.782, allocations: 1.296 MB / 1.326 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.246e-06/1.782, allocations: 0 / 1.326 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.01527/1.797, allocations: 7.559 MB / 1.334 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/1.797, allocations: 0.8948 MB / 1.335 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/1.799, allocations: 1.558 MB / 1.336 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/1.799, allocations: 41.41 kB / 1.336 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008581/1.8, allocations: 1.444 MB / 1.338 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/1.801, allocations: 0.7834 MB / 1.338 GB, free: 174 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.801, allocations: 0 / 1.338 GB, free: 174 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/1.801, allocations: 403.9 kB / 1.339 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/1.802, allocations: 1.206 MB / 1.34 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.804, allocations: 1.581 MB / 1.341 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/1.806, allocations: 1.287 MB / 1.343 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.806, allocations: 3.625 kB / 1.343 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00752/1.813, allocations: 4.377 MB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005838/1.814, allocations: 2.41 MB / 1.349 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.814, allocations: 6.844 kB / 1.349 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005134/1.819, allocations: 1.607 MB / 1.351 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.822, allocations: 0.587 MB / 1.352 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.832, allocations: 8.986 MB / 1.36 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/1.837, allocations: 368 kB / 1.361 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/1.837, allocations: 90.39 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.837, allocations: 5.438 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00602/1.843, allocations: 3.679 MB / 1.364 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.843, allocations: 12.5 kB / 1.364 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/1.846, allocations: 1.407 MB / 1.366 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/1.849, allocations: 0.636 MB / 1.366 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.864, allocations: 11.75 MB / 1.378 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/1.868, allocations: 363.2 kB / 1.378 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/1.868, allocations: 88.77 kB / 1.378 GB, free: 153.9 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 () * 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.0006652/1.869, allocations: 165.6 kB / 1.378 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005742/1.869, allocations: 311 kB / 1.379 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/1.87, allocations: 337.2 kB / 1.379 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.87, allocations: 24.59 kB / 1.379 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-05/1.87, allocations: 10.31 kB / 1.379 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.87, allocations: 13.12 kB / 1.379 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/1.874, allocations: 2.802 MB / 1.382 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.874, allocations: 0 / 1.382 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.876, allocations: 0.5233 MB / 1.382 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004915/1.881, allocations: 1.632 MB / 1.384 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/1.881, allocations: 15.45 kB / 1.384 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/1.898, allocations: 13.35 MB / 1.397 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.898, allocations: 0 / 1.397 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/1.905, allocations: 4.178 MB / 1.401 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.907, allocations: 0.6394 MB / 1.402 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/1.907, allocations: 8 kB / 1.402 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/1.91, allocations: 368.6 kB / 1.402 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007004/1.911, allocations: 310.1 kB / 1.402 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.911, allocations: 70.52 kB / 1.402 GB, free: 135 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001409/1.913, allocations: 1.162 MB / 1.404 GB, free: 134 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/1.913, allocations: 0 / 1.404 GB, free: 134 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003631/1.916, allocations: 1.406 MB / 1.405 GB, free: 132.6 MB / 0.8542 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.0003735/1.917, allocations: 138.5 kB / 1.405 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.928, allocations: 7.364 MB / 1.412 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.928, allocations: 4 kB / 1.412 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004403/1.932, allocations: 2.683 MB / 1.415 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/1.937, allocations: 0.8689 MB / 1.416 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/1.945, allocations: 4.772 MB / 1.42 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/1.947, allocations: 2.321 MB / 1.423 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003477/1.95, allocations: 0.7256 MB / 1.423 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/1.951, allocations: 139.4 kB / 1.423 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.42e-07/1.951, allocations: 4 kB / 1.423 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.08692/2.038, allocations: 69.29 MB / 1.491 GB, free: 47.37 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)