Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001212/0.001212, allocations: 180.2 kB / 371.6 MB, free: 3.418 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.612/1.612, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009208/0.0009209, allocations: 87 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.603e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7582/1.016, allocations: 165.1 MB / 1.141 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.017, allocations: 97.39 kB / 1.141 GB, free: 26.02 MB / 0.7448 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.03776/1.054, allocations: 16.06 MB / 1.157 GB, free: 17.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/1.054, allocations: 0 / 1.157 GB, free: 17.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.054, allocations: 12 kB / 1.157 GB, free: 17.74 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007043/1.055, allocations: 0.5408 MB / 1.157 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/1.055, allocations: 8.031 kB / 1.157 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/1.056, allocations: 150.3 kB / 1.157 GB, free: 17.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/1.056, allocations: 288.5 kB / 1.158 GB, free: 16.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.056, allocations: 27.66 kB / 1.158 GB, free: 16.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/1.057, allocations: 30.52 kB / 1.158 GB, free: 16.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/1.057, allocations: 449.8 kB / 1.158 GB, free: 16.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.057, allocations: 0 / 1.158 GB, free: 16.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/1.057, allocations: 22.41 kB / 1.158 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/1.057, allocations: 23.38 kB / 1.158 GB, free: 16.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/1.058, allocations: 310.5 kB / 1.159 GB, free: 16.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/1.059, allocations: 2.188 MB / 1.161 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/1.06, allocations: 242.5 kB / 1.161 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/1.06, allocations: 108.6 kB / 1.161 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/1.06, allocations: 0 / 1.161 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/1.06, allocations: 47.12 kB / 1.161 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/1.06, allocations: 0 / 1.161 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003085/1.06, allocations: 158.8 kB / 1.161 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/1.06, allocations: 55.41 kB / 1.161 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/1.06, allocations: 239.6 kB / 1.162 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.06, allocations: 28.52 kB / 1.162 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/1.061, allocations: 198.3 kB / 1.162 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/1.061, allocations: 62.89 kB / 1.162 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/1.061, allocations: 3.625 kB / 1.162 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/1.061, allocations: 339.4 kB / 1.162 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/1.061, allocations: 54.83 kB / 1.162 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/1.061, allocations: 141.6 kB / 1.162 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/1.061, allocations: 81.34 kB / 1.162 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.061, allocations: 0 / 1.162 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003249/1.061, allocations: 249.3 kB / 1.163 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.061, allocations: 12 kB / 1.163 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.061, allocations: 5.812 kB / 1.163 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/1.062, allocations: 24.23 kB / 1.163 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/1.062, allocations: 53.77 kB / 1.163 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007222/1.062, allocations: 1.32 MB / 1.164 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/1.063, allocations: 27.06 kB / 1.164 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/1.063, allocations: 15.77 kB / 1.164 GB, free: 11.08 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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.361e-05/1.063, allocations: 120.1 kB / 1.164 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/1.063, allocations: 23.72 kB / 1.164 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/1.063, allocations: 30.72 kB / 1.164 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.063, allocations: 0 / 1.164 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.063, allocations: 2.062 kB / 1.164 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.063, allocations: 1.594 kB / 1.164 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/1.064, allocations: 0.7146 MB / 1.165 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.064, allocations: 3.953 kB / 1.165 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/1.064, allocations: 29.55 kB / 1.165 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.727e-05/1.064, allocations: 23.8 kB / 1.165 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.064, allocations: 8 kB / 1.165 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006039/1.064, allocations: 1.306 MB / 1.166 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.064, allocations: 4.031 kB / 1.166 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/1.065, allocations: 382.3 kB / 1.167 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/1.065, allocations: 115.6 kB / 1.167 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/1.065, allocations: 8.469 kB / 1.167 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/1.065, allocations: 16.86 kB / 1.167 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/1.065, allocations: 12.36 kB / 1.167 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/1.065, allocations: 7.562 kB / 1.167 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001398/1.065, allocations: 187 kB / 1.167 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.052e-06/1.065, allocations: 0 / 1.167 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003406/1.065, allocations: 85.69 kB / 1.167 GB, free: 8.133 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001032/1.066, allocations: 102.9 kB / 1.167 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003624/1.066, allocations: 267.6 kB / 1.167 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.066, allocations: 0.75 kB / 1.167 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/1.066, allocations: 186.9 kB / 1.168 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.066, allocations: 47.72 kB / 1.168 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/1.067, allocations: 378.1 kB / 1.168 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/1.067, allocations: 0.7977 MB / 1.169 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001462/1.067, allocations: 51.03 kB / 1.169 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/1.067, allocations: 20.8 kB / 1.169 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/1.067, allocations: 0 / 1.169 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.005381/1.073, allocations: 2.496 MB / 1.171 GB, free: 5.055 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)