Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 251.9 MB / 266.9 MB, free: 11 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.001047/0.001047, allocations: 178.7 kB / 326.5 MB, free: 2.254 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/2, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001006/0.001006, allocations: 85.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8.656 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.9335, allocations: 174.1 MB / 1.07 GB, free: 65.48 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.9339, allocations: 91.34 kB / 1.07 GB, free: 65.48 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.09056/1.025, allocations: 36.97 MB / 1.106 GB, free: 60.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.025, allocations: 3.938 kB / 1.106 GB, free: 60.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001048/1.025, allocations: 21.78 kB / 1.106 GB, free: 60.51 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.003146/1.028, allocations: 0.9999 MB / 1.107 GB, free: 59.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.028, allocations: 9.719 kB / 1.107 GB, free: 59.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/1.032, allocations: 0.6261 MB / 1.108 GB, free: 59.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/1.034, allocations: 0.5867 MB / 1.109 GB, free: 59.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/1.034, allocations: 41.48 kB / 1.109 GB, free: 59.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/1.034, allocations: 47.38 kB / 1.109 GB, free: 59.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/1.037, allocations: 1.01 MB / 1.11 GB, free: 59.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.037, allocations: 4 kB / 1.11 GB, free: 59.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/1.037, allocations: 27.8 kB / 1.11 GB, free: 59.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.761e-05/1.037, allocations: 39.3 kB / 1.11 GB, free: 59.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/1.041, allocations: 1.011 MB / 1.111 GB, free: 59.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00556/1.046, allocations: 3.548 MB / 1.114 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/1.048, allocations: 0.5164 MB / 1.115 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/1.048, allocations: 3.812 kB / 1.115 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.048, allocations: 41.69 kB / 1.115 GB, free: 56.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.437e-06/1.048, allocations: 3.938 kB / 1.115 GB, free: 56.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.006754/1.054, allocations: 2.276 MB / 1.117 GB, free: 56.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.055, allocations: 136.4 kB / 1.117 GB, free: 56.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.056, allocations: 0.5071 MB / 1.118 GB, free: 56.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/1.056, allocations: 29.27 kB / 1.118 GB, free: 56.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.056, allocations: 354.6 kB / 1.118 GB, free: 55.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/1.056, allocations: 151.4 kB / 1.118 GB, free: 55.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.056, allocations: 10.78 kB / 1.118 GB, free: 55.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.056, allocations: 375.1 kB / 1.118 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/1.057, allocations: 272.3 kB / 1.119 GB, free: 55.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/1.058, allocations: 399.4 kB / 1.119 GB, free: 55.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/1.058, allocations: 317.1 kB / 1.119 GB, free: 55.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.058, allocations: 3.938 kB / 1.119 GB, free: 55.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002232/1.061, allocations: 0.9566 MB / 1.12 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003957/1.061, allocations: 1.222 MB / 1.121 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.061, allocations: 3.906 kB / 1.121 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009987/1.062, allocations: 252.4 kB / 1.122 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/1.063, allocations: 123.4 kB / 1.122 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/1.066, allocations: 5.984 MB / 1.128 GB, free: 48.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/1.067, allocations: 54.8 kB / 1.128 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/1.067, allocations: 23.02 kB / 1.128 GB, free: 48.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.067, allocations: 6.406 kB / 1.128 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/1.069, allocations: 1.075 MB / 1.129 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.07, allocations: 7.859 kB / 1.129 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/1.07, allocations: 211.7 kB / 1.129 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/1.071, allocations: 129.5 kB / 1.129 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/1.075, allocations: 8.211 MB / 1.137 GB, free: 39.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.076, allocations: 54.19 kB / 1.137 GB, free: 39.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/1.076, allocations: 23.44 kB / 1.137 GB, free: 39.68 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.0005611/1.077, allocations: 308.6 kB / 1.138 GB, free: 39.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/1.077, allocations: 70.28 kB / 1.138 GB, free: 39.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/1.077, allocations: 84.14 kB / 1.138 GB, free: 39.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.077, allocations: 3.906 kB / 1.138 GB, free: 39.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/1.077, allocations: 0 / 1.138 GB, free: 39.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.077, allocations: 4 kB / 1.138 GB, free: 39.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.078, allocations: 0.6465 MB / 1.138 GB, free: 39.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.078, allocations: 0 / 1.138 GB, free: 39.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/1.079, allocations: 100.7 kB / 1.138 GB, free: 39.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/1.08, allocations: 246.5 kB / 1.139 GB, free: 38.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/1.08, allocations: 8.281 kB / 1.139 GB, free: 38.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/1.085, allocations: 8.482 MB / 1.147 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.085, allocations: 0 / 1.147 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/1.087, allocations: 0.9497 MB / 1.148 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/1.087, allocations: 186 kB / 1.148 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.087, allocations: 15.22 kB / 1.148 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/1.088, allocations: 47.23 kB / 1.148 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.088, allocations: 47.23 kB / 1.148 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/1.088, allocations: 15.61 kB / 1.148 GB, free: 30.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005912/1.089, allocations: 399.2 kB / 1.149 GB, free: 30.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.089, allocations: 0 / 1.149 GB, free: 30.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001486/1.09, allocations: 298.8 kB / 1.149 GB, free: 30.23 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.0002336/1.09, allocations: 130.3 kB / 1.149 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003343/1.094, allocations: 2.083 MB / 1.151 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.094, allocations: 0 / 1.151 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.095, allocations: 1.025 MB / 1.152 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/1.096, allocations: 212.9 kB / 1.152 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/1.099, allocations: 1.508 MB / 1.154 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/1.099, allocations: 0.988 MB / 1.155 GB, free: 26.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007465/1.1, allocations: 151.1 kB / 1.155 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.1, allocations: 46.48 kB / 1.155 GB, free: 26.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.783e-06/1.1, allocations: 0 / 1.155 GB, free: 26.23 MB / 0.698 GB Notification: Performance of Templates: time 0.02023/1.121, allocations: 12.39 MB / 1.167 GB, free: 20.23 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)