Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001315/0.001315, allocations: 176.8 kB / 361.4 MB, free: 6.82 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.405/1.405, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008122/0.0008124, allocations: 88.44 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.758e-05, allocations: 4 kB / 0.8517 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6549, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.8868, allocations: 189 MB / 1.149 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.8872, allocations: 84.47 kB / 1.149 GB, free: 14.62 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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.882/1.769, allocations: 148.1 MB / 1.294 GB, free: 193 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.254e-06/1.769, allocations: 4.375 kB / 1.294 GB, free: 193 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002791/1.77, allocations: 80.64 kB / 1.294 GB, free: 193 MB / 0.8542 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.01108/1.781, allocations: 3.688 MB / 1.297 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.781, allocations: 9.625 kB / 1.297 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/1.798, allocations: 3.217 MB / 1.301 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00771/1.806, allocations: 2.56 MB / 1.303 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/1.806, allocations: 383.9 kB / 1.303 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/1.807, allocations: 142.9 kB / 1.304 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007113/1.814, allocations: 3.452 MB / 1.307 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006713/1.821, allocations: 3.593 MB / 1.31 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/1.821, allocations: 1.094 kB / 1.31 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/1.822, allocations: 5.5 kB / 1.31 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/1.822, allocations: 149.7 kB / 1.311 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/1.841, allocations: 14.33 MB / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/1.846, allocations: 2.61 MB / 1.327 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/1.847, allocations: 1.062 MB / 1.328 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/1.848, allocations: 26.69 kB / 1.328 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/1.849, allocations: 1.374 MB / 1.329 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 4.819e-06/1.849, allocations: 1.969 kB / 1.329 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.02249/1.872, allocations: 8.495 MB / 1.338 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002438/1.872, allocations: 0.8943 MB / 1.339 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/1.875, allocations: 1.569 MB / 1.34 GB, free: 174 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000524/1.876, allocations: 32.64 kB / 1.34 GB, free: 174 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.877, allocations: 1.444 MB / 1.342 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009616/1.878, allocations: 0.7962 MB / 1.342 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004558/1.879, allocations: 0 / 1.342 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.879, allocations: 396.2 kB / 1.343 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/1.881, allocations: 1.361 MB / 1.344 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/1.883, allocations: 1.733 MB / 1.346 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/1.886, allocations: 1.428 MB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.886, allocations: 3.875 kB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0114/1.897, allocations: 5.083 MB / 1.352 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/1.897, allocations: 147.9 kB / 1.352 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.897, allocations: 3.469 kB / 1.352 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008771/1.906, allocations: 2.793 MB / 1.355 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005048/1.911, allocations: 0.574 MB / 1.356 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05246/1.963, allocations: 16.4 MB / 1.372 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/1.971, allocations: 377.6 kB / 1.372 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009832/1.972, allocations: 89.42 kB / 1.372 GB, free: 158.8 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001544/1.974, allocations: 165.9 kB / 1.372 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.976, allocations: 303.7 kB / 1.373 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/1.977, allocations: 329.4 kB / 1.373 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.977, allocations: 22.47 kB / 1.373 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-05/1.977, allocations: 11.31 kB / 1.373 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-05/1.977, allocations: 14.64 kB / 1.373 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005623/1.983, allocations: 3.266 MB / 1.376 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.983, allocations: 0 / 1.376 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/1.986, allocations: 0.5079 MB / 1.377 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009172/1.995, allocations: 2.767 MB / 1.379 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006084/1.995, allocations: 21.47 kB / 1.379 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/2.026, allocations: 16.4 MB / 1.395 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.026, allocations: 0 / 1.395 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/2.037, allocations: 4.897 MB / 1.4 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/2.04, allocations: 0.6733 MB / 1.401 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/2.041, allocations: 12 kB / 1.401 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005/2.046, allocations: 384 kB / 1.401 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001791/2.048, allocations: 365.1 kB / 1.401 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/2.048, allocations: 70.73 kB / 1.402 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003035/2.051, allocations: 1.164 MB / 1.403 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/2.051, allocations: 0 / 1.403 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006016/2.057, allocations: 0.9414 MB / 1.404 GB, free: 135.5 MB / 0.8542 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007267/2.058, allocations: 139 kB / 1.404 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02548/2.084, allocations: 5.195 MB / 1.409 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.084, allocations: 0 / 1.409 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02296/2.107, allocations: 3.343 MB / 1.412 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007202/2.114, allocations: 0.8756 MB / 1.413 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/2.129, allocations: 4.911 MB / 1.418 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/2.132, allocations: 2.296 MB / 1.42 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004506/2.136, allocations: 480.8 kB / 1.42 GB, free: 119 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/2.137, allocations: 167.3 kB / 1.421 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/2.137, allocations: 0 / 1.421 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.09986/2.237, allocations: 65.4 MB / 1.484 GB, free: 54.65 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)