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") [: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 3.0.0/package.mo): time 0.8164/0.8164, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001323/0.001322, allocations: 169.2 kB / 171.6 MB, free: 1.977 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.736/1.736, allocations: 170.5 MB / 373.9 MB, free: 15.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.001819/0.001818, allocations: 125.2 kB / 444.5 MB, free: 9.406 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.4896/0.4896, allocations: 73.39 MB / 0.666 GB, free: 62.52 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.6563, allocations: 129 MB / 0.792 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.6566, allocations: 89.39 kB / 0.7921 GB, free: 7.188 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: time 0.04801/0.7046, allocations: 17.52 MB / 0.8092 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.988e-05/0.7047, allocations: 16 kB / 0.8092 GB, free: 5.582 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.001921/0.7067, allocations: 0.6175 MB / 0.8098 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.7067, allocations: 8.031 kB / 0.8098 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.7079, allocations: 119.4 kB / 0.8099 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.7088, allocations: 323.1 kB / 0.8102 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.7089, allocations: 42.48 kB / 0.8103 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.709, allocations: 20 kB / 0.8103 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007751/0.7098, allocations: 329.4 kB / 0.8106 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.7106, allocations: 436.5 kB / 0.811 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.7106, allocations: 0 / 0.811 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.7107, allocations: 7.5 kB / 0.811 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.7108, allocations: 24.77 kB / 0.8111 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.7136, allocations: 1.605 MB / 0.8126 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.7142, allocations: 224.2 kB / 0.8128 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.7145, allocations: 132.8 kB / 0.813 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.7146, allocations: 0 / 0.813 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.7146, allocations: 38.56 kB / 0.813 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.7146, allocations: 0 / 0.813 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.0007322/0.7154, allocations: 253.8 kB / 0.8133 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.7154, allocations: 55.41 kB / 0.8133 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.7156, allocations: 179 kB / 0.8135 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.7157, allocations: 25.7 kB / 0.8135 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.7158, allocations: 195.6 kB / 0.8137 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.7159, allocations: 63.09 kB / 0.8137 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.7159, allocations: 4 kB / 0.8138 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7161, allocations: 330.8 kB / 0.8141 GB, free: 352 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7162, allocations: 67.98 kB / 0.8141 GB, free: 284 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.7164, allocations: 159.1 kB / 0.8143 GB, free: 84 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.7166, allocations: 102.4 kB / 0.8144 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7166, allocations: 7.938 kB / 0.8144 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007695/0.7174, allocations: 313.2 kB / 0.8147 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005289/0.7179, allocations: 0.9678 MB / 0.8156 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.718, allocations: 4 kB / 0.8156 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.7185, allocations: 101.6 kB / 0.8157 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.7187, allocations: 51.91 kB / 0.8158 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.7212, allocations: 1.949 MB / 0.8177 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.7216, allocations: 31.73 kB / 0.8177 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.7216, allocations: 12 kB / 0.8177 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.7217, allocations: 8.156 kB / 0.8177 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006874/0.7223, allocations: 237 kB / 0.818 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7224, allocations: 4 kB / 0.818 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.7227, allocations: 73.11 kB / 0.818 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.723, allocations: 59.91 kB / 0.8181 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.7253, allocations: 1.403 MB / 0.8195 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.7257, allocations: 27.81 kB / 0.8195 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.7257, allocations: 15.98 kB / 0.8195 GB, free: 10.38 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.0001631/0.7259, allocations: 112.9 kB / 0.8196 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.726, allocations: 19.72 kB / 0.8196 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.7261, allocations: 25.59 kB / 0.8197 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.7261, allocations: 0 / 0.8197 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7261, allocations: 0 / 0.8197 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7261, allocations: 3.984 kB / 0.8197 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.7276, allocations: 0.6764 MB / 0.8203 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7276, allocations: 0 / 0.8203 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.7278, allocations: 44.03 kB / 0.8204 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.7283, allocations: 97.58 kB / 0.8205 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.7284, allocations: 0 / 0.8205 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.7315, allocations: 2.644 MB / 0.823 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/0.7315, allocations: 4.094 kB / 0.823 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006988/0.7322, allocations: 406.4 kB / 0.8234 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.7324, allocations: 108.9 kB / 0.8235 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.7324, allocations: 3.984 kB / 0.8235 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.7326, allocations: 11.94 kB / 0.8235 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.7327, allocations: 19.88 kB / 0.8236 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.7328, allocations: 10.31 kB / 0.8236 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001504/0.7329, allocations: 139.4 kB / 0.8237 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008093/0.7337, allocations: 151.3 kB / 0.8239 GB, free: 5.586 MB / 0.5261 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.0001917/0.7339, allocations: 103.2 kB / 0.824 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.7358, allocations: 0.5704 MB / 0.8245 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.7358, allocations: 0.9375 kB / 0.8245 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.7365, allocations: 327.5 kB / 0.8248 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.7369, allocations: 41 kB / 0.8249 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.7384, allocations: 446.9 kB / 0.8253 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.7391, allocations: 0.8365 MB / 0.8261 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.7391, allocations: 0 / 0.8261 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of Templates: time 0.01202/0.7512, allocations: 4.635 MB / 0.8306 GB, free: 14.59 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)