Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.00151/0.001509, allocations: 177.1 kB / 371.8 MB, free: 10.26 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.876/1.876, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009407/0.0009407, allocations: 94.86 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.692/0.9312, allocations: 166.1 MB / 1.142 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.9315, allocations: 95.41 kB / 1.142 GB, free: 12.95 MB / 0.6823 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/PartialTwoPortResistance.mo:13:3-13: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/DC/Sensors/GeneralizedSensor.mo:39:3-39: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/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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.03826/0.9698, allocations: 17.86 MB / 1.159 GB, free: 17.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9698, allocations: 0 / 1.159 GB, free: 17.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.9698, allocations: 11.98 kB / 1.159 GB, free: 17.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00101/0.9709, allocations: 0.6262 MB / 1.16 GB, free: 16.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9709, allocations: 12.03 kB / 1.16 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.9717, allocations: 116.1 kB / 1.16 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.9723, allocations: 330.7 kB / 1.16 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.9724, allocations: 64.77 kB / 1.16 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.9724, allocations: 32.75 kB / 1.16 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.9731, allocations: 0.5003 MB / 1.161 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.9732, allocations: 0 / 1.161 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.9732, allocations: 14.73 kB / 1.161 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.9733, allocations: 32.92 kB / 1.161 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.9739, allocations: 386.9 kB / 1.161 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.9764, allocations: 2.214 MB / 1.163 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.9771, allocations: 277 kB / 1.164 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.9772, allocations: 4 kB / 1.164 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.9772, allocations: 33.88 kB / 1.164 GB, free: 13.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.9772, allocations: 0 / 1.164 GB, free: 13.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001498/0.9787, allocations: 0.5855 MB / 1.164 GB, free: 12.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.9788, allocations: 55.41 kB / 1.164 GB, free: 12.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.979, allocations: 210.5 kB / 1.165 GB, free: 12.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.979, allocations: 33.58 kB / 1.165 GB, free: 12.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.9792, allocations: 205.4 kB / 1.165 GB, free: 12.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.9792, allocations: 73.95 kB / 1.165 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.9792, allocations: 3.625 kB / 1.165 GB, free: 12.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9794, allocations: 332.3 kB / 1.165 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.9796, allocations: 96.73 kB / 1.165 GB, free: 11.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.9799, allocations: 194.5 kB / 1.165 GB, free: 11.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.9801, allocations: 116 kB / 1.166 GB, free: 11.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.9802, allocations: 0 / 1.166 GB, free: 11.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000852/0.981, allocations: 401.9 kB / 1.166 GB, free: 11.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003815/0.9814, allocations: 0.8731 MB / 1.167 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9814, allocations: 0 / 1.167 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.9819, allocations: 114.5 kB / 1.167 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.9822, allocations: 55.28 kB / 1.167 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.9846, allocations: 2.058 MB / 1.169 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.985, allocations: 35.3 kB / 1.169 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.985, allocations: 15.47 kB / 1.169 GB, free: 7.887 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.985, allocations: 5.25 kB / 1.169 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007436/0.9858, allocations: 323.6 kB / 1.169 GB, free: 7.641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.9858, allocations: 0 / 1.169 GB, free: 7.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.9861, allocations: 80.75 kB / 1.169 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.9863, allocations: 53.97 kB / 1.169 GB, free: 7.516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.9882, allocations: 1.52 MB / 1.171 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.9885, allocations: 35.02 kB / 1.171 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.9886, allocations: 11.25 kB / 1.171 GB, free: 5.926 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.9889, allocations: 247.8 kB / 1.171 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.9889, allocations: 31.73 kB / 1.171 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.989, allocations: 25.31 kB / 1.171 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.989, allocations: 7.938 kB / 1.171 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.989, allocations: 0 / 1.171 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.989, allocations: 3.984 kB / 1.171 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.9895, allocations: 378.7 kB / 1.172 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9895, allocations: 0 / 1.172 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.9897, allocations: 35.92 kB / 1.172 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.9901, allocations: 107.4 kB / 1.172 GB, free: 5.156 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.9901, allocations: 3.25 kB / 1.172 GB, free: 5.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.9929, allocations: 2.82 MB / 1.175 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.993, allocations: 0 / 1.175 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.9938, allocations: 425.1 kB / 1.175 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.9939, allocations: 115.1 kB / 1.175 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.994, allocations: 3 kB / 1.175 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.9942, allocations: 12 kB / 1.175 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.9942, allocations: 23.11 kB / 1.175 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.9943, allocations: 10.94 kB / 1.175 GB, free: 1.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001538/0.9944, allocations: 160.7 kB / 1.175 GB, free: 1.559 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9944, allocations: 0 / 1.175 GB, free: 1.559 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006749/0.9951, allocations: 175.5 kB / 1.175 GB, free: 1.398 MB / 0.698 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.9953, allocations: 107.2 kB / 1.176 GB, free: 1.281 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.9971, allocations: 0.6644 MB / 1.176 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9972, allocations: 0 / 1.176 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.9979, allocations: 373.4 kB / 1.177 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.9983, allocations: 46.2 kB / 1.177 GB, free: 308 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.9996, allocations: 0.6916 MB / 1.177 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/1, allocations: 0.8169 MB / 1.178 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002409/1, allocations: 58.25 kB / 1.178 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/1, allocations: 19.44 kB / 1.178 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of SimCode: time 6.12e-07/1, allocations: 0 / 1.178 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.008493/1.009, allocations: 3.977 MB / 1.182 GB, free: 10.79 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)