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.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001456/0.001456, allocations: 188 kB / 377.1 MB, free: 1.516 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.675/1.675, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001033/0.001033, allocations: 99.66 kB / 0.751 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.373, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.94/1.313, allocations: 166.2 MB / 1.151 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.314, allocations: 97.56 kB / 1.151 GB, free: 13.94 MB / 0.7292 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.02754/1.341, allocations: 11.78 MB / 1.162 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.056e-06/1.341, allocations: 0 / 1.162 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.085e-05/1.341, allocations: 16 kB / 1.162 GB, free: 4.492 MB / 0.7292 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.0007513/1.342, allocations: 0.4964 MB / 1.163 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.342, allocations: 12.02 kB / 1.163 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/1.343, allocations: 90.77 kB / 1.163 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/1.343, allocations: 250.6 kB / 1.163 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/1.343, allocations: 12.44 kB / 1.163 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/1.343, allocations: 20 kB / 1.163 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/1.343, allocations: 315.7 kB / 1.163 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.343, allocations: 0 / 1.163 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/1.344, allocations: 8 kB / 1.163 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/1.344, allocations: 20.42 kB / 1.163 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/1.344, allocations: 209.6 kB / 1.164 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/1.345, allocations: 1.496 MB / 1.165 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/1.346, allocations: 205 kB / 1.165 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.346, allocations: 0 / 1.165 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/1.346, allocations: 34.72 kB / 1.165 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/1.346, allocations: 0 / 1.165 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005506/1.346, allocations: 268.4 kB / 1.166 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/1.346, allocations: 51.41 kB / 1.166 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/1.347, allocations: 187.5 kB / 1.166 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/1.347, allocations: 29.7 kB / 1.166 GB, free: 480 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/1.347, allocations: 171.7 kB / 1.166 GB, free: 304 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/1.347, allocations: 31.56 kB / 1.166 GB, free: 272 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/1.347, allocations: 0 / 1.166 GB, free: 272 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.347, allocations: 334.8 kB / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/1.347, allocations: 39.98 kB / 1.166 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/1.347, allocations: 114.3 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.347, allocations: 59.92 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.347, allocations: 4 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003522/1.348, allocations: 206.1 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.348, allocations: 8 kB / 1.167 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.348, allocations: 4.281 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/1.348, allocations: 28.8 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/1.348, allocations: 35.92 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/1.349, allocations: 1.316 MB / 1.168 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.349, allocations: 19.88 kB / 1.168 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/1.349, allocations: 13.16 kB / 1.168 GB, free: 13.92 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 () * 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.000171/1.35, allocations: 149.9 kB / 1.168 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/1.35, allocations: 19.81 kB / 1.168 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/1.35, allocations: 25.34 kB / 1.168 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.35, allocations: 0.875 kB / 1.168 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.35, allocations: 4 kB / 1.168 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.35, allocations: 0 / 1.168 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/1.35, allocations: 483.1 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.35, allocations: 4 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/1.35, allocations: 15.94 kB / 1.169 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/1.35, allocations: 25.89 kB / 1.169 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.35, allocations: 0 / 1.169 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009796/1.351, allocations: 1.316 MB / 1.17 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.351, allocations: 0 / 1.17 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/1.352, allocations: 241.3 kB / 1.17 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/1.352, allocations: 100.8 kB / 1.17 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/1.352, allocations: 4 kB / 1.17 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/1.352, allocations: 9.625 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.352, allocations: 7.984 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/1.352, allocations: 0 / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001352/1.352, allocations: 145.5 kB / 1.171 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.352, allocations: 4 kB / 1.171 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003384/1.353, allocations: 59.78 kB / 1.171 GB, free: 11.09 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 () * 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.0001409/1.353, allocations: 99.75 kB / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004839/1.353, allocations: 238.5 kB / 1.171 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.353, allocations: 0 / 1.171 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.353, allocations: 159.2 kB / 1.171 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/1.354, allocations: 38.33 kB / 1.171 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/1.355, allocations: 475.5 kB / 1.172 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.355, allocations: 0.7634 MB / 1.172 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001103/1.355, allocations: 26.41 kB / 1.172 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/1.355, allocations: 11.44 kB / 1.172 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of SimCode: time 4.8e-07/1.355, allocations: 0 / 1.172 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.005038/1.36, allocations: 1.758 MB / 1.174 GB, free: 7.512 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)