Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") [/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.4928/0.4936, allocations: 82.21 MB / 0.5935 GB, free: 21.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005192/0.4989, allocations: 5.511 MB / 0.5989 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.5039, allocations: 4.337 MB / 0.6031 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.5046, allocations: 19.88 kB / 0.6031 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.5051, allocations: 148.8 kB / 0.6032 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.5071, allocations: 0.6464 MB / 0.6039 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007093/0.5078, allocations: 245.1 kB / 0.6041 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.5088, allocations: 1.191 MB / 0.6053 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.5094, allocations: 494 kB / 0.6057 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.5097, allocations: 378.5 kB / 0.6061 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.5103, allocations: 466.2 kB / 0.6066 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.5104, allocations: 36 kB / 0.6066 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.5107, allocations: 147.8 kB / 0.6067 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.5108, allocations: 199.3 kB / 0.6069 GB, free: 7.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.511, allocations: 169.3 kB / 0.6071 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.5115, allocations: 0.8026 MB / 0.6079 GB, free: 6.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5115, allocations: 0 / 0.6079 GB, free: 6.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5115, allocations: 0 / 0.6079 GB, free: 6.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.5115, allocations: 0 / 0.6079 GB, free: 6.727 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001481/0.513, allocations: 0.9776 MB / 0.6088 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5131, allocations: 12.03 kB / 0.6088 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.5158, allocations: 0.6504 MB / 0.6095 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.5164, allocations: 0.5181 MB / 0.61 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5165, allocations: 41.31 kB / 0.61 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.5165, allocations: 48 kB / 0.6101 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5181, allocations: 1.026 MB / 0.6111 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5182, allocations: 7.938 kB / 0.6111 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.5182, allocations: 23.98 kB / 0.6111 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.5183, allocations: 45.3 kB / 0.6111 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5201, allocations: 1.016 MB / 0.6121 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.5232, allocations: 2.752 MB / 0.6148 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.5245, allocations: 0.5221 MB / 0.6153 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.5251, allocations: 244.7 kB / 0.6156 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.5251, allocations: 0 / 0.6156 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5251, allocations: 46.55 kB / 0.6156 GB, free: 14.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.5252, allocations: 3.938 kB / 0.6156 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.006239/0.5314, allocations: 2.213 MB / 0.6178 GB, free: 12.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.5315, allocations: 63.39 kB / 0.6178 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.5323, allocations: 0.5626 MB / 0.6184 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.5323, allocations: 33.7 kB / 0.6184 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.5326, allocations: 352.2 kB / 0.6187 GB, free: 11.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5327, allocations: 149.8 kB / 0.6189 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.5328, allocations: 8 kB / 0.6189 GB, free: 11.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.533, allocations: 374.8 kB / 0.6193 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.5336, allocations: 272.9 kB / 0.6195 GB, free: 10.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.5343, allocations: 393.7 kB / 0.6199 GB, free: 9.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.535, allocations: 306.2 kB / 0.6202 GB, free: 9.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.535, allocations: 3.953 kB / 0.6202 GB, free: 9.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002181/0.5372, allocations: 0.9707 MB / 0.6211 GB, free: 8.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5374, allocations: 187 kB / 0.6213 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5374, allocations: 4 kB / 0.6213 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.5385, allocations: 268.9 kB / 0.6216 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.539, allocations: 131.8 kB / 0.6217 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.5467, allocations: 8.472 MB / 0.63 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.5474, allocations: 56.02 kB / 0.63 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.5474, allocations: 20 kB / 0.63 GB, free: 14.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5474, allocations: 4 kB / 0.63 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00246/0.5499, allocations: 1.081 MB / 0.6311 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5499, allocations: 4 kB / 0.6311 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007321/0.5507, allocations: 229.4 kB / 0.6313 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/0.5512, allocations: 127.8 kB / 0.6314 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/0.558, allocations: 8.165 MB / 0.6394 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.5588, allocations: 60.02 kB / 0.6395 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.5589, allocations: 23.98 kB / 0.6395 GB, free: 4.145 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006476/0.5595, allocations: 316.8 kB / 0.6398 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5597, allocations: 63.25 kB / 0.6399 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.5598, allocations: 78.38 kB / 0.6399 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5598, allocations: 7.984 kB / 0.6399 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/0.5599, allocations: 8 kB / 0.64 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5599, allocations: 0 / 0.64 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.5607, allocations: 0.6455 MB / 0.6406 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5608, allocations: 0 / 0.6406 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.5612, allocations: 99.92 kB / 0.6407 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008732/0.5621, allocations: 269 kB / 0.6409 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.5621, allocations: 4 kB / 0.6409 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/0.5691, allocations: 8.416 MB / 0.6492 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5691, allocations: 0 / 0.6492 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.5713, allocations: 0.9484 MB / 0.6501 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.5716, allocations: 188.2 kB / 0.6503 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.5717, allocations: 8 kB / 0.6503 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.5722, allocations: 55.95 kB / 0.6503 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.5723, allocations: 39.88 kB / 0.6504 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.5724, allocations: 12 kB / 0.6504 GB, free: 8.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004822/0.5729, allocations: 399.1 kB / 0.6508 GB, free: 7.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5729, allocations: 0 / 0.6508 GB, free: 7.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001185/0.5741, allocations: 300 kB / 0.651 GB, free: 7.391 MB / 494.1 MB 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.5742, allocations: 115.1 kB / 0.6511 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.5779, allocations: 2.415 MB / 0.6535 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5779, allocations: 3.938 kB / 0.6535 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.5793, allocations: 1.019 MB / 0.6545 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.5802, allocations: 214.9 kB / 0.6547 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5827, allocations: 1.539 MB / 0.6562 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.5834, allocations: 0.9819 MB / 0.6572 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006212/0.584, allocations: 157.3 kB / 0.6573 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.5842, allocations: 43.44 kB / 0.6574 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of SimCode: time 4.9e-07/0.5842, allocations: 0 / 0.6574 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of Templates: time 0.02346/0.6077, allocations: 12.5 MB / 0.6696 GB, free: 4.289 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: