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.8246/0.8246, allocations: 132.4 MB / 139.9 MB, free: 2.832 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001054/0.001054, allocations: 168.2 kB / 171.8 MB, free: 4.918 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.8/1.8, allocations: 170.6 MB / 374.2 MB, free: 180 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001615/0.001615, allocations: 117.5 kB / 444.8 MB, free: 14.17 MB / 314.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.1416/0.1416, allocations: 73.42 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6306/0.7723, allocations: 143.3 MB / 0.8066 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/0.7728, allocations: 87.94 kB / 0.8067 GB, free: 4.16 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.09686/0.8696, allocations: 36.9 MB / 0.8427 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8697, allocations: 0 / 0.8427 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.168e-05/0.8698, allocations: 15.94 kB / 0.8427 GB, free: 14.75 MB / 0.5417 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.0025/0.8723, allocations: 0.9081 MB / 0.8436 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.8723, allocations: 12.03 kB / 0.8436 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.876, allocations: 0.624 MB / 0.8442 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.8777, allocations: 0.5894 MB / 0.8448 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.8778, allocations: 16 kB / 0.8448 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.8779, allocations: 32 kB / 0.8449 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/0.8794, allocations: 0.6859 MB / 0.8455 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.8809, allocations: 0.7896 MB / 0.8463 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.881, allocations: 3.938 kB / 0.8463 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.8811, allocations: 0 / 0.8463 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.517e-05/0.8811, allocations: 41.3 kB / 0.8463 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00497/0.8861, allocations: 2.655 MB / 0.8489 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.8871, allocations: 383.3 kB / 0.8493 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.8874, allocations: 165.3 kB / 0.8495 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.8874, allocations: 4 kB / 0.8495 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.8875, allocations: 38.55 kB / 0.8495 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 2.915e-06/0.8875, allocations: 4 kB / 0.8495 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.003087/0.8906, allocations: 1.122 MB / 0.8506 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.8907, allocations: 136.5 kB / 0.8507 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.8914, allocations: 398.1 kB / 0.8511 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.8915, allocations: 29.69 kB / 0.8511 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.8918, allocations: 363.7 kB / 0.8515 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.892, allocations: 134 kB / 0.8516 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.892, allocations: 0 / 0.8516 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.8922, allocations: 370.8 kB / 0.852 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.8925, allocations: 173.1 kB / 0.8521 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.8929, allocations: 315.3 kB / 0.8524 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.8933, allocations: 213.5 kB / 0.8526 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8933, allocations: 4 kB / 0.8526 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001663/0.895, allocations: 0.725 MB / 0.8534 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007774/0.8958, allocations: 1.226 MB / 0.8546 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.8958, allocations: 7.938 kB / 0.8546 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.8968, allocations: 225 kB / 0.8548 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.8975, allocations: 131.8 kB / 0.8549 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.9032, allocations: 5.743 MB / 0.8605 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/0.904, allocations: 48.02 kB / 0.8606 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/0.9041, allocations: 19.98 kB / 0.8606 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9041, allocations: 4 kB / 0.8606 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001733/0.9059, allocations: 1.03 MB / 0.8616 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9059, allocations: 4 kB / 0.8616 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.9063, allocations: 133.4 kB / 0.8617 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.907, allocations: 143.8 kB / 0.8618 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006851/0.9139, allocations: 7.514 MB / 0.8692 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.9148, allocations: 48 kB / 0.8692 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.9149, allocations: 20 kB / 0.8693 GB, free: 1.793 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.0003096/0.9152, allocations: 116.8 kB / 0.8694 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.9155, allocations: 63.25 kB / 0.8694 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.9158, allocations: 65.72 kB / 0.8695 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.9158, allocations: 8 kB / 0.8695 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.9158, allocations: 0 / 0.8695 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9158, allocations: 7.953 kB / 0.8695 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.917, allocations: 0.564 MB / 0.8701 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.9171, allocations: 0 / 0.8701 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.9176, allocations: 99.84 kB / 0.8701 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/0.9185, allocations: 237 kB / 0.8704 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.9186, allocations: 0 / 0.8704 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007724/0.9263, allocations: 8.013 MB / 0.8782 GB, free: 7.871 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.9263, allocations: 0 / 0.8782 GB, free: 7.871 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.9281, allocations: 0.7379 MB / 0.8789 GB, free: 7.098 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.9286, allocations: 180.3 kB / 0.8791 GB, free: 6.902 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.9287, allocations: 3.984 kB / 0.8791 GB, free: 6.898 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.9293, allocations: 43.95 kB / 0.8791 GB, free: 6.855 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.9294, allocations: 35.94 kB / 0.8792 GB, free: 6.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.9295, allocations: 12 kB / 0.8792 GB, free: 6.809 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000454/0.9299, allocations: 303 kB / 0.8795 GB, free: 6.516 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9299, allocations: 0 / 0.8795 GB, free: 6.516 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001473/0.9314, allocations: 260 kB / 0.8797 GB, free: 6.262 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.0002669/0.9317, allocations: 112.1 kB / 0.8798 GB, free: 6.145 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002747/0.9344, allocations: 1.726 MB / 0.8815 GB, free: 4.328 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9345, allocations: 0 / 0.8815 GB, free: 4.328 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.9355, allocations: 0.8774 MB / 0.8824 GB, free: 3.391 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.9365, allocations: 185.8 kB / 0.8825 GB, free: 3.211 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.9387, allocations: 0.8895 MB / 0.8834 GB, free: 2.293 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.9394, allocations: 0.9941 MB / 0.8844 GB, free: 1.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000779/0.9402, allocations: 164.9 kB / 0.8845 GB, free: 1.105 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.9403, allocations: 39.36 kB / 0.8846 GB, free: 1.066 MB / 0.573 GB Notification: Performance of SimCode: time 1.022e-06/0.9403, allocations: 0 / 0.8846 GB, free: 1.066 MB / 0.573 GB Notification: Performance of Templates: time 0.02329/0.9636, allocations: 11.4 MB / 0.8957 GB, free: 5.758 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)