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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6936/0.6936, 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.0009926/0.0009925, allocations: 176.3 kB / 176.9 MB, free: 2.191 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.287/1.287, 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.001528/0.001529, allocations: 115.8 kB / 450 MB, free: 5.84 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.433/0.433, allocations: 73.39 MB / 0.6736 GB, free: 47.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.5958, allocations: 144 MB / 0.8142 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.5961, allocations: 87.95 kB / 0.8143 GB, free: 4.5 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/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);. Notification: Performance of FrontEnd - DAE generated: time 0.08633/0.6824, allocations: 37.14 MB / 0.8506 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6825, allocations: 0 / 0.8506 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.802e-05/0.6825, allocations: 19.94 kB / 0.8506 GB, free: 14.99 MB / 0.5573 GB 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.001512/0.684, allocations: 0.9071 MB / 0.8515 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6841, allocations: 8.031 kB / 0.8515 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.6872, allocations: 0.6271 MB / 0.8521 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6883, allocations: 0.5895 MB / 0.8527 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.6884, allocations: 37.31 kB / 0.8527 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.6885, allocations: 47.98 kB / 0.8528 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.6898, allocations: 0.8736 MB / 0.8536 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.6898, allocations: 0 / 0.8536 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.6899, allocations: 26.06 kB / 0.8537 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/0.69, allocations: 33.3 kB / 0.8537 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.691, allocations: 0.7391 MB / 0.8544 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003746/0.6948, allocations: 2.791 MB / 0.8571 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.6956, allocations: 393.7 kB / 0.8575 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.6959, allocations: 177.3 kB / 0.8577 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.6959, allocations: 7.984 kB / 0.8577 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6959, allocations: 42.56 kB / 0.8577 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.6959, allocations: 0 / 0.8577 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43): time 0.004584/0.7005, allocations: 1.597 MB / 0.8593 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.7006, allocations: 132.5 kB / 0.8594 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.7013, allocations: 0.4994 MB / 0.8599 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.7014, allocations: 29.7 kB / 0.8599 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.7016, allocations: 356.2 kB / 0.8603 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.7018, allocations: 145.9 kB / 0.8604 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.7018, allocations: 8 kB / 0.8604 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.702, allocations: 378.7 kB / 0.8608 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.7023, allocations: 185.1 kB / 0.861 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.7027, allocations: 316.5 kB / 0.8613 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.7031, allocations: 229.5 kB / 0.8615 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7031, allocations: 3.938 kB / 0.8615 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001442/0.7045, allocations: 0.7838 MB / 0.8622 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004783/0.705, allocations: 1.225 MB / 0.8634 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.705, allocations: 4 kB / 0.8634 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009017/0.7059, allocations: 244.9 kB / 0.8637 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.7065, allocations: 135.8 kB / 0.8638 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.7106, allocations: 5.897 MB / 0.8696 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.7113, allocations: 55.89 kB / 0.8696 GB, free: 10.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.7113, allocations: 23.94 kB / 0.8696 GB, free: 10.47 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.7113, allocations: 4 kB / 0.8696 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001415/0.7127, allocations: 0.9016 MB / 0.8705 GB, free: 9.492 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.7128, allocations: 0 / 0.8705 GB, free: 9.492 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.7134, allocations: 213.3 kB / 0.8707 GB, free: 9.266 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.714, allocations: 123.8 kB / 0.8708 GB, free: 9.145 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.7195, allocations: 8.122 MB / 0.8788 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.7201, allocations: 55.98 kB / 0.8788 GB, free: 172 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.7202, allocations: 16 kB / 0.8788 GB, free: 156 kB / 0.573 GB 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 () * 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.0001865/0.7204, allocations: 140.9 kB / 0.879 GB, free: 8 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3455/1.066, allocations: 66.2 kB / 0.879 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/1.066, allocations: 77.03 kB / 0.8791 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.066, allocations: 7.875 kB / 0.8791 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.066, allocations: 2.344 kB / 0.8791 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.066, allocations: 2.156 kB / 0.8791 GB, free: 139.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.068, allocations: 0.6471 MB / 0.8798 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.068, allocations: 0.8125 kB / 0.8798 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/1.068, allocations: 98.52 kB / 0.8799 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008442/1.069, allocations: 251.1 kB / 0.8801 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/1.069, allocations: 6.406 kB / 0.8801 GB, free: 139.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/1.073, allocations: 8.358 MB / 0.8883 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.073, allocations: 2.75 kB / 0.8883 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.075, allocations: 0.781 MB / 0.889 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/1.075, allocations: 189.8 kB / 0.8892 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/1.075, allocations: 6.562 kB / 0.8892 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/1.076, allocations: 49.02 kB / 0.8893 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.076, allocations: 43.34 kB / 0.8893 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/1.076, allocations: 16.67 kB / 0.8893 GB, free: 132 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004792/1.076, allocations: 389 kB / 0.8897 GB, free: 131.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.076, allocations: 0 / 0.8897 GB, free: 131.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001099/1.077, allocations: 290.6 kB / 0.89 GB, free: 131.9 MB / 0.573 GB 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 () * 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.0002165/1.078, allocations: 128.9 kB / 0.8901 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002036/1.08, allocations: 1.833 MB / 0.8919 GB, free: 130.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.08, allocations: 0 / 0.8919 GB, free: 130.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007543/1.08, allocations: 0.94 MB / 0.8928 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/1.081, allocations: 205 kB / 0.893 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/1.083, allocations: 0.9163 MB / 0.8939 GB, free: 129.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/1.083, allocations: 0.9936 MB / 0.8949 GB, free: 129.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006485/1.084, allocations: 187.3 kB / 0.895 GB, free: 129.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.084, allocations: 37.59 kB / 0.8951 GB, free: 129.1 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/1.084, allocations: 0 / 0.8951 GB, free: 129.1 MB / 0.573 GB Notification: Performance of Templates: time 0.02342/1.107, allocations: 13.19 MB / 0.908 GB, free: 128.7 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (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)