Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.6 MB / 307.5 MB, free: 5.152 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.001361/0.00136, allocations: 184.5 kB / 377.1 MB, free: 1.52 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.813/1.813, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009669/0.0009671, allocations: 92.81 kB / 0.751 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3622, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9841/1.346, allocations: 181.4 MB / 1.166 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/1.347, allocations: 92.45 kB / 1.166 GB, free: 1.039 MB / 0.7292 GB [/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);. [/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.09501/1.442, allocations: 36.96 MB / 1.202 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/1.442, allocations: 0 / 1.202 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.518e-05/1.442, allocations: 23.94 kB / 1.202 GB, free: 11.81 MB / 0.7761 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.001997/1.444, allocations: 0.9946 MB / 1.203 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.444, allocations: 16 kB / 1.203 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/1.447, allocations: 0.631 MB / 1.203 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.449, allocations: 0.5905 MB / 1.204 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/1.449, allocations: 37.25 kB / 1.204 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/1.449, allocations: 55.98 kB / 1.204 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.451, allocations: 1.009 MB / 1.205 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.451, allocations: 3.984 kB / 1.205 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/1.451, allocations: 28 kB / 1.205 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/1.451, allocations: 37.3 kB / 1.205 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/1.453, allocations: 1.016 MB / 1.206 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/1.458, allocations: 3.549 MB / 1.209 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/1.46, allocations: 0.5064 MB / 1.21 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/1.46, allocations: 3.953 kB / 1.21 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/1.46, allocations: 42.56 kB / 1.21 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/1.46, allocations: 7.875 kB / 1.21 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.007074/1.467, allocations: 2.282 MB / 1.212 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.467, allocations: 140.4 kB / 1.212 GB, free: 336 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/1.468, allocations: 0.4955 MB / 1.213 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/1.468, allocations: 37.7 kB / 1.213 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/1.468, allocations: 356.2 kB / 1.213 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.468, allocations: 149.8 kB / 1.213 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/1.468, allocations: 12 kB / 1.213 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.469, allocations: 370.7 kB / 1.214 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/1.469, allocations: 272.9 kB / 1.214 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/1.47, allocations: 404.4 kB / 1.214 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/1.471, allocations: 317.4 kB / 1.215 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.471, allocations: 0 / 1.215 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002326/1.473, allocations: 0.9595 MB / 1.216 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005892/1.474, allocations: 1.221 MB / 1.217 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.474, allocations: 4 kB / 1.217 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/1.475, allocations: 256.9 kB / 1.217 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/1.475, allocations: 127.8 kB / 1.217 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/1.481, allocations: 5.975 MB / 1.223 GB, free: 4.723 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/1.481, allocations: 56.02 kB / 1.223 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.481, allocations: 20 kB / 1.223 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.482, allocations: 4 kB / 1.223 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002409/1.484, allocations: 1.069 MB / 1.224 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.484, allocations: 4 kB / 1.224 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/1.485, allocations: 217.2 kB / 1.224 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/1.485, allocations: 131.8 kB / 1.225 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/1.492, allocations: 8.204 MB / 1.233 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/1.493, allocations: 55.94 kB / 1.233 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.493, allocations: 24.06 kB / 1.233 GB, free: 10.06 MB / 0.8073 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.000596/1.494, allocations: 313 kB / 1.233 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/1.494, allocations: 63.25 kB / 1.233 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/1.494, allocations: 82.38 kB / 1.233 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.494, allocations: 4 kB / 1.233 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.494, allocations: 0 / 1.233 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.494, allocations: 7.984 kB / 1.233 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/1.495, allocations: 0.6572 MB / 1.234 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.495, allocations: 0 / 1.234 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/1.496, allocations: 91.86 kB / 1.234 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009073/1.496, allocations: 248.9 kB / 1.234 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/1.496, allocations: 11.98 kB / 1.234 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00772/1.504, allocations: 8.479 MB / 1.242 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.504, allocations: 480 / 1.242 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/1.507, allocations: 0.9522 MB / 1.243 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/1.507, allocations: 188.2 kB / 1.243 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/1.507, allocations: 8 kB / 1.243 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/1.508, allocations: 47.95 kB / 1.243 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.508, allocations: 47.88 kB / 1.244 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.508, allocations: 19.94 kB / 1.244 GB, free: 13.92 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005794/1.509, allocations: 395.1 kB / 1.244 GB, free: 13.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.509, allocations: 0 / 1.244 GB, free: 13.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001204/1.51, allocations: 304 kB / 1.244 GB, free: 13.24 MB / 0.823 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.0002802/1.51, allocations: 128 kB / 1.244 GB, free: 13.11 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003897/1.514, allocations: 2.088 MB / 1.246 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.514, allocations: 0 / 1.246 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.515, allocations: 1.019 MB / 1.247 GB, free: 9.809 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.517, allocations: 205 kB / 1.248 GB, free: 9.613 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/1.52, allocations: 1.5 MB / 1.249 GB, free: 8.082 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/1.52, allocations: 0.9937 MB / 1.25 GB, free: 7.062 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007045/1.521, allocations: 149.4 kB / 1.25 GB, free: 6.914 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.521, allocations: 51.42 kB / 1.25 GB, free: 6.863 MB / 0.823 GB Notification: Performance of SimCode: time 1.172e-06/1.521, allocations: 0 / 1.25 GB, free: 6.863 MB / 0.823 GB Notification: Performance of Templates: time 0.02348/1.545, allocations: 12.39 MB / 1.262 GB, free: 10.61 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)