Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7907/0.7907, allocations: 132.4 MB / 139.9 MB, free: 15.37 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.001108/0.001108, allocations: 169.8 kB / 171.8 MB, free: 2.035 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.749/1.749, allocations: 170.6 MB / 374.2 MB, free: 15.77 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.001786/0.001786, allocations: 127.9 kB / 444.8 MB, free: 9.285 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.5874/0.5875, allocations: 73.4 MB / 0.6666 GB, free: 46.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.7919, allocations: 127.2 MB / 0.7908 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.7923, allocations: 87.94 kB / 0.7909 GB, free: 9.461 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);. Notification: Performance of FrontEnd - DAE generated: time 0.0404/0.8327, allocations: 16.26 MB / 0.8068 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8327, allocations: 0 / 0.8068 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.8328, allocations: 8 kB / 0.8068 GB, free: 9.129 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001028/0.8338, allocations: 0.554 MB / 0.8073 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.8339, allocations: 16.03 kB / 0.8074 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.835, allocations: 135.5 kB / 0.8075 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.8356, allocations: 285.2 kB / 0.8078 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.8357, allocations: 8 kB / 0.8078 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.8357, allocations: 16 kB / 0.8078 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005452/0.8363, allocations: 277.5 kB / 0.808 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.837, allocations: 403.7 kB / 0.8084 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.8371, allocations: 7.547 kB / 0.8084 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.8371, allocations: 8 kB / 0.8084 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.8372, allocations: 24.55 kB / 0.8085 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.8396, allocations: 1.705 MB / 0.8101 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.8401, allocations: 235.8 kB / 0.8104 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.8403, allocations: 114.2 kB / 0.8105 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.8404, allocations: 3.938 kB / 0.8105 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.8404, allocations: 38.56 kB / 0.8105 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.8404, allocations: 0 / 0.8105 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0004187/0.8409, allocations: 142.3 kB / 0.8106 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.8409, allocations: 55.41 kB / 0.8107 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.8412, allocations: 191.2 kB / 0.8109 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.8412, allocations: 33.64 kB / 0.8109 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.8414, allocations: 207.4 kB / 0.8111 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.8415, allocations: 51.3 kB / 0.8112 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.8415, allocations: 0 / 0.8112 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.8417, allocations: 334.8 kB / 0.8115 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.8418, allocations: 48.45 kB / 0.8115 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.8421, allocations: 135.8 kB / 0.8117 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.8422, allocations: 72.61 kB / 0.8117 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8422, allocations: 0 / 0.8117 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004702/0.8427, allocations: 236.8 kB / 0.8119 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.8427, allocations: 11.95 kB / 0.812 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8428, allocations: 4 kB / 0.812 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.843, allocations: 20.84 kB / 0.812 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.8432, allocations: 53.92 kB / 0.812 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.8446, allocations: 1.256 MB / 0.8133 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.8448, allocations: 11.84 kB / 0.8133 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.8449, allocations: 16 kB / 0.8133 GB, free: 2.023 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.845, allocations: 117 kB / 0.8134 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.8451, allocations: 23.72 kB / 0.8134 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.8451, allocations: 25.92 kB / 0.8134 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8451, allocations: 0 / 0.8134 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8451, allocations: 4 kB / 0.8135 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.8452, allocations: 3.984 kB / 0.8135 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009099/0.8461, allocations: 0.5808 MB / 0.814 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.8461, allocations: 0 / 0.814 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.8462, allocations: 27.92 kB / 0.814 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.918e-05/0.8463, allocations: 25.05 kB / 0.8141 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.8463, allocations: 7.984 kB / 0.8141 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.8475, allocations: 1.26 MB / 0.8153 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.8475, allocations: 5.406 kB / 0.8153 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.848, allocations: 367.5 kB / 0.8157 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.8481, allocations: 116.8 kB / 0.8158 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.8481, allocations: 4 kB / 0.8158 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.8483, allocations: 15.98 kB / 0.8158 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.8483, allocations: 12.03 kB / 0.8158 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.8484, allocations: 11.94 kB / 0.8158 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001511/0.8485, allocations: 149.6 kB / 0.816 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8485, allocations: 0 / 0.816 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004641/0.849, allocations: 71.75 kB / 0.816 GB, free: 14.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.8491, allocations: 105.2 kB / 0.8161 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.8497, allocations: 252.2 kB / 0.8164 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8497, allocations: 0 / 0.8164 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.8499, allocations: 166.6 kB / 0.8165 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.8503, allocations: 46.45 kB / 0.8166 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.851, allocations: 373.7 kB / 0.8169 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.8515, allocations: 0.8025 MB / 0.8177 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.8516, allocations: 38.05 kB / 0.8178 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.8517, allocations: 19.44 kB / 0.8178 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.8517, allocations: 4 kB / 0.8178 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.005314/0.857, allocations: 2.116 MB / 0.8198 GB, free: 11 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)