Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.3 MB / 144.9 MB, free: 10.68 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.001109/0.001109, allocations: 174 kB / 176.9 MB, free: 2.207 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.389/1.389, allocations: 170.5 MB / 379.3 MB, free: 11.91 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.001587/0.001587, allocations: 118.3 kB / 450 MB, free: 5.816 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.4128/0.4128, allocations: 73.39 MB / 0.6736 GB, free: 47.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5744, allocations: 134.6 MB / 0.805 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.5747, allocations: 83.95 kB / 0.8051 GB, free: 13.96 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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/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/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/PartialTwoPortRLC.mo:18:3-18: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.04311/0.6178, allocations: 18.06 MB / 0.8228 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6179, allocations: 0 / 0.8228 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.512e-05/0.6179, allocations: 8 kB / 0.8228 GB, free: 11.77 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001004/0.6189, allocations: 0.6351 MB / 0.8234 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.619, allocations: 8.031 kB / 0.8234 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.62, allocations: 159.3 kB / 0.8236 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.6206, allocations: 334.1 kB / 0.8239 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6206, allocations: 28.78 kB / 0.8239 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.6207, allocations: 31.61 kB / 0.8239 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.6215, allocations: 0.5172 MB / 0.8244 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6215, allocations: 0 / 0.8244 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.6216, allocations: 16 kB / 0.8244 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.6216, allocations: 24.77 kB / 0.8245 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.6222, allocations: 378.9 kB / 0.8248 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.6246, allocations: 1.953 MB / 0.8267 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.6251, allocations: 262.4 kB / 0.827 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.6253, allocations: 104.8 kB / 0.8271 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.6253, allocations: 0 / 0.8271 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.6254, allocations: 38.56 kB / 0.8271 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.6254, allocations: 0 / 0.8271 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001713/0.6271, allocations: 0.8601 MB / 0.828 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.6271, allocations: 51.41 kB / 0.828 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.6274, allocations: 266.7 kB / 0.8283 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.6275, allocations: 29.7 kB / 0.8283 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6276, allocations: 227.5 kB / 0.8285 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.6277, allocations: 82.8 kB / 0.8286 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.6277, allocations: 8 kB / 0.8286 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6278, allocations: 342.8 kB / 0.8289 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.628, allocations: 96.64 kB / 0.829 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.6282, allocations: 183.8 kB / 0.8292 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.6284, allocations: 134 kB / 0.8293 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6285, allocations: 4 kB / 0.8293 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000688/0.6291, allocations: 434.6 kB / 0.8297 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6292, allocations: 8 kB / 0.8298 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.6292, allocations: 4.344 kB / 0.8298 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.6295, allocations: 94.45 kB / 0.8298 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.6298, allocations: 63.91 kB / 0.8299 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/0.6329, allocations: 4.068 MB / 0.8339 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.6331, allocations: 11.98 kB / 0.8339 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.6332, allocations: 12 kB / 0.8339 GB, free: 15.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.6333, allocations: 121.6 kB / 0.834 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.6334, allocations: 31.72 kB / 0.834 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-05/0.6335, allocations: 46.09 kB / 0.8341 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.6335, allocations: 4 kB / 0.8341 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6335, allocations: 0 / 0.8341 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6335, allocations: 0 / 0.8341 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.6339, allocations: 397.4 kB / 0.8345 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.634, allocations: 0 / 0.8345 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.6341, allocations: 43.91 kB / 0.8345 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.6344, allocations: 86.52 kB / 0.8346 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6345, allocations: 4 kB / 0.8346 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.6375, allocations: 4.06 MB / 0.8386 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6375, allocations: 4.219 kB / 0.8386 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/0.6383, allocations: 0.5385 MB / 0.8391 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.6385, allocations: 128.8 kB / 0.8392 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.6385, allocations: 7.938 kB / 0.8392 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.6387, allocations: 12.06 kB / 0.8392 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.6388, allocations: 19.97 kB / 0.8393 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.6388, allocations: 8 kB / 0.8393 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001925/0.639, allocations: 210.2 kB / 0.8395 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.639, allocations: 0 / 0.8395 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004488/0.6394, allocations: 96 kB / 0.8396 GB, free: 9.266 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.6396, allocations: 111.2 kB / 0.8397 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008024/0.6404, allocations: 0.5984 MB / 0.8402 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6404, allocations: 4.062 kB / 0.8403 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.6409, allocations: 467.6 kB / 0.8407 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.6413, allocations: 81.78 kB / 0.8408 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.6422, allocations: 0.5047 MB / 0.8413 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.6427, allocations: 0.8496 MB / 0.8421 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.6429, allocations: 56.58 kB / 0.8422 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.6429, allocations: 23.44 kB / 0.8422 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/0.6429, allocations: 0 / 0.8422 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of Templates: time 0.008166/0.6511, allocations: 4.122 MB / 0.8462 GB, free: 2.402 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)