Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001225/0.001225, allocations: 175.8 kB / 361.4 MB, free: 6.84 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.333/1.333, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009079/0.0009079, allocations: 102.6 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.181e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5978, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.7972, allocations: 165.4 MB / 1.126 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.7975, allocations: 92.5 kB / 1.126 GB, free: 6.332 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04418/0.8417, allocations: 17.68 MB / 1.143 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8417, allocations: 0 / 1.143 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.8417, allocations: 8 kB / 1.143 GB, free: 4.551 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001148/0.8429, allocations: 0.6114 MB / 1.144 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8429, allocations: 8.031 kB / 1.144 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.8438, allocations: 116.1 kB / 1.144 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.8445, allocations: 324.3 kB / 1.144 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.8445, allocations: 42.48 kB / 1.144 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.8446, allocations: 23.94 kB / 1.144 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00053/0.8451, allocations: 313.7 kB / 1.145 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.8458, allocations: 424.8 kB / 1.145 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.8459, allocations: 11.88 kB / 1.145 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.8459, allocations: 0 / 1.145 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.8459, allocations: 28.77 kB / 1.145 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.8484, allocations: 2.138 MB / 1.147 GB, free: 212 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.849, allocations: 243.2 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.8493, allocations: 137.1 kB / 1.148 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.8494, allocations: 11.94 kB / 1.148 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.8494, allocations: 34.56 kB / 1.148 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.8494, allocations: 0 / 1.148 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.000612/0.85, allocations: 243 kB / 1.148 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.8501, allocations: 55.41 kB / 1.148 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.8503, allocations: 181.6 kB / 1.148 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.8503, allocations: 25.7 kB / 1.148 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.8504, allocations: 215.9 kB / 1.148 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.8505, allocations: 63.05 kB / 1.148 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.8505, allocations: 4 kB / 1.148 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8506, allocations: 334.8 kB / 1.149 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.8508, allocations: 67.98 kB / 1.149 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.8509, allocations: 163.6 kB / 1.149 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.8511, allocations: 89.78 kB / 1.149 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.8511, allocations: 0 / 1.149 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006244/0.8517, allocations: 314.8 kB / 1.149 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004078/0.8522, allocations: 0.9624 MB / 1.15 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8522, allocations: 4 kB / 1.15 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.8526, allocations: 104.9 kB / 1.15 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.8529, allocations: 55.86 kB / 1.15 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.855, allocations: 1.965 MB / 1.152 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.8553, allocations: 31.67 kB / 1.152 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.8553, allocations: 8 kB / 1.152 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.8553, allocations: 4 kB / 1.152 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005017/0.8558, allocations: 244.7 kB / 1.153 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8559, allocations: 4 kB / 1.153 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.8561, allocations: 76.94 kB / 1.153 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.8564, allocations: 65.67 kB / 1.153 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.8581, allocations: 1.417 MB / 1.154 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.8583, allocations: 27.89 kB / 1.154 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.8584, allocations: 8 kB / 1.154 GB, free: 8.652 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.8585, allocations: 108.9 kB / 1.154 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.8586, allocations: 19.72 kB / 1.154 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.8586, allocations: 25.97 kB / 1.154 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8587, allocations: 4 kB / 1.154 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8587, allocations: 9.312 kB / 1.154 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8587, allocations: 0 / 1.154 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.8598, allocations: 0.7177 MB / 1.155 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8599, allocations: 4 kB / 1.155 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.86, allocations: 36.03 kB / 1.155 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/0.8604, allocations: 93.64 kB / 1.155 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.8604, allocations: 4 kB / 1.155 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.863, allocations: 2.675 MB / 1.158 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/0.863, allocations: 11.89 kB / 1.158 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.8636, allocations: 387.6 kB / 1.158 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8637, allocations: 112.8 kB / 1.158 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.8638, allocations: 7.938 kB / 1.158 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.864, allocations: 15.98 kB / 1.158 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.864, allocations: 19.97 kB / 1.158 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.8641, allocations: 8 kB / 1.158 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001204/0.8642, allocations: 136.4 kB / 1.158 GB, free: 3.914 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8642, allocations: 0 / 1.158 GB, free: 3.914 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006481/0.8648, allocations: 167.2 kB / 1.159 GB, free: 3.75 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.865, allocations: 110 kB / 1.159 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.8666, allocations: 0.5672 MB / 1.159 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8666, allocations: 0 / 1.159 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.8673, allocations: 337.1 kB / 1.159 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.8677, allocations: 36.72 kB / 1.16 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.8685, allocations: 401.9 kB / 1.16 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.8689, allocations: 0.8185 MB / 1.161 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.8692, allocations: 56.77 kB / 1.161 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.8693, allocations: 19.44 kB / 1.161 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.8693, allocations: 0 / 1.161 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of Templates: time 0.007932/0.8772, allocations: 3.943 MB / 1.165 GB, free: 13.47 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)