Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.588/1.588, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009631/0.0009632, allocations: 180.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007927/0.0007927, allocations: 100.8 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003988, allocations: 12 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5785, allocations: 120.3 MB / 1.026 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.7868, allocations: 193.3 MB / 1.215 GB, free: 384 kB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.7871, allocations: 89.28 kB / 1.215 GB, free: 296 kB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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.3695/1.157, allocations: 157.9 MB / 1.369 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.924e-06/1.157, allocations: 0 / 1.369 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000228/1.157, allocations: 83.98 kB / 1.369 GB, free: 0.9258 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.4098/1.567, allocations: 3.904 MB / 1.373 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.567, allocations: 10.69 kB / 1.373 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/1.582, allocations: 3.222 MB / 1.376 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/1.587, allocations: 2.414 MB / 1.379 GB, free: 152 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/1.587, allocations: 182.7 kB / 1.379 GB, free: 152 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/1.588, allocations: 233.8 kB / 1.379 GB, free: 152 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009306/1.597, allocations: 4.705 MB / 1.384 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/1.597, allocations: 1.844 kB / 1.384 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/1.598, allocations: 112.2 kB / 1.384 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/1.598, allocations: 144 kB / 1.384 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/1.609, allocations: 5.222 MB / 1.389 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/1.629, allocations: 14.38 MB / 1.403 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009547/1.639, allocations: 3.799 MB / 1.407 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003627/1.643, allocations: 1.505 MB / 1.408 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/1.643, allocations: 33.14 kB / 1.408 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004344/1.647, allocations: 1.824 MB / 1.41 GB, free: 144 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 4.378e-06/1.647, allocations: 0.9844 kB / 1.41 GB, free: 144 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.1088/1.756, allocations: 33.63 MB / 1.443 GB, free: 141 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/1.756, allocations: 0.8946 MB / 1.444 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/1.759, allocations: 2.287 MB / 1.446 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003618/1.759, allocations: 82.12 kB / 1.446 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009204/1.76, allocations: 1.434 MB / 1.448 GB, free: 139.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/1.761, allocations: 0.8216 MB / 1.448 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.761, allocations: 48.44 kB / 1.448 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/1.761, allocations: 397.4 kB / 1.449 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004032/1.765, allocations: 1.92 MB / 1.451 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004468/1.77, allocations: 2.323 MB / 1.453 GB, free: 138 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008554/1.778, allocations: 4.214 MB / 1.457 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.778, allocations: 2.344 kB / 1.457 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0153/1.793, allocations: 6.176 MB / 1.463 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/1.794, allocations: 404.7 kB / 1.463 GB, free: 136.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.794, allocations: 5.469 kB / 1.463 GB, free: 136.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006079/1.8, allocations: 1.849 MB / 1.465 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.803, allocations: 0.5963 MB / 1.466 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/1.826, allocations: 14.15 MB / 1.48 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/1.83, allocations: 420.7 kB / 1.48 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/1.831, allocations: 92.39 kB / 1.48 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.831, allocations: 4.875 kB / 1.48 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01436/1.845, allocations: 5.771 MB / 1.486 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.845, allocations: 5.625 kB / 1.486 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004946/1.85, allocations: 1.823 MB / 1.488 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.853, allocations: 0.6142 MB / 1.488 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/1.871, allocations: 13.43 MB / 1.501 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/1.875, allocations: 406.5 kB / 1.502 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/1.875, allocations: 90.14 kB / 1.502 GB, free: 125.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001608/1.876, allocations: 0.7951 MB / 1.503 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/1.877, allocations: 329.8 kB / 1.503 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/1.878, allocations: 393.3 kB / 1.503 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.878, allocations: 30.84 kB / 1.503 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/1.878, allocations: 7.531 kB / 1.503 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/1.878, allocations: 11.77 kB / 1.503 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/1.881, allocations: 3.193 MB / 1.506 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.881, allocations: 0 / 1.506 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.884, allocations: 0.5164 MB / 1.507 GB, free: 123 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005136/1.889, allocations: 1.724 MB / 1.509 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/1.889, allocations: 52.28 kB / 1.509 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/1.906, allocations: 13.93 MB / 1.522 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.906, allocations: 0 / 1.522 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.919, allocations: 5.803 MB / 1.528 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.92, allocations: 0.6704 MB / 1.529 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/1.92, allocations: 47.12 kB / 1.529 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.923, allocations: 408.7 kB / 1.529 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007796/1.924, allocations: 310.2 kB / 1.529 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.924, allocations: 69.11 kB / 1.529 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00181/1.926, allocations: 1.522 MB / 1.531 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.11e-07/1.926, allocations: 0.75 kB / 1.531 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003565/1.929, allocations: 1.656 MB / 1.532 GB, free: 112 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003333/1.93, allocations: 181.4 kB / 1.533 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01855/1.948, allocations: 10.1 MB / 1.543 GB, free: 108 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.948, allocations: 3.938 kB / 1.543 GB, free: 108 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006954/1.955, allocations: 3.494 MB / 1.546 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.96, allocations: 1.029 MB / 1.547 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.972, allocations: 7.576 MB / 1.554 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/1.973, allocations: 2.307 MB / 1.557 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003192/1.977, allocations: 0.6414 MB / 1.557 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/1.977, allocations: 183.2 kB / 1.557 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of SimCode: time 6.31e-07/1.977, allocations: 0 / 1.557 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.09911/2.076, allocations: 76.26 MB / 1.632 GB, free: 60.02 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)