Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.539/2.539, allocations: 287.5 MB / 303.2 MB, free: 8.344 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.001287/0.001287, allocations: 181.9 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00137/0.001369, allocations: 92.88 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006503, allocations: 16.58 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.947/1.17, allocations: 180.3 MB / 1.155 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/1.171, allocations: 98.12 kB / 1.155 GB, free: 3.855 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.1488/1.32, allocations: 36.91 MB / 1.191 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.564e-06/1.32, allocations: 0 / 1.191 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.744e-05/1.32, allocations: 19.94 kB / 1.191 GB, free: 5.07 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003128/1.323, allocations: 0.9976 MB / 1.192 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.323, allocations: 12.03 kB / 1.192 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/1.329, allocations: 0.6259 MB / 1.193 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/1.331, allocations: 0.6085 MB / 1.194 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/1.331, allocations: 39.73 kB / 1.194 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/1.331, allocations: 49.06 kB / 1.194 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/1.335, allocations: 1.019 MB / 1.195 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.335, allocations: 4.172 kB / 1.195 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/1.335, allocations: 28.36 kB / 1.195 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/1.335, allocations: 45.22 kB / 1.195 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/1.339, allocations: 1.007 MB / 1.196 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007205/1.347, allocations: 3.552 MB / 1.199 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/1.349, allocations: 0.5175 MB / 1.2 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.35, allocations: 240.4 kB / 1.2 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/1.351, allocations: 7.984 kB / 1.2 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/1.351, allocations: 42.48 kB / 1.2 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/1.351, allocations: 0 / 1.2 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0131/1.364, allocations: 2.304 MB / 1.202 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.364, allocations: 136.5 kB / 1.202 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.365, allocations: 0.5659 MB / 1.203 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/1.365, allocations: 31.58 kB / 1.203 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/1.365, allocations: 356.3 kB / 1.203 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/1.366, allocations: 154.5 kB / 1.204 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/1.366, allocations: 9.75 kB / 1.204 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.366, allocations: 376 kB / 1.204 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.367, allocations: 273.1 kB / 1.204 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/1.369, allocations: 409.7 kB / 1.205 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/1.371, allocations: 0.6632 MB / 1.205 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.371, allocations: 3.938 kB / 1.205 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004414/1.376, allocations: 0.9718 MB / 1.206 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.376, allocations: 181.2 kB / 1.206 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.376, allocations: 4 kB / 1.206 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/1.378, allocations: 273.5 kB / 1.207 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.379, allocations: 133.8 kB / 1.207 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.39, allocations: 8.46 MB / 1.215 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/1.391, allocations: 62.17 kB / 1.215 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/1.391, allocations: 15.98 kB / 1.215 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.391, allocations: 4 kB / 1.215 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004204/1.395, allocations: 1.09 MB / 1.216 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.395, allocations: 4 kB / 1.216 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/1.397, allocations: 215.1 kB / 1.216 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.398, allocations: 135.1 kB / 1.216 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008701/1.407, allocations: 8.151 MB / 1.224 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.408, allocations: 58.83 kB / 1.224 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/1.408, allocations: 15.5 kB / 1.224 GB, free: 4.66 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006169/1.409, allocations: 310.7 kB / 1.225 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.409, allocations: 82.53 kB / 1.225 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/1.409, allocations: 75.94 kB / 1.225 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.409, allocations: 4 kB / 1.225 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.409, allocations: 8 kB / 1.225 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.409, allocations: 3.984 kB / 1.225 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/1.41, allocations: 0.6373 MB / 1.226 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.41, allocations: 7.984 kB / 1.226 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009922/1.411, allocations: 95.86 kB / 1.226 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/1.413, allocations: 257.5 kB / 1.226 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/1.413, allocations: 18.36 kB / 1.226 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009347/1.422, allocations: 8.397 MB / 1.234 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.422, allocations: 3.938 kB / 1.234 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.426, allocations: 0.9587 MB / 1.235 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/1.427, allocations: 187.6 kB / 1.235 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.427, allocations: 15.12 kB / 1.235 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/1.428, allocations: 47.7 kB / 1.235 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.428, allocations: 42.94 kB / 1.235 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/1.428, allocations: 15.75 kB / 1.235 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007815/1.429, allocations: 397.5 kB / 1.236 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.01e-07/1.429, allocations: 0 / 1.236 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001655/1.431, allocations: 310.1 kB / 1.236 GB, free: 9.059 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002602/1.431, allocations: 134 kB / 1.236 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006542/1.438, allocations: 2.404 MB / 1.239 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.438, allocations: 4 kB / 1.239 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/1.44, allocations: 1.019 MB / 1.24 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.442, allocations: 201.8 kB / 1.24 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/1.446, allocations: 1.523 MB / 1.241 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.448, allocations: 0.9781 MB / 1.242 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001856/1.45, allocations: 157.3 kB / 1.242 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/1.45, allocations: 47.42 kB / 1.242 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of SimCode: time 1.573e-06/1.45, allocations: 0 / 1.242 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of Templates: time 0.04438/1.494, allocations: 12.9 MB / 1.255 GB, free: 5.984 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)