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.8105/0.8105, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001112/0.001112, allocations: 168.8 kB / 171.8 MB, free: 2.023 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.84/1.84, allocations: 170.6 MB / 374.2 MB, free: 17.76 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.001747/0.001747, allocations: 108.6 kB / 444.8 MB, free: 14.86 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.1915/0.1915, allocations: 73.42 MB / 0.6666 GB, free: 14.35 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6049/0.7965, allocations: 143.3 MB / 0.8066 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.7968, allocations: 86.7 kB / 0.8067 GB, free: 6.043 MB / 0.4948 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.09479/0.8917, allocations: 36.9 MB / 0.8427 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8917, allocations: 0 / 0.8427 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.407e-05/0.8918, allocations: 19.94 kB / 0.8427 GB, free: 7.742 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00246/0.8943, allocations: 0.9082 MB / 0.8436 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8943, allocations: 12.03 kB / 0.8436 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.8982, allocations: 0.6138 MB / 0.8442 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.8998, allocations: 0.5937 MB / 0.8448 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.8999, allocations: 19.94 kB / 0.8448 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.9, allocations: 32 kB / 0.8449 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001545/0.9016, allocations: 0.6846 MB / 0.8455 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.9033, allocations: 0.7938 MB / 0.8463 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.9033, allocations: 4 kB / 0.8463 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.9034, allocations: 0 / 0.8463 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.465e-05/0.9035, allocations: 45.23 kB / 0.8464 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/0.9083, allocations: 2.645 MB / 0.8489 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.9091, allocations: 375.3 kB / 0.8493 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.9094, allocations: 165.3 kB / 0.8495 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.9094, allocations: 11.97 kB / 0.8495 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.9095, allocations: 42.55 kB / 0.8495 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.9095, allocations: 3.938 kB / 0.8495 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.002806/0.9123, allocations: 1.118 MB / 0.8506 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.9124, allocations: 144.5 kB / 0.8507 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.913, allocations: 390.1 kB / 0.8511 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.913, allocations: 33.7 kB / 0.8511 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.9133, allocations: 359.7 kB / 0.8515 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.9135, allocations: 141.8 kB / 0.8516 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.9135, allocations: 0 / 0.8516 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.9137, allocations: 366.8 kB / 0.852 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.914, allocations: 177.1 kB / 0.8521 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.9144, allocations: 303.4 kB / 0.8524 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.9147, allocations: 217.4 kB / 0.8526 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9147, allocations: 8 kB / 0.8526 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00146/0.9162, allocations: 0.725 MB / 0.8534 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005447/0.9168, allocations: 1.217 MB / 0.8545 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.9168, allocations: 7.953 kB / 0.8546 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009417/0.9177, allocations: 228.9 kB / 0.8548 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.9184, allocations: 127.8 kB / 0.8549 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/0.9229, allocations: 5.743 MB / 0.8605 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.9235, allocations: 48.08 kB / 0.8605 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.9236, allocations: 16 kB / 0.8606 GB, free: 5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.9236, allocations: 6.188 kB / 0.8606 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/0.925, allocations: 1.022 MB / 0.8616 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.9251, allocations: 7.984 kB / 0.8616 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.9254, allocations: 137.4 kB / 0.8617 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.926, allocations: 139.8 kB / 0.8618 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.9315, allocations: 7.506 MB / 0.8692 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.9322, allocations: 52.09 kB / 0.8692 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.9322, allocations: 16 kB / 0.8692 GB, free: 11.29 MB / 0.5573 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.0002182/0.9325, allocations: 128.7 kB / 0.8694 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9326, allocations: 59.25 kB / 0.8694 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.9328, allocations: 73.72 kB / 0.8695 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9328, allocations: 4 kB / 0.8695 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9328, allocations: 0 / 0.8695 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.9328, allocations: 3.984 kB / 0.8695 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/0.9337, allocations: 0.5679 MB / 0.87 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9337, allocations: 0 / 0.87 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.9342, allocations: 103.8 kB / 0.8701 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008245/0.9351, allocations: 236.9 kB / 0.8704 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.9351, allocations: 4 kB / 0.8704 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00636/0.9415, allocations: 8.006 MB / 0.8782 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.9415, allocations: 0 / 0.8782 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.943, allocations: 0.7415 MB / 0.8789 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.9433, allocations: 176.3 kB / 0.8791 GB, free: 400 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.9434, allocations: 4 kB / 0.8791 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.9439, allocations: 47.94 kB / 0.8791 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.9441, allocations: 35.95 kB / 0.8792 GB, free: 312 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.9441, allocations: 15.98 kB / 0.8792 GB, free: 296 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004072/0.9445, allocations: 299 kB / 0.8795 GB, free: 0 / 0.5573 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9445, allocations: 0 / 0.8795 GB, free: 0 / 0.5573 GB Notification: Performance of remove unused functions: time 0.001121/0.9456, allocations: 256 kB / 0.8797 GB, free: 15.75 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.000234/0.9459, allocations: 119.1 kB / 0.8798 GB, free: 15.62 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.9483, allocations: 1.714 MB / 0.8815 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9483, allocations: 3.938 kB / 0.8815 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.9493, allocations: 0.8813 MB / 0.8824 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.9502, allocations: 179 kB / 0.8825 GB, free: 12.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.9522, allocations: 0.8895 MB / 0.8834 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.9529, allocations: 0.998 MB / 0.8844 GB, free: 10.76 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007086/0.9536, allocations: 168.9 kB / 0.8845 GB, free: 10.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.9538, allocations: 35.42 kB / 0.8846 GB, free: 10.55 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/0.9538, allocations: 0 / 0.8846 GB, free: 10.55 MB / 0.573 GB Notification: Performance of Templates: time 0.01936/0.9731, allocations: 11.4 MB / 0.8957 GB, free: 15.24 MB / 0.5886 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)