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.779/1.779, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001164/0.001164, allocations: 180.9 kB / 361.4 MB, free: 6.848 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.582/1.582, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008396/0.0008395, allocations: 99.77 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6522, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.8707, allocations: 164.5 MB / 1.125 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.871, allocations: 89.98 kB / 1.125 GB, free: 7.23 MB / 0.7292 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.02907/0.9, allocations: 11.64 MB / 1.136 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9001, allocations: 0 / 1.136 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.638e-05/0.9001, allocations: 4 kB / 1.136 GB, free: 11.55 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.001086/0.9012, allocations: 498.2 kB / 1.137 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.9013, allocations: 12.03 kB / 1.137 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.9022, allocations: 80.67 kB / 1.137 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.9028, allocations: 253 kB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.9029, allocations: 4 kB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.9029, allocations: 12 kB / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004193/0.9033, allocations: 176.8 kB / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.9039, allocations: 267.5 kB / 1.138 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.9039, allocations: 4 kB / 1.138 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.904, allocations: 0 / 1.138 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.904, allocations: 16.42 kB / 1.138 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.906, allocations: 1.439 MB / 1.139 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.9065, allocations: 194.5 kB / 1.139 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.9066, allocations: 32.84 kB / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.9066, allocations: 3.938 kB / 1.139 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.9067, allocations: 38.56 kB / 1.139 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.9067, allocations: 4 kB / 1.139 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003918/0.9071, allocations: 119.3 kB / 1.139 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.9071, allocations: 51.41 kB / 1.14 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.9074, allocations: 171.1 kB / 1.14 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.9074, allocations: 25.7 kB / 1.14 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.9075, allocations: 171.6 kB / 1.14 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.9076, allocations: 31.55 kB / 1.14 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.9076, allocations: 0 / 1.14 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9078, allocations: 334.8 kB / 1.14 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.9078, allocations: 35.98 kB / 1.14 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.9079, allocations: 93.27 kB / 1.14 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.9081, allocations: 53.62 kB / 1.14 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9081, allocations: 0 / 1.14 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003617/0.9084, allocations: 175.4 kB / 1.141 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.9085, allocations: 4 kB / 1.141 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9085, allocations: 4 kB / 1.141 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.9087, allocations: 24.84 kB / 1.141 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.9089, allocations: 35.92 kB / 1.141 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.91, allocations: 1.268 MB / 1.142 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.9101, allocations: 15.75 kB / 1.142 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.9102, allocations: 8 kB / 1.142 GB, free: 5.453 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 0.0001066/0.9103, allocations: 117.1 kB / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.9103, allocations: 9.875 kB / 1.142 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.9104, allocations: 17.83 kB / 1.142 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9104, allocations: 4 kB / 1.142 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.9104, allocations: 0 / 1.142 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9104, allocations: 3.953 kB / 1.142 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.9109, allocations: 417 kB / 1.142 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9109, allocations: 4 kB / 1.142 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.911, allocations: 19.92 kB / 1.142 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.9111, allocations: 20.84 kB / 1.142 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.9111, allocations: 3.953 kB / 1.142 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008537/0.912, allocations: 1.262 MB / 1.144 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.912, allocations: 0 / 1.144 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.9122, allocations: 216.2 kB / 1.144 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.9123, allocations: 101 kB / 1.144 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.9123, allocations: 3.984 kB / 1.144 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9125, allocations: 4 kB / 1.144 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.9125, allocations: 7.984 kB / 1.144 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.9125, allocations: 0 / 1.144 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001095/0.9126, allocations: 136.3 kB / 1.144 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9126, allocations: 0 / 1.144 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003541/0.913, allocations: 55.75 kB / 1.144 GB, free: 2.871 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.000133/0.9132, allocations: 105 kB / 1.144 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.9135, allocations: 201.6 kB / 1.145 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9135, allocations: 4 kB / 1.145 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.9137, allocations: 142.3 kB / 1.145 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.914, allocations: 31.67 kB / 1.145 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.9145, allocations: 235.7 kB / 1.145 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.9149, allocations: 0.7631 MB / 1.146 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.915, allocations: 21.19 kB / 1.146 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.9151, allocations: 15.44 kB / 1.146 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.9151, allocations: 4 kB / 1.146 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.004555/0.9196, allocations: 1.55 MB / 1.147 GB, free: 15.8 MB / 0.7605 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)