Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [: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.34/1.34, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001015/0.001015, allocations: 185.2 kB / 366.3 MB, free: 2.02 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.007/1.007, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0007462/0.0007462, allocations: 86.81 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.201e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3853, allocations: 116.3 MB / 0.9726 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5372, allocations: 166.3 MB / 1.135 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5374, allocations: 84.58 kB / 1.135 GB, free: 14.1 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);. [/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);. Notification: Performance of FrontEnd: time 0.03773/0.5751, allocations: 17.33 MB / 1.152 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.5752, allocations: 15.94 kB / 1.152 GB, free: 12.57 MB / 0.7605 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.0009088/0.5761, allocations: 0.6153 MB / 1.153 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5761, allocations: 12.03 kB / 1.153 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.5769, allocations: 107.4 kB / 1.153 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.5775, allocations: 336.2 kB / 1.153 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.5775, allocations: 42.48 kB / 1.153 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.5776, allocations: 16 kB / 1.153 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004936/0.5781, allocations: 329.7 kB / 1.153 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.5787, allocations: 444.5 kB / 1.154 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5787, allocations: 7.922 kB / 1.154 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.5787, allocations: 0 / 1.154 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.5788, allocations: 28.67 kB / 1.154 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.5809, allocations: 2.144 MB / 1.156 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.5814, allocations: 222.7 kB / 1.156 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.5816, allocations: 136.8 kB / 1.156 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.5817, allocations: 8 kB / 1.156 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.5817, allocations: 38.5 kB / 1.156 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.5817, allocations: 0 / 1.156 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0005766/0.5823, allocations: 241.2 kB / 1.157 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.5823, allocations: 59.41 kB / 1.157 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.5825, allocations: 182 kB / 1.157 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5825, allocations: 25.7 kB / 1.157 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.5826, allocations: 195.6 kB / 1.157 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.5826, allocations: 71.03 kB / 1.157 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.5827, allocations: 0 / 1.157 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5828, allocations: 330.7 kB / 1.157 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.5829, allocations: 67.98 kB / 1.157 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.583, allocations: 171.4 kB / 1.158 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.5832, allocations: 96.06 kB / 1.158 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5832, allocations: 0 / 1.158 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006071/0.5838, allocations: 318 kB / 1.158 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.5841, allocations: 0.9609 MB / 1.159 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5841, allocations: 4 kB / 1.159 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.5845, allocations: 105.5 kB / 1.159 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.5847, allocations: 55.91 kB / 1.159 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.5866, allocations: 1.941 MB / 1.161 GB, free: 2.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5868, allocations: 35.7 kB / 1.161 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5869, allocations: 12 kB / 1.161 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-06/0.5869, allocations: 4 kB / 1.161 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000477/0.5874, allocations: 244.6 kB / 1.161 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5874, allocations: 7.906 kB / 1.161 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.5876, allocations: 76.98 kB / 1.161 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.5878, allocations: 59.91 kB / 1.161 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5893, allocations: 1.405 MB / 1.163 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.5896, allocations: 23.88 kB / 1.163 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.5896, allocations: 12 kB / 1.163 GB, free: 0.6641 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 7.704e-05/0.5897, allocations: 114.4 kB / 1.163 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.5897, allocations: 23.72 kB / 1.163 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.5898, allocations: 21.59 kB / 1.163 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5898, allocations: 4 kB / 1.163 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5898, allocations: 7.984 kB / 1.163 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5898, allocations: 0 / 1.163 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.5908, allocations: 0.7229 MB / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5908, allocations: 4 kB / 1.164 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.5909, allocations: 35.97 kB / 1.164 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.5913, allocations: 97.7 kB / 1.164 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5913, allocations: 11.84 kB / 1.164 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.5936, allocations: 2.634 MB / 1.166 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5936, allocations: 0 / 1.166 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005439/0.5941, allocations: 402 kB / 1.167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.5942, allocations: 120.7 kB / 1.167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.5943, allocations: 4 kB / 1.167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.5945, allocations: 12 kB / 1.167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5945, allocations: 15.97 kB / 1.167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.5945, allocations: 8 kB / 1.167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.836e-05/0.5946, allocations: 139 kB / 1.167 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004953/0.5951, allocations: 159.3 kB / 1.167 GB, free: 11.79 MB / 0.7761 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.0001002/0.5952, allocations: 103.2 kB / 1.167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.5966, allocations: 0.5663 MB / 1.168 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5966, allocations: 0 / 1.168 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.5973, allocations: 335.8 kB / 1.168 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.5975, allocations: 41.83 kB / 1.168 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.5983, allocations: 414.9 kB / 1.169 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.5987, allocations: 0.8276 MB / 1.169 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of SimCode: time 2.61e-07/0.5987, allocations: 0 / 1.169 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.007412/0.6061, allocations: 4.661 MB / 1.174 GB, free: 4.801 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)