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.718/1.718, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.001032/0.001032, allocations: 175.3 kB / 372.9 MB, free: 10.14 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.387/1.387, allocations: 205.4 MB / 0.6317 GB, free: 9.883 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.0008537/0.0008541, allocations: 101 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006724/0.0006724, allocations: 11.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2551, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.641/0.8961, allocations: 166.2 MB / 1.143 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.8965, allocations: 99.66 kB / 1.143 GB, free: 12.81 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.03636/0.9328, allocations: 17.88 MB / 1.161 GB, free: 17.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9329, allocations: 4 kB / 1.161 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.9329, allocations: 4 kB / 1.161 GB, free: 17.16 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.0009167/0.9338, allocations: 0.6219 MB / 1.161 GB, free: 16.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.9338, allocations: 16.02 kB / 1.161 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007633/0.9346, allocations: 116.4 kB / 1.161 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.9351, allocations: 330.4 kB / 1.162 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.9352, allocations: 59.62 kB / 1.162 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.9353, allocations: 32 kB / 1.162 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.936, allocations: 0.4975 MB / 1.162 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.936, allocations: 3.938 kB / 1.162 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.936, allocations: 19.31 kB / 1.162 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.9361, allocations: 32.92 kB / 1.162 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.9367, allocations: 387.9 kB / 1.163 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.9391, allocations: 2.213 MB / 1.165 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.9398, allocations: 275.2 kB / 1.165 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.9402, allocations: 156.1 kB / 1.165 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.9403, allocations: 8 kB / 1.165 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.9403, allocations: 30.56 kB / 1.165 GB, free: 12.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 4.107e-06/0.9403, allocations: 0 / 1.165 GB, free: 12.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001853/0.9422, allocations: 0.5935 MB / 1.166 GB, free: 12.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.9422, allocations: 51.41 kB / 1.166 GB, free: 12.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.9426, allocations: 232.4 kB / 1.166 GB, free: 11.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.9426, allocations: 31.33 kB / 1.166 GB, free: 11.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.9428, allocations: 210.8 kB / 1.166 GB, free: 11.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.9429, allocations: 64.77 kB / 1.166 GB, free: 11.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.943, allocations: 2.875 kB / 1.166 GB, free: 11.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9431, allocations: 336.8 kB / 1.167 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.9435, allocations: 92.69 kB / 1.167 GB, free: 11.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.9439, allocations: 185 kB / 1.167 GB, free: 11.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.9446, allocations: 293.3 kB / 1.167 GB, free: 10.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.9446, allocations: 0 / 1.167 GB, free: 10.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00128/0.9459, allocations: 381.3 kB / 1.168 GB, free: 10.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.9461, allocations: 160.3 kB / 1.168 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9461, allocations: 4 kB / 1.168 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006979/0.9468, allocations: 110.9 kB / 1.168 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.9472, allocations: 55.84 kB / 1.168 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/0.9514, allocations: 2.83 MB / 1.171 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.9518, allocations: 35.3 kB / 1.171 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.9519, allocations: 11.38 kB / 1.171 GB, free: 7.133 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.9519, allocations: 4 kB / 1.171 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.953, allocations: 324.3 kB / 1.171 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.953, allocations: 4 kB / 1.171 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/0.9535, allocations: 79.5 kB / 1.171 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.9538, allocations: 59.53 kB / 1.171 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.9566, allocations: 1.506 MB / 1.173 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.957, allocations: 34.8 kB / 1.173 GB, free: 5.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.957, allocations: 11.06 kB / 1.173 GB, free: 5.168 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0004052/0.9574, allocations: 249.1 kB / 1.173 GB, free: 4.938 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.9575, allocations: 19.81 kB / 1.173 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.9576, allocations: 26.56 kB / 1.173 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.9576, allocations: 4 kB / 1.173 GB, free: 4.906 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9576, allocations: 7.938 kB / 1.173 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.9577, allocations: 3.984 kB / 1.173 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.9596, allocations: 0.8301 MB / 1.174 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9596, allocations: 0 / 1.174 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.9599, allocations: 35.97 kB / 1.174 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/0.9604, allocations: 108.2 kB / 1.174 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.9605, allocations: 0 / 1.174 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.9644, allocations: 2.815 MB / 1.177 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9645, allocations: 0 / 1.177 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.9656, allocations: 426 kB / 1.177 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.9658, allocations: 115 kB / 1.177 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.9658, allocations: 7.562 kB / 1.177 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.9661, allocations: 11.56 kB / 1.177 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.9662, allocations: 27.22 kB / 1.177 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.9662, allocations: 4 kB / 1.177 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002267/0.9665, allocations: 162 kB / 1.177 GB, free: 384 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9665, allocations: 0 / 1.177 GB, free: 384 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001135/0.9676, allocations: 182.4 kB / 1.178 GB, free: 212 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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.0001814/0.9678, allocations: 106.5 kB / 1.178 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.9705, allocations: 0.7646 MB / 1.178 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9705, allocations: 0 / 1.178 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.9716, allocations: 373.1 kB / 1.179 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.9723, allocations: 56.11 kB / 1.179 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.9738, allocations: 0.7111 MB / 1.18 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.9744, allocations: 0.8092 MB / 1.18 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.9747, allocations: 58.23 kB / 1.18 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.9748, allocations: 19.44 kB / 1.18 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.9748, allocations: 0 / 1.18 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.0118/0.9866, allocations: 4.159 MB / 1.184 GB, free: 9.281 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)