Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.323/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009367/0.0009367, allocations: 189.2 kB / 361.1 MB, free: 7.102 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.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007522/0.0007522, allocations: 90.19 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.24e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5705, allocations: 179.6 MB / 1.139 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5708, allocations: 87.95 kB / 1.139 GB, free: 8.324 MB / 0.7448 GB [/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);. [/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: time 0.08648/0.6572, allocations: 36.24 MB / 1.175 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.307e-05/0.6573, allocations: 19.94 kB / 1.175 GB, free: 3.824 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.001652/0.659, allocations: 0.9191 MB / 1.175 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.659, allocations: 8.031 kB / 1.175 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.6626, allocations: 0.6194 MB / 1.176 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.6637, allocations: 0.5895 MB / 1.177 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.6637, allocations: 16 kB / 1.177 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/0.6638, allocations: 35.97 kB / 1.177 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/0.665, allocations: 0.721 MB / 1.177 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6662, allocations: 0.8085 MB / 1.178 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6663, allocations: 4 kB / 1.178 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.6663, allocations: 4 kB / 1.178 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.6664, allocations: 41.28 kB / 1.178 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.6705, allocations: 3.447 MB / 1.182 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.6709, allocations: 270.4 kB / 1.182 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.6712, allocations: 172.8 kB / 1.182 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.6713, allocations: 11.92 kB / 1.182 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.6713, allocations: 34.56 kB / 1.182 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.6713, allocations: 0 / 1.182 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.002686/0.674, allocations: 1.146 MB / 1.183 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.674, allocations: 140.5 kB / 1.183 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.6745, allocations: 386.1 kB / 1.184 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.6745, allocations: 29.7 kB / 1.184 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.6747, allocations: 293.6 kB / 1.184 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.6748, allocations: 142 kB / 1.184 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.6749, allocations: 0 / 1.184 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.675, allocations: 370.7 kB / 1.184 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.6753, allocations: 180.9 kB / 1.185 GB, free: 8.957 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.6756, allocations: 310.9 kB / 1.185 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.676, allocations: 225.5 kB / 1.185 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.676, allocations: 0 / 1.185 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001535/0.6775, allocations: 0.7406 MB / 1.186 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003702/0.6779, allocations: 1.217 MB / 1.187 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6779, allocations: 4 kB / 1.187 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.6789, allocations: 240.9 kB / 1.187 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.6796, allocations: 131.8 kB / 1.187 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.6837, allocations: 5.707 MB / 1.193 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.6843, allocations: 59.95 kB / 1.193 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.6843, allocations: 17.12 kB / 1.193 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.6844, allocations: 4 kB / 1.193 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/0.6857, allocations: 1.03 MB / 1.194 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6857, allocations: 4 kB / 1.194 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.6861, allocations: 133.4 kB / 1.194 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.6868, allocations: 151.8 kB / 1.194 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.6914, allocations: 7.467 MB / 1.202 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.6919, allocations: 48.05 kB / 1.202 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.692, allocations: 20.81 kB / 1.202 GB, free: 6.031 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 () * 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.0001396/0.6921, allocations: 123.8 kB / 1.202 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.6922, allocations: 63.25 kB / 1.202 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.6924, allocations: 69.34 kB / 1.202 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6924, allocations: 8 kB / 1.202 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6924, allocations: 1.031 kB / 1.202 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6924, allocations: 0 / 1.202 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.6931, allocations: 0.5687 MB / 1.203 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6931, allocations: 0 / 1.203 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.6937, allocations: 107.8 kB / 1.203 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000885/0.6946, allocations: 240.9 kB / 1.203 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.6947, allocations: 4 kB / 1.203 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/0.7005, allocations: 7.921 MB / 1.211 GB, free: 12.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7006, allocations: 0 / 1.211 GB, free: 12.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001371/0.7019, allocations: 0.756 MB / 1.211 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.7022, allocations: 172.4 kB / 1.212 GB, free: 11.22 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.7023, allocations: 9.031 kB / 1.212 GB, free: 11.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.7028, allocations: 51.95 kB / 1.212 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.7029, allocations: 23.95 kB / 1.212 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.703, allocations: 11.94 kB / 1.212 GB, free: 11.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003135/0.7033, allocations: 303 kB / 1.212 GB, free: 10.83 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009454/0.7042, allocations: 256 kB / 1.212 GB, free: 10.58 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 () * 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.0001688/0.7044, allocations: 121.2 kB / 1.212 GB, free: 10.46 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.7067, allocations: 1.703 MB / 1.214 GB, free: 8.664 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7067, allocations: 0 / 1.214 GB, free: 8.664 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.7076, allocations: 0.854 MB / 1.215 GB, free: 7.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.7083, allocations: 173.7 kB / 1.215 GB, free: 7.586 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.7103, allocations: 0.9126 MB / 1.216 GB, free: 6.652 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.711, allocations: 1.029 MB / 1.217 GB, free: 5.594 MB / 0.823 GB Notification: Performance of SimCode: time 3.21e-07/0.711, allocations: 0 / 1.217 GB, free: 5.594 MB / 0.823 GB Notification: Performance of Templates: time 0.02056/0.7315, allocations: 14.06 MB / 1.231 GB, free: 7.766 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)