Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.598/1.598, allocations: 288.3 MB / 303.2 MB, free: 8.109 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.001036/0.001036, allocations: 175.5 kB / 371.8 MB, free: 10.27 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.719/1.719, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0009478/0.0009479, allocations: 90.92 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004254, allocations: 11.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2649, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.091, allocations: 165.2 MB / 1.141 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.091, allocations: 93.84 kB / 1.141 GB, free: 13.47 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);. Notification: Performance of FrontEnd - DAE generated: time 0.02598/1.117, allocations: 11.77 MB / 1.152 GB, free: 23.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/1.118, allocations: 0 / 1.152 GB, free: 23.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.971e-05/1.118, allocations: 4 kB / 1.152 GB, free: 23.49 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007708/1.118, allocations: 0.513 MB / 1.153 GB, free: 22.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.118, allocations: 8.031 kB / 1.153 GB, free: 22.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/1.119, allocations: 79.66 kB / 1.153 GB, free: 22.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/1.119, allocations: 255.5 kB / 1.153 GB, free: 22.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.119, allocations: 16.12 kB / 1.153 GB, free: 22.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.119, allocations: 15.88 kB / 1.153 GB, free: 22.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/1.12, allocations: 312 kB / 1.154 GB, free: 22.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.12, allocations: 4 kB / 1.154 GB, free: 22.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/1.12, allocations: 6.125 kB / 1.154 GB, free: 22.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/1.12, allocations: 15.38 kB / 1.154 GB, free: 22.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/1.12, allocations: 213.2 kB / 1.154 GB, free: 22.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/1.122, allocations: 1.497 MB / 1.155 GB, free: 20.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/1.122, allocations: 207 kB / 1.155 GB, free: 20.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/1.122, allocations: 0 / 1.155 GB, free: 20.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.122, allocations: 34.56 kB / 1.155 GB, free: 20.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/1.122, allocations: 0 / 1.155 GB, free: 20.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005807/1.123, allocations: 260.1 kB / 1.156 GB, free: 20.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.123, allocations: 55.41 kB / 1.156 GB, free: 20.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/1.123, allocations: 188.1 kB / 1.156 GB, free: 19.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.123, allocations: 29.64 kB / 1.156 GB, free: 19.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/1.123, allocations: 173.4 kB / 1.156 GB, free: 19.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/1.123, allocations: 34.94 kB / 1.156 GB, free: 19.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/1.123, allocations: 7.375 kB / 1.156 GB, free: 19.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.123, allocations: 330.4 kB / 1.156 GB, free: 19.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/1.123, allocations: 42.66 kB / 1.157 GB, free: 19.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/1.124, allocations: 111.2 kB / 1.157 GB, free: 19.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/1.124, allocations: 54.98 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.124, allocations: 8 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003159/1.124, allocations: 201 kB / 1.157 GB, free: 18.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.124, allocations: 9.25 kB / 1.157 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.124, allocations: 288 / 1.157 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/1.124, allocations: 36.28 kB / 1.157 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/1.124, allocations: 39.67 kB / 1.157 GB, free: 18.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000949/1.125, allocations: 1.317 MB / 1.158 GB, free: 17.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/1.125, allocations: 23.53 kB / 1.158 GB, free: 17.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/1.126, allocations: 8 kB / 1.158 GB, free: 17.46 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 (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 0.0001467/1.126, allocations: 148.5 kB / 1.158 GB, free: 17.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/1.126, allocations: 16 kB / 1.158 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/1.126, allocations: 28.34 kB / 1.158 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.126, allocations: 0 / 1.158 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.126, allocations: 0 / 1.158 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.126, allocations: 7.984 kB / 1.158 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/1.126, allocations: 482.9 kB / 1.159 GB, free: 16.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.126, allocations: 0 / 1.159 GB, free: 16.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/1.126, allocations: 15.98 kB / 1.159 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.531e-05/1.126, allocations: 28.41 kB / 1.159 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.127, allocations: 0 / 1.159 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/1.127, allocations: 1.31 MB / 1.16 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.127, allocations: 4.078 kB / 1.16 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/1.128, allocations: 244.9 kB / 1.16 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/1.128, allocations: 100.5 kB / 1.161 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/1.128, allocations: 0 / 1.161 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.128, allocations: 11.98 kB / 1.161 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/1.128, allocations: 2.875 kB / 1.161 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/1.128, allocations: 4 kB / 1.161 GB, free: 15.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000124/1.128, allocations: 148.4 kB / 1.161 GB, free: 14.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.128, allocations: 0 / 1.161 GB, free: 14.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003335/1.128, allocations: 62.84 kB / 1.161 GB, free: 14.82 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 (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.0001358/1.129, allocations: 99.3 kB / 1.161 GB, free: 14.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000437/1.129, allocations: 235.7 kB / 1.161 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.129, allocations: 4.188 kB / 1.161 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/1.129, allocations: 158.1 kB / 1.161 GB, free: 14.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.13, allocations: 36.73 kB / 1.161 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/1.13, allocations: 464.4 kB / 1.162 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/1.13, allocations: 0.7662 MB / 1.162 GB, free: 13.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001047/1.131, allocations: 21.53 kB / 1.163 GB, free: 13.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/1.131, allocations: 19.44 kB / 1.163 GB, free: 13.04 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.131, allocations: 0 / 1.163 GB, free: 13.04 MB / 0.698 GB Notification: Performance of Templates: time 0.004374/1.135, allocations: 1.752 MB / 1.164 GB, free: 11.32 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)