Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 172.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008296/0.0008294, allocations: 89.23 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.945e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6687, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.8887, allocations: 180.7 MB / 1.15 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.889, allocations: 88.75 kB / 1.15 GB, free: 1.375 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.08446/0.9735, allocations: 36.55 MB / 1.185 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9735, allocations: 8 kB / 1.185 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.78e-05/0.9736, allocations: 24.06 kB / 1.185 GB, free: 12.53 MB / 0.7917 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.001893/0.9755, allocations: 0.8996 MB / 1.186 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.9755, allocations: 8.031 kB / 1.186 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.9789, allocations: 0.6271 MB / 1.187 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.9802, allocations: 0.5895 MB / 1.188 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.9802, allocations: 17.38 kB / 1.188 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.9803, allocations: 28 kB / 1.188 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001135/0.9815, allocations: 0.6898 MB / 1.188 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.9827, allocations: 0.7934 MB / 1.189 GB, free: 8.742 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.9827, allocations: 4 kB / 1.189 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.9828, allocations: 0 / 1.189 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.9829, allocations: 41.28 kB / 1.189 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.9869, allocations: 3.416 MB / 1.192 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.9876, allocations: 379.4 kB / 1.193 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.9878, allocations: 164.8 kB / 1.193 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.9879, allocations: 4 kB / 1.193 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.9879, allocations: 45.89 kB / 1.193 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.9879, allocations: 0 / 1.193 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.002467/0.9904, allocations: 1.127 MB / 1.194 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.9905, allocations: 132.5 kB / 1.194 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.9909, allocations: 386.2 kB / 1.195 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.9909, allocations: 25.7 kB / 1.195 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.9912, allocations: 371.7 kB / 1.195 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.9913, allocations: 145.9 kB / 1.195 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.9913, allocations: 0 / 1.195 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9915, allocations: 366.8 kB / 1.195 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.9917, allocations: 177.1 kB / 1.196 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.992, allocations: 303.3 kB / 1.196 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.9924, allocations: 225.4 kB / 1.196 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.9924, allocations: 3.953 kB / 1.196 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001387/0.9938, allocations: 0.7292 MB / 1.197 GB, free: 288 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.9942, allocations: 1.213 MB / 1.198 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9942, allocations: 8 kB / 1.198 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000884/0.9951, allocations: 229 kB / 1.198 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.9957, allocations: 135.6 kB / 1.198 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.9998, allocations: 5.73 MB / 1.204 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/1, allocations: 44.02 kB / 1.204 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/1, allocations: 27.94 kB / 1.204 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1, allocations: 4 kB / 1.204 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/1.002, allocations: 1.022 MB / 1.205 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.002, allocations: 2.188 kB / 1.205 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/1.002, allocations: 141.2 kB / 1.205 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/1.003, allocations: 135.8 kB / 1.205 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/1.007, allocations: 7.507 MB / 1.213 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/1.008, allocations: 46.89 kB / 1.213 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.008, allocations: 20 kB / 1.213 GB, free: 14.67 MB / 0.823 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.0001619/1.008, allocations: 120.8 kB / 1.213 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.008, allocations: 71.14 kB / 1.213 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/1.008, allocations: 69.66 kB / 1.213 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.008, allocations: 8 kB / 1.213 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.008, allocations: 0 / 1.213 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.008, allocations: 3.984 kB / 1.213 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/1.009, allocations: 0.5608 MB / 1.214 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.009, allocations: 0 / 1.214 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/1.01, allocations: 99.91 kB / 1.214 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/1.01, allocations: 240.8 kB / 1.214 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/1.011, allocations: 0 / 1.214 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005848/1.016, allocations: 8.008 MB / 1.222 GB, free: 4.758 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.016, allocations: 2.531 kB / 1.222 GB, free: 4.758 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/1.018, allocations: 0.7415 MB / 1.222 GB, free: 3.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/1.018, allocations: 176.4 kB / 1.223 GB, free: 3.789 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/1.018, allocations: 0 / 1.223 GB, free: 3.789 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/1.019, allocations: 43.95 kB / 1.223 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/1.019, allocations: 43.83 kB / 1.223 GB, free: 3.703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/1.019, allocations: 12 kB / 1.223 GB, free: 3.691 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003298/1.019, allocations: 299 kB / 1.223 GB, free: 3.402 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.11e-07/1.019, allocations: 0 / 1.223 GB, free: 3.402 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000996/1.02, allocations: 264 kB / 1.223 GB, free: 3.145 MB / 0.823 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.0002013/1.02, allocations: 119.2 kB / 1.223 GB, free: 3.016 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00217/1.022, allocations: 1.73 MB / 1.225 GB, free: 1.195 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.022, allocations: 4.125 kB / 1.225 GB, free: 1.191 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/1.023, allocations: 0.8696 MB / 1.226 GB, free: 268 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/1.024, allocations: 185 kB / 1.226 GB, free: 96 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/1.026, allocations: 0.8677 MB / 1.227 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/1.026, allocations: 0.9902 MB / 1.228 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000689/1.027, allocations: 166.3 kB / 1.228 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.027, allocations: 35.42 kB / 1.228 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.027, allocations: 0 / 1.228 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.02059/1.048, allocations: 11.45 MB / 1.239 GB, free: 2.73 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)