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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.315/1.315, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.0009952/0.0009952, allocations: 185.2 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9685/0.9685, allocations: 205.1 MB / 0.6256 GB, free: 7.43 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.0008176/0.0008177, allocations: 85.81 kB / 0.7396 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.32e-06, allocations: 0 / 0.859 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3984, allocations: 116.3 MB / 0.9726 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5459, allocations: 165.4 MB / 1.134 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5462, allocations: 92.64 kB / 1.134 GB, free: 0.9453 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: time 0.02464/0.5708, allocations: 11.31 MB / 1.145 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.5709, allocations: 4 kB / 1.145 GB, free: 5.586 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.0005683/0.5714, allocations: 499 kB / 1.146 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5715, allocations: 8.031 kB / 1.146 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006129/0.5721, allocations: 87.55 kB / 1.146 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.5724, allocations: 246.7 kB / 1.146 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5725, allocations: 13.25 kB / 1.146 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.5725, allocations: 12 kB / 1.146 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002864/0.5728, allocations: 180.7 kB / 1.146 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.5732, allocations: 273.1 kB / 1.146 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5732, allocations: 3.984 kB / 1.146 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.5732, allocations: 0 / 1.146 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.5732, allocations: 24.44 kB / 1.146 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.5746, allocations: 1.431 MB / 1.148 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.5748, allocations: 102.5 kB / 1.148 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.5749, allocations: 32.84 kB / 1.148 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.5749, allocations: 11.94 kB / 1.148 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.5749, allocations: 38.47 kB / 1.148 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5749, allocations: 0 / 1.148 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000275/0.5752, allocations: 114.3 kB / 1.148 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.5753, allocations: 51.41 kB / 1.148 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5754, allocations: 174.9 kB / 1.148 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.5754, allocations: 25.7 kB / 1.148 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.5755, allocations: 163.7 kB / 1.149 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.5755, allocations: 27.56 kB / 1.149 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.5756, allocations: 0 / 1.149 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.5757, allocations: 334.1 kB / 1.149 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.5757, allocations: 39.98 kB / 1.149 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-05/0.5758, allocations: 99.33 kB / 1.149 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.853e-05/0.5759, allocations: 57.62 kB / 1.149 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5759, allocations: 0 / 1.149 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002832/0.5762, allocations: 186.3 kB / 1.149 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5762, allocations: 4 kB / 1.149 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5762, allocations: 5.438 kB / 1.149 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.5764, allocations: 24.84 kB / 1.149 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5765, allocations: 40.2 kB / 1.149 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008803/0.5774, allocations: 1.258 MB / 1.151 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.5776, allocations: 11.84 kB / 1.151 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.5776, allocations: 8 kB / 1.151 GB, free: 15.57 MB / 0.7605 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 7.864e-05/0.5777, allocations: 112.8 kB / 1.151 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.5777, allocations: 15.81 kB / 1.151 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.5778, allocations: 21.39 kB / 1.151 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5778, allocations: 4.094 kB / 1.151 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5778, allocations: 0 / 1.151 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5778, allocations: 3.984 kB / 1.151 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.578, allocations: 218.1 kB / 1.151 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.578, allocations: 0 / 1.151 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.5781, allocations: 19.89 kB / 1.151 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/0.5782, allocations: 20.84 kB / 1.151 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.5782, allocations: 1.312 kB / 1.151 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007769/0.579, allocations: 1.249 MB / 1.152 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.579, allocations: 4.062 kB / 1.152 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002162/0.5792, allocations: 225.6 kB / 1.152 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.5793, allocations: 100.9 kB / 1.153 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.5793, allocations: 1.312 kB / 1.153 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.5794, allocations: 7.984 kB / 1.153 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.5795, allocations: 8 kB / 1.153 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.5795, allocations: 0 / 1.153 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001031/0.5796, allocations: 144 kB / 1.153 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002866/0.5799, allocations: 51.75 kB / 1.153 GB, free: 13.2 MB / 0.7605 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 9.87e-05/0.58, allocations: 99.19 kB / 1.153 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.5803, allocations: 207.7 kB / 1.153 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5803, allocations: 0 / 1.153 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5805, allocations: 149.6 kB / 1.153 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5807, allocations: 20.17 kB / 1.153 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.5811, allocations: 232 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.5815, allocations: 0.779 MB / 1.154 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of SimCode: time 3.31e-07/0.5815, allocations: 0 / 1.154 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of Templates: time 0.004007/0.5855, allocations: 1.773 MB / 1.156 GB, free: 9.941 MB / 0.7605 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)