Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.219/2.219, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 185.9 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.4/2.4, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009316, allocations: 97.84 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.000518, allocations: 10.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 106.2 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9342/1.164, allocations: 174 MB / 1.069 GB, free: 66.64 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/1.164, allocations: 93.73 kB / 1.069 GB, free: 66.64 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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.1405/1.305, allocations: 36.92 MB / 1.105 GB, free: 61.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/1.305, allocations: 4 kB / 1.105 GB, free: 61.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.61e-05/1.305, allocations: 19.72 kB / 1.106 GB, free: 61.68 MB / 0.698 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.002555/1.307, allocations: 0.9986 MB / 1.106 GB, free: 61.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.308, allocations: 11.72 kB / 1.106 GB, free: 61.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/1.313, allocations: 0.6237 MB / 1.107 GB, free: 60.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/1.315, allocations: 0.589 MB / 1.108 GB, free: 60.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/1.315, allocations: 43.64 kB / 1.108 GB, free: 60.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.315, allocations: 49.5 kB / 1.108 GB, free: 60.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/1.319, allocations: 1.009 MB / 1.109 GB, free: 60.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.319, allocations: 4.125 kB / 1.109 GB, free: 60.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/1.319, allocations: 33.89 kB / 1.109 GB, free: 60.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/1.319, allocations: 37.69 kB / 1.109 GB, free: 60.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/1.323, allocations: 1.013 MB / 1.11 GB, free: 60.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006965/1.33, allocations: 3.541 MB / 1.113 GB, free: 58.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/1.333, allocations: 0.513 MB / 1.114 GB, free: 58.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/1.334, allocations: 245.1 kB / 1.114 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/1.335, allocations: 7.453 kB / 1.114 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.335, allocations: 40.53 kB / 1.114 GB, free: 58.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.246e-06/1.335, allocations: 0.6562 kB / 1.114 GB, free: 58.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.01296/1.348, allocations: 2.306 MB / 1.116 GB, free: 57.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.348, allocations: 140.3 kB / 1.116 GB, free: 57.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/1.349, allocations: 0.5692 MB / 1.117 GB, free: 57.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/1.349, allocations: 36.52 kB / 1.117 GB, free: 57.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/1.349, allocations: 357 kB / 1.117 GB, free: 57.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/1.349, allocations: 149.5 kB / 1.118 GB, free: 57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/1.349, allocations: 10.97 kB / 1.118 GB, free: 57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.349, allocations: 371.2 kB / 1.118 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/1.351, allocations: 285.1 kB / 1.118 GB, free: 56.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.352, allocations: 398.9 kB / 1.119 GB, free: 56.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.353, allocations: 309.6 kB / 1.119 GB, free: 56.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.353, allocations: 3.938 kB / 1.119 GB, free: 56.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004133/1.357, allocations: 0.9715 MB / 1.12 GB, free: 56.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.357, allocations: 181.5 kB / 1.12 GB, free: 56.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.357, allocations: 3.906 kB / 1.12 GB, free: 56.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/1.359, allocations: 273.1 kB / 1.12 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.361, allocations: 130.9 kB / 1.12 GB, free: 56.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008198/1.369, allocations: 8.463 MB / 1.129 GB, free: 48.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.37, allocations: 58.2 kB / 1.129 GB, free: 48.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/1.37, allocations: 19.38 kB / 1.129 GB, free: 48.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/1.37, allocations: 3.844 kB / 1.129 GB, free: 48.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003833/1.374, allocations: 1.083 MB / 1.13 GB, free: 47.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.374, allocations: 7.953 kB / 1.13 GB, free: 47.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/1.375, allocations: 218.3 kB / 1.13 GB, free: 47.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.376, allocations: 137.6 kB / 1.13 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/1.383, allocations: 8.153 MB / 1.138 GB, free: 39.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.384, allocations: 58.16 kB / 1.138 GB, free: 39.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/1.384, allocations: 16.5 kB / 1.138 GB, free: 39.74 MB / 0.698 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 () * 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.000596/1.385, allocations: 314.5 kB / 1.138 GB, free: 39.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.385, allocations: 70.25 kB / 1.138 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/1.385, allocations: 80.61 kB / 1.139 GB, free: 39.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.385, allocations: 7.812 kB / 1.139 GB, free: 39.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.385, allocations: 3.953 kB / 1.139 GB, free: 39.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.385, allocations: 7.984 kB / 1.139 GB, free: 39.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.386, allocations: 0.6418 MB / 1.139 GB, free: 39.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.386, allocations: 7.844 kB / 1.139 GB, free: 39.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009227/1.387, allocations: 93.94 kB / 1.139 GB, free: 39.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/1.389, allocations: 263.3 kB / 1.14 GB, free: 38.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/1.389, allocations: 6.75 kB / 1.14 GB, free: 38.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00716/1.396, allocations: 8.4 MB / 1.148 GB, free: 31.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.396, allocations: 3.938 kB / 1.148 GB, free: 31.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/1.4, allocations: 0.9548 MB / 1.149 GB, free: 30.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/1.4, allocations: 182.6 kB / 1.149 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.4, allocations: 11.28 kB / 1.149 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/1.401, allocations: 55.05 kB / 1.149 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.402, allocations: 39.47 kB / 1.149 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/1.402, allocations: 11.75 kB / 1.149 GB, free: 30.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000649/1.402, allocations: 403.2 kB / 1.149 GB, free: 30.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.402, allocations: 0 / 1.149 GB, free: 30.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001471/1.404, allocations: 309.2 kB / 1.15 GB, free: 30.3 MB / 0.698 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 () * 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.0002328/1.404, allocations: 136.4 kB / 1.15 GB, free: 30.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005566/1.41, allocations: 2.409 MB / 1.152 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.41, allocations: 7.891 kB / 1.152 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/1.412, allocations: 1.023 MB / 1.153 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.414, allocations: 212.6 kB / 1.153 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/1.417, allocations: 1.516 MB / 1.155 GB, free: 26.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/1.418, allocations: 0.9827 MB / 1.156 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001082/1.419, allocations: 155.6 kB / 1.156 GB, free: 25.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/1.419, allocations: 42.66 kB / 1.156 GB, free: 25.96 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.419, allocations: 0 / 1.156 GB, free: 25.96 MB / 0.698 GB Notification: Performance of Templates: time 0.03259/1.452, allocations: 12.87 MB / 1.169 GB, free: 19.72 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)