Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001051/0.001051, allocations: 179.5 kB / 371.6 MB, free: 3.426 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.625/1.625, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0008783/0.0008782, allocations: 86.58 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.541e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8053/1.078, allocations: 166.1 MB / 1.142 GB, free: 25.24 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.079, allocations: 88.39 kB / 1.142 GB, free: 25.21 MB / 0.7448 GB [/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/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.1.4-maint.8.1.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);. Notification: Performance of FrontEnd - DAE generated: time 0.02888/1.107, allocations: 11.68 MB / 1.153 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/1.107, allocations: 0 / 1.153 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.108, allocations: 8 kB / 1.154 GB, free: 19.15 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000621/1.108, allocations: 492.1 kB / 1.154 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.108, allocations: 12.03 kB / 1.154 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006396/1.109, allocations: 83.86 kB / 1.154 GB, free: 18.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/1.109, allocations: 246.7 kB / 1.154 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/1.109, allocations: 19.41 kB / 1.154 GB, free: 18.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/1.109, allocations: 20.83 kB / 1.154 GB, free: 18.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/1.11, allocations: 305.5 kB / 1.155 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.11, allocations: 3.984 kB / 1.155 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/1.11, allocations: 6.578 kB / 1.155 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/1.11, allocations: 14.41 kB / 1.155 GB, free: 18.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/1.11, allocations: 198.1 kB / 1.155 GB, free: 17.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/1.111, allocations: 1.484 MB / 1.156 GB, free: 16.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/1.112, allocations: 201.3 kB / 1.156 GB, free: 16.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/1.112, allocations: 38.55 kB / 1.157 GB, free: 16.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/1.112, allocations: 0 / 1.157 GB, free: 16.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/1.112, allocations: 35.25 kB / 1.157 GB, free: 16.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/1.112, allocations: 4 kB / 1.157 GB, free: 16.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002934/1.112, allocations: 121.8 kB / 1.157 GB, free: 16.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/1.112, allocations: 60.19 kB / 1.157 GB, free: 16.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/1.113, allocations: 180.2 kB / 1.157 GB, free: 16.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/1.113, allocations: 25.7 kB / 1.157 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/1.113, allocations: 179.8 kB / 1.157 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/1.113, allocations: 29.58 kB / 1.157 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/1.113, allocations: 0 / 1.157 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.113, allocations: 329.9 kB / 1.157 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/1.113, allocations: 39.61 kB / 1.157 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/1.113, allocations: 102.8 kB / 1.158 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/1.113, allocations: 53.64 kB / 1.158 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.113, allocations: 0 / 1.158 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002708/1.113, allocations: 194.8 kB / 1.158 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.113, allocations: 8 kB / 1.158 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.113, allocations: 4.516 kB / 1.158 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/1.113, allocations: 27.94 kB / 1.158 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.114, allocations: 35.33 kB / 1.158 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008133/1.114, allocations: 1.319 MB / 1.159 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/1.115, allocations: 18.61 kB / 1.159 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/1.115, allocations: 8.5 kB / 1.159 GB, free: 13.73 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/1.115, allocations: 118.5 kB / 1.159 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/1.115, allocations: 16.52 kB / 1.159 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/1.115, allocations: 22.64 kB / 1.159 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.115, allocations: 4.703 kB / 1.159 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.115, allocations: 0.9375 kB / 1.159 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.115, allocations: 0.7031 kB / 1.159 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/1.115, allocations: 474.5 kB / 1.16 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.115, allocations: 0.6562 kB / 1.16 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/1.115, allocations: 15.38 kB / 1.16 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.111e-05/1.115, allocations: 20.08 kB / 1.16 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.115, allocations: 2.016 kB / 1.16 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006502/1.116, allocations: 1.306 MB / 1.161 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.116, allocations: 0.6094 kB / 1.161 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/1.116, allocations: 230.5 kB / 1.161 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/1.116, allocations: 103.5 kB / 1.161 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/1.116, allocations: 0.6094 kB / 1.161 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.117, allocations: 13.38 kB / 1.161 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/1.117, allocations: 2.578 kB / 1.161 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/1.117, allocations: 4 kB / 1.161 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001103/1.117, allocations: 148.6 kB / 1.162 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.117, allocations: 4 kB / 1.162 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003064/1.117, allocations: 54.91 kB / 1.162 GB, free: 11.27 MB / 0.7448 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/1.117, allocations: 96.47 kB / 1.162 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003588/1.118, allocations: 218 kB / 1.162 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.118, allocations: 0.5625 kB / 1.162 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/1.118, allocations: 162.7 kB / 1.162 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/1.118, allocations: 38.16 kB / 1.162 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/1.118, allocations: 239.9 kB / 1.162 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/1.119, allocations: 0.7618 MB / 1.163 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001039/1.119, allocations: 31.98 kB / 1.163 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/1.119, allocations: 12.09 kB / 1.163 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.119, allocations: 0 / 1.163 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.004548/1.123, allocations: 1.743 MB / 1.165 GB, free: 8.852 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)