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.7796/0.7796, allocations: 133.7 MB / 148.6 MB, free: 13.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.001479/0.001479, allocations: 180.1 kB / 180.9 MB, free: 15.11 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.702/1.702, allocations: 170.7 MB / 383.7 MB, free: 16.16 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.002026/0.002026, allocations: 118.9 kB / 454.6 MB, free: 9.738 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.1737/0.1742, allocations: 73.4 MB / 0.6812 GB, free: 5.566 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6793, allocations: 129.8 MB / 0.808 GB, free: 1.305 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.6796, allocations: 94.58 kB / 0.8081 GB, free: 1.25 MB / 490.7 MB [/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.043/0.7226, allocations: 18.07 MB / 0.8257 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7226, allocations: 3.938 kB / 0.8257 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.7227, allocations: 12 kB / 0.8257 GB, free: 15.61 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.001116/0.7238, allocations: 0.638 MB / 0.8263 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7238, allocations: 8.562 kB / 0.8263 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008492/0.7247, allocations: 115.4 kB / 0.8265 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.7253, allocations: 331.3 kB / 0.8268 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.7254, allocations: 54.7 kB / 0.8268 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.7254, allocations: 35.98 kB / 0.8269 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.7263, allocations: 0.4919 MB / 0.8273 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.7263, allocations: 4 kB / 0.8273 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/0.7264, allocations: 19.98 kB / 0.8274 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.7265, allocations: 24.98 kB / 0.8274 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007089/0.7272, allocations: 391.7 kB / 0.8278 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.7296, allocations: 1.641 MB / 0.8294 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.7304, allocations: 286.9 kB / 0.8296 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.7305, allocations: 0 / 0.8296 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.7305, allocations: 42.55 kB / 0.8297 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.7305, allocations: 0 / 0.8297 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001577/0.7321, allocations: 0.5939 MB / 0.8303 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.7322, allocations: 55.34 kB / 0.8303 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.7324, allocations: 200.1 kB / 0.8305 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.7324, allocations: 29.7 kB / 0.8305 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.7325, allocations: 215.6 kB / 0.8307 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.7326, allocations: 67.08 kB / 0.8308 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.7326, allocations: 8 kB / 0.8308 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.7327, allocations: 334.8 kB / 0.8311 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.7329, allocations: 95.94 kB / 0.8312 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.7332, allocations: 182.4 kB / 0.8314 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.7335, allocations: 116.9 kB / 0.8315 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7335, allocations: 0 / 0.8315 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008471/0.7344, allocations: 397.7 kB / 0.8319 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004047/0.7348, allocations: 0.8789 MB / 0.8327 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7348, allocations: 4 kB / 0.8327 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/0.7353, allocations: 101.6 kB / 0.8328 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.7356, allocations: 55.91 kB / 0.8329 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.738, allocations: 2.067 MB / 0.8349 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.7383, allocations: 39.66 kB / 0.835 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.7383, allocations: 8.156 kB / 0.835 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.7384, allocations: 8 kB / 0.835 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007721/0.7392, allocations: 323.9 kB / 0.8353 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.7392, allocations: 4 kB / 0.8353 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.7395, allocations: 76.94 kB / 0.8354 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.7398, allocations: 59.91 kB / 0.8354 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.7417, allocations: 1.52 MB / 0.8369 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.742, allocations: 23.84 kB / 0.8369 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.7421, allocations: 15.98 kB / 0.8369 GB, free: 3.418 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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.0003024/0.7424, allocations: 245 kB / 0.8372 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.7424, allocations: 23.78 kB / 0.8372 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.7425, allocations: 38.11 kB / 0.8372 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.7425, allocations: 288 / 0.8372 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7425, allocations: 7.953 kB / 0.8372 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.7426, allocations: 3.984 kB / 0.8372 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.743, allocations: 373.4 kB / 0.8376 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.743, allocations: 0 / 0.8376 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.7432, allocations: 31.97 kB / 0.8376 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003876/0.7436, allocations: 109.6 kB / 0.8377 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.7436, allocations: 4 kB / 0.8377 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.7465, allocations: 2.834 MB / 0.8405 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7465, allocations: 0 / 0.8405 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/0.7473, allocations: 418.7 kB / 0.8409 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.7475, allocations: 112.8 kB / 0.841 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.7475, allocations: 4 kB / 0.841 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.7477, allocations: 23.92 kB / 0.841 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.7478, allocations: 11.98 kB / 0.841 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.7478, allocations: 11.98 kB / 0.8411 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001622/0.748, allocations: 160.5 kB / 0.8412 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.748, allocations: 0 / 0.8412 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006522/0.7486, allocations: 163.4 kB / 0.8414 GB, free: 14.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 14 * 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.0001493/0.7488, allocations: 107.2 kB / 0.8415 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.7509, allocations: 0.6752 MB / 0.8421 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7509, allocations: 0 / 0.8421 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.7519, allocations: 369.5 kB / 0.8425 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.7523, allocations: 55.66 kB / 0.8425 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.7539, allocations: 0.7043 MB / 0.8432 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.7546, allocations: 0.8191 MB / 0.844 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.7549, allocations: 58.23 kB / 0.8441 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.755, allocations: 23.38 kB / 0.8441 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.755, allocations: 0 / 0.8441 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.008389/0.7634, allocations: 3.969 MB / 0.848 GB, free: 7.656 MB / 0.5261 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)