Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.652/2.652, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001366, allocations: 180.1 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.5772 GB, free: 21.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 96.95 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 10.72 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2309, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/0.5183, allocations: 158.7 MB / 1.054 GB, free: 3.031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.5188, allocations: 103.9 kB / 1.055 GB, free: 2.93 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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.6408/1.16, allocations: 11.79 MB / 1.066 GB, free: 155.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/1.16, allocations: 0 / 1.066 GB, free: 155.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.486e-05/1.16, allocations: 5.094 kB / 1.066 GB, free: 155.4 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.001108/1.161, allocations: 0.5065 MB / 1.067 GB, free: 155 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.161, allocations: 9.719 kB / 1.067 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.162, allocations: 82.84 kB / 1.067 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/1.162, allocations: 251.8 kB / 1.067 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/1.163, allocations: 20.11 kB / 1.067 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/1.163, allocations: 23.16 kB / 1.067 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/1.163, allocations: 303.1 kB / 1.067 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.164, allocations: 4.875 kB / 1.067 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/1.164, allocations: 16.78 kB / 1.067 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/1.164, allocations: 14.47 kB / 1.067 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/1.164, allocations: 215.1 kB / 1.068 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/1.167, allocations: 1.493 MB / 1.069 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/1.167, allocations: 203.3 kB / 1.069 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.168, allocations: 46.36 kB / 1.069 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/1.168, allocations: 1.453 kB / 1.069 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.168, allocations: 32.25 kB / 1.069 GB, free: 153.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.276e-06/1.168, allocations: 3.984 kB / 1.069 GB, free: 153.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008818/1.168, allocations: 266.9 kB / 1.069 GB, free: 153.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/1.169, allocations: 56.09 kB / 1.07 GB, free: 153 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/1.169, allocations: 198.5 kB / 1.07 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.169, allocations: 30.36 kB / 1.07 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.169, allocations: 179.1 kB / 1.07 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/1.169, allocations: 23 kB / 1.07 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/1.169, allocations: 8.5 kB / 1.07 GB, free: 152.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/1.169, allocations: 333.3 kB / 1.07 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/1.169, allocations: 43.11 kB / 1.07 GB, free: 152.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/1.17, allocations: 107.5 kB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/1.17, allocations: 61.02 kB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.17, allocations: 5.438 kB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006448/1.17, allocations: 204.5 kB / 1.071 GB, free: 152.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.171, allocations: 5.938 kB / 1.071 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.171, allocations: 2.875 kB / 1.071 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/1.171, allocations: 33.11 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/1.171, allocations: 32.84 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.172, allocations: 1.32 MB / 1.072 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/1.172, allocations: 19.91 kB / 1.072 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/1.172, allocations: 6.094 kB / 1.072 GB, free: 151 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.0002575/1.173, allocations: 148.3 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/1.173, allocations: 23.5 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/1.173, allocations: 20.91 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.173, allocations: 1.031 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.173, allocations: 4.938 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.173, allocations: 0 / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/1.174, allocations: 478.7 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.174, allocations: 4.844 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.174, allocations: 17.69 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/1.174, allocations: 22.78 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.174, allocations: 4.594 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/1.175, allocations: 1.31 MB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.175, allocations: 7.875 kB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/1.176, allocations: 232.1 kB / 1.074 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.176, allocations: 99.56 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/1.176, allocations: 4.531 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/1.176, allocations: 12.8 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/1.176, allocations: 3.703 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.176, allocations: 5.344 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001976/1.176, allocations: 144.8 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.176, allocations: 4 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005759/1.177, allocations: 55.41 kB / 1.075 GB, free: 148.9 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.0001286/1.177, allocations: 99.06 kB / 1.075 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006516/1.178, allocations: 229.9 kB / 1.075 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.178, allocations: 0 / 1.075 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/1.178, allocations: 162.5 kB / 1.075 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/1.179, allocations: 37.27 kB / 1.075 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/1.18, allocations: 486.8 kB / 1.076 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.18, allocations: 0.7596 MB / 1.076 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001931/1.18, allocations: 25.53 kB / 1.076 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/1.18, allocations: 18.16 kB / 1.076 GB, free: 147.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/1.18, allocations: 0 / 1.076 GB, free: 147.6 MB / 0.698 GB Notification: Performance of Templates: time 0.007384/1.188, allocations: 1.752 MB / 1.078 GB, free: 147.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)