Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7258/0.7258, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 174.9 kB / 176.9 MB, free: 2.191 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.453/1.453, allocations: 170.5 MB / 379.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 120.6 kB / 450 MB, free: 5.766 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4483/0.4484, allocations: 73.39 MB / 0.6736 GB, free: 47.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.6051, allocations: 129.7 MB / 0.8003 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6054, allocations: 94.14 kB / 0.8004 GB, free: 2.809 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 3.0.0/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 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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 3.0.0/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.05122/0.6566, allocations: 17.95 MB / 0.8179 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6566, allocations: 224 / 0.8179 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.603e-05/0.6567, allocations: 15.94 kB / 0.8179 GB, free: 0.7461 MB / 0.5105 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.001207/0.6579, allocations: 0.6171 MB / 0.8185 GB, free: 88 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.658, allocations: 8.031 kB / 0.8186 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6592, allocations: 107.5 kB / 0.8187 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.6599, allocations: 331.1 kB / 0.819 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/0.66, allocations: 58.09 kB / 0.819 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.6601, allocations: 35.97 kB / 0.8191 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.6608, allocations: 478.2 kB / 0.8195 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6608, allocations: 0 / 0.8195 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.6609, allocations: 23.98 kB / 0.8195 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.6609, allocations: 24.77 kB / 0.8196 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.6615, allocations: 342.9 kB / 0.8199 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.6638, allocations: 1.652 MB / 0.8215 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.6645, allocations: 246.7 kB / 0.8217 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.6648, allocations: 144.8 kB / 0.8219 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.6648, allocations: 0 / 0.8219 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.6649, allocations: 38.91 kB / 0.8219 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 1.112e-06/0.6649, allocations: 0 / 0.8219 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0006308/0.6655, allocations: 267.9 kB / 0.8222 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.6655, allocations: 51.41 kB / 0.8222 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.6657, allocations: 204.8 kB / 0.8224 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.6658, allocations: 29.7 kB / 0.8224 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6659, allocations: 207.7 kB / 0.8226 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.666, allocations: 74.92 kB / 0.8227 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.666, allocations: 4 kB / 0.8227 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6661, allocations: 330.8 kB / 0.823 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.6662, allocations: 79.97 kB / 0.8231 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.6664, allocations: 159.1 kB / 0.8233 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.6666, allocations: 104 kB / 0.8234 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6666, allocations: 4 kB / 0.8234 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006371/0.6672, allocations: 338.7 kB / 0.8237 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/0.6676, allocations: 0.9619 MB / 0.8246 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6677, allocations: 0 / 0.8246 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.6681, allocations: 105.6 kB / 0.8247 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6683, allocations: 55.91 kB / 0.8248 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.6704, allocations: 2.026 MB / 0.8268 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.6706, allocations: 35.8 kB / 0.8268 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.6707, allocations: 12 kB / 0.8268 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/0.6707, allocations: 7.938 kB / 0.8268 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005503/0.6713, allocations: 276.5 kB / 0.8271 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6713, allocations: 4 kB / 0.8271 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.6715, allocations: 73.11 kB / 0.8271 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.6717, allocations: 55.91 kB / 0.8272 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.6734, allocations: 1.484 MB / 0.8286 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.6737, allocations: 35.67 kB / 0.8287 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.6737, allocations: 12 kB / 0.8287 GB, free: 5.031 MB / 0.5261 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.0001126/0.6738, allocations: 116.9 kB / 0.8288 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.6739, allocations: 23.86 kB / 0.8288 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.6739, allocations: 29.97 kB / 0.8289 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6739, allocations: 0 / 0.8289 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.674, allocations: 3.953 kB / 0.8289 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.674, allocations: 7.984 kB / 0.8289 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.6752, allocations: 0.7453 MB / 0.8296 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6752, allocations: 0 / 0.8296 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.6753, allocations: 35.97 kB / 0.8296 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.6756, allocations: 101.6 kB / 0.8297 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.6757, allocations: 4 kB / 0.8297 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.6782, allocations: 2.796 MB / 0.8325 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.6782, allocations: 8.016 kB / 0.8325 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.6788, allocations: 414.2 kB / 0.8329 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6789, allocations: 116.7 kB / 0.833 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.6789, allocations: 8 kB / 0.833 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.6791, allocations: 19.92 kB / 0.833 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.6792, allocations: 11.98 kB / 0.833 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6792, allocations: 8 kB / 0.833 GB, free: 196 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000143/0.6794, allocations: 165.4 kB / 0.8332 GB, free: 32 kB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6794, allocations: 0 / 0.8332 GB, free: 32 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005698/0.6799, allocations: 163.4 kB / 0.8333 GB, free: 15.87 MB / 0.5417 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.0001292/0.6801, allocations: 99.19 kB / 0.8334 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.6816, allocations: 0.6078 MB / 0.834 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6816, allocations: 4.312 kB / 0.834 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.6822, allocations: 353.1 kB / 0.8344 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.6826, allocations: 52.28 kB / 0.8344 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.6835, allocations: 443.5 kB / 0.8348 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.6839, allocations: 0.8191 MB / 0.8356 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.6842, allocations: 66.02 kB / 0.8357 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.6842, allocations: 19.44 kB / 0.8357 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6842, allocations: 0 / 0.8357 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.007566/0.6918, allocations: 4.228 MB / 0.8398 GB, free: 9.133 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)