Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 293 MB / 309 MB, free: 4.801 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.001049/0.001049, allocations: 168.1 kB / 378.7 MB, free: 1.031 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.667/1.667, allocations: 205.4 MB / 0.6383 GB, free: 8.137 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.0008876/0.0008879, allocations: 95.17 kB / 0.7527 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 15.98 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6627/0.9354, allocations: 166.9 MB / 1.153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.9358, allocations: 94.69 kB / 1.154 GB, free: 12.46 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-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.1-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.04482/0.9806, allocations: 19.52 MB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.776e-06/0.9806, allocations: 4 kB / 1.173 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.9807, allocations: 8 kB / 1.173 GB, free: 10.86 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00136/0.9821, allocations: 0.6135 MB / 1.173 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.9821, allocations: 12.03 kB / 1.173 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/0.9829, allocations: 96.48 kB / 1.173 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.9834, allocations: 299.3 kB / 1.174 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.9835, allocations: 25.03 kB / 1.174 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.9835, allocations: 28.38 kB / 1.174 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.9844, allocations: 498.3 kB / 1.174 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.9845, allocations: 192 / 1.174 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.9845, allocations: 15.94 kB / 1.174 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/0.9846, allocations: 28.64 kB / 1.174 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.9854, allocations: 390.2 kB / 1.175 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.9877, allocations: 2.053 MB / 1.177 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.9883, allocations: 226.7 kB / 1.177 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.9888, allocations: 175.6 kB / 1.177 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.9888, allocations: 4 kB / 1.177 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.9888, allocations: 38.56 kB / 1.177 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.9888, allocations: 0 / 1.177 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.00113/0.99, allocations: 458.9 kB / 1.177 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.99, allocations: 51.41 kB / 1.177 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.9903, allocations: 262.6 kB / 1.178 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.9903, allocations: 29.7 kB / 1.178 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.9905, allocations: 211.7 kB / 1.178 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.9906, allocations: 63.09 kB / 1.178 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.9906, allocations: 4 kB / 1.178 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.9907, allocations: 338.8 kB / 1.178 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.991, allocations: 104.5 kB / 1.178 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.9913, allocations: 211.6 kB / 1.179 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.9919, allocations: 339.6 kB / 1.179 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9919, allocations: 4 kB / 1.179 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007825/0.9927, allocations: 370 kB / 1.179 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.9928, allocations: 196.1 kB / 1.179 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.9929, allocations: 4 kB / 1.179 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.9931, allocations: 40.77 kB / 1.18 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.9934, allocations: 73.14 kB / 1.18 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.9946, allocations: 1.34 MB / 1.181 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.9949, allocations: 43.67 kB / 1.181 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.995, allocations: 20.09 kB / 1.181 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.995, allocations: 4 kB / 1.181 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006115/0.9956, allocations: 291.4 kB / 1.181 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9956, allocations: 4 kB / 1.181 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.9956, allocations: 8.406 kB / 1.181 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.9959, allocations: 80.45 kB / 1.181 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.996, allocations: 13.09 kB / 1.181 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.9962, allocations: 47.61 kB / 1.181 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.9962, allocations: 16 kB / 1.181 GB, free: 1.152 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.9965, allocations: 245 kB / 1.182 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.9966, allocations: 27.66 kB / 1.182 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.9966, allocations: 35.73 kB / 1.182 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9966, allocations: 0 / 1.182 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.9966, allocations: 7.938 kB / 1.182 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9967, allocations: 0 / 1.182 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.9978, allocations: 0.7748 MB / 1.182 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9979, allocations: 4 kB / 1.182 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.9981, allocations: 43.97 kB / 1.183 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.9982, allocations: 20.84 kB / 1.183 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.9982, allocations: 12.06 kB / 1.183 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009554/0.9992, allocations: 1.309 MB / 1.184 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9992, allocations: 0 / 1.184 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.9998, allocations: 393.9 kB / 1.184 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1, allocations: 127 kB / 1.184 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/1, allocations: 0 / 1.184 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1, allocations: 23.98 kB / 1.184 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/1, allocations: 19.91 kB / 1.184 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1, allocations: 11.98 kB / 1.184 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001792/1, allocations: 178 kB / 1.185 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.31e-07/1, allocations: 0 / 1.185 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006218/1.001, allocations: 147.5 kB / 1.185 GB, free: 13.54 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/1.001, allocations: 119.2 kB / 1.185 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001184/1.003, allocations: 0.5089 MB / 1.185 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.003, allocations: 0 / 1.185 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/1.003, allocations: 227.7 kB / 1.186 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/1.003, allocations: 67.31 kB / 1.186 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/1.005, allocations: 0.6611 MB / 1.186 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/1.005, allocations: 0.7996 MB / 1.187 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002773/1.005, allocations: 68.03 kB / 1.187 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/1.005, allocations: 27.42 kB / 1.187 GB, free: 11 MB / 0.7605 GB Notification: Performance of SimCode: time 4.11e-07/1.005, allocations: 0 / 1.187 GB, free: 11 MB / 0.7605 GB Notification: Performance of Templates: time 0.007659/1.013, allocations: 3.139 MB / 1.19 GB, free: 7.926 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)