Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7149/0.7149, allocations: 132.3 MB / 144.9 MB, free: 10.69 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.001049/0.001049, allocations: 175.9 kB / 176.9 MB, free: 2.203 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.425/1.425, 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.001928/0.001928, allocations: 114.5 kB / 450 MB, free: 5.762 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.484/0.4841, allocations: 73.39 MB / 0.6736 GB, free: 47.62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.6588, allocations: 129.5 MB / 0.8 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6591, allocations: 91.94 kB / 0.8001 GB, free: 3.059 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.04519/0.7043, allocations: 19.69 MB / 0.8194 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7043, allocations: 4.188 kB / 0.8194 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.542e-05/0.7044, allocations: 15.92 kB / 0.8194 GB, free: 15.25 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001006/0.7054, allocations: 0.5948 MB / 0.82 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7054, allocations: 8.031 kB / 0.82 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.7062, allocations: 91.55 kB / 0.82 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.7066, allocations: 297.9 kB / 0.8203 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.7066, allocations: 24.77 kB / 0.8204 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.7067, allocations: 31.98 kB / 0.8204 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.7074, allocations: 451.5 kB / 0.8208 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7074, allocations: 0 / 0.8208 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.7075, allocations: 12 kB / 0.8208 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.7075, allocations: 36.75 kB / 0.8209 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.7081, allocations: 310.9 kB / 0.8212 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.7102, allocations: 1.695 MB / 0.8228 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.7107, allocations: 194.8 kB / 0.823 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.711, allocations: 128.8 kB / 0.8231 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.711, allocations: 8.312 kB / 0.8231 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.7111, allocations: 42.5 kB / 0.8232 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.7111, allocations: 0 / 0.8232 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005415/0.7116, allocations: 190.1 kB / 0.8234 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.7117, allocations: 55.41 kB / 0.8234 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.7119, allocations: 238.9 kB / 0.8236 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.712, allocations: 29.7 kB / 0.8237 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.7121, allocations: 211.8 kB / 0.8239 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.7122, allocations: 63.11 kB / 0.8239 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.7122, allocations: 4 kB / 0.8239 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7123, allocations: 334.8 kB / 0.8242 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.7125, allocations: 60.55 kB / 0.8243 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.7127, allocations: 181.2 kB / 0.8245 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.7128, allocations: 91.92 kB / 0.8246 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7129, allocations: 3.938 kB / 0.8246 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004706/0.7133, allocations: 311.3 kB / 0.8249 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000579/0.7139, allocations: 1.395 MB / 0.8262 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7139, allocations: 4 kB / 0.8262 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.7141, allocations: 32.83 kB / 0.8263 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.7144, allocations: 67.91 kB / 0.8263 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/0.7148, allocations: 0.5612 MB / 0.8269 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.7151, allocations: 47.67 kB / 0.8269 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.7151, allocations: 16 kB / 0.8269 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.7151, allocations: 6.188 kB / 0.8269 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003565/0.7155, allocations: 227.5 kB / 0.8272 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7155, allocations: 7.953 kB / 0.8272 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.7155, allocations: 8 kB / 0.8272 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.7158, allocations: 80.36 kB / 0.8273 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.7158, allocations: 7.938 kB / 0.8273 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.716, allocations: 43.75 kB / 0.8273 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.7161, allocations: 12 kB / 0.8273 GB, free: 6.633 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.7162, allocations: 116.9 kB / 0.8274 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.7162, allocations: 31.62 kB / 0.8275 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.7163, allocations: 41.89 kB / 0.8275 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7163, allocations: 0 / 0.8275 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7163, allocations: 0 / 0.8275 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7163, allocations: 0 / 0.8275 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.7173, allocations: 0.6568 MB / 0.8281 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7173, allocations: 0 / 0.8281 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.7175, allocations: 39.97 kB / 0.8282 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-05/0.7176, allocations: 28.84 kB / 0.8282 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.7177, allocations: 0 / 0.8282 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009328/0.7186, allocations: 1.319 MB / 0.8295 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7186, allocations: 0 / 0.8295 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.719, allocations: 348 kB / 0.8298 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.7191, allocations: 124.6 kB / 0.8299 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.7191, allocations: 0 / 0.8299 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.7193, allocations: 31.98 kB / 0.83 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.7194, allocations: 19.92 kB / 0.83 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.7194, allocations: 8 kB / 0.83 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001724/0.7196, allocations: 175.1 kB / 0.8302 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7196, allocations: 0 / 0.8302 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005462/0.7202, allocations: 143.5 kB / 0.8303 GB, free: 3.312 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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.7204, allocations: 111.2 kB / 0.8304 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000588/0.721, allocations: 306.1 kB / 0.8307 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.721, allocations: 8.188 kB / 0.8307 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.7212, allocations: 192.4 kB / 0.8309 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.7216, allocations: 61.11 kB / 0.8309 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.7224, allocations: 392.6 kB / 0.8313 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.7228, allocations: 0.8081 MB / 0.8321 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.7231, allocations: 81.2 kB / 0.8322 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.7231, allocations: 23.42 kB / 0.8322 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/0.7231, allocations: 0 / 0.8322 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of Templates: time 0.006879/0.73, allocations: 3.29 MB / 0.8354 GB, free: 14.03 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)