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.658/1.658, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001073/0.001073, allocations: 181 kB / 371.8 MB, free: 10.3 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.883/1.883, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009617/0.0009615, allocations: 99.59 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004413, allocations: 15.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2726, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8138/1.086, allocations: 189.8 MB / 1.165 GB, free: 9.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/1.087, allocations: 96.56 kB / 1.165 GB, free: 9.633 MB / 0.698 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.4051/1.492, allocations: 149.6 MB / 1.311 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.492, allocations: 0 / 1.311 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004345/1.492, allocations: 87.86 kB / 1.311 GB, free: 13.42 MB / 0.8386 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.0139/1.506, allocations: 4.205 MB / 1.315 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.506, allocations: 12.03 kB / 1.315 GB, free: 9.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/1.524, allocations: 3.233 MB / 1.318 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008832/1.533, allocations: 2.576 MB / 1.321 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005388/1.533, allocations: 465.7 kB / 1.321 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/1.535, allocations: 232.7 kB / 1.321 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/1.549, allocations: 4.817 MB / 1.326 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.964e-05/1.549, allocations: 7.984 kB / 1.326 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003766/1.549, allocations: 99.98 kB / 1.326 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/1.549, allocations: 144.8 kB / 1.326 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/1.564, allocations: 5.296 MB / 1.332 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02676/1.591, allocations: 14.87 MB / 1.346 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/1.601, allocations: 3.619 MB / 1.35 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/1.601, allocations: 41.17 kB / 1.35 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004434/1.605, allocations: 1.913 MB / 1.352 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.827e-06/1.605, allocations: 0 / 1.352 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.1307/1.736, allocations: 34.33 MB / 1.385 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004654/1.737, allocations: 0.8983 MB / 1.386 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/1.74, allocations: 1.985 MB / 1.388 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005636/1.741, allocations: 77.7 kB / 1.388 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/1.742, allocations: 1.446 MB / 1.389 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.743, allocations: 0.8163 MB / 1.39 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.743, allocations: 44 kB / 1.39 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002065/1.743, allocations: 394.7 kB / 1.391 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005303/1.749, allocations: 2.116 MB / 1.393 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/1.755, allocations: 2.499 MB / 1.395 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/1.76, allocations: 2.305 MB / 1.397 GB, free: 2.652 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/1.761, allocations: 4 kB / 1.397 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01966/1.78, allocations: 6.907 MB / 1.404 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.78, allocations: 148.8 kB / 1.404 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.78, allocations: 15.94 kB / 1.404 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.791, allocations: 2.958 MB / 1.407 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/1.794, allocations: 0.5696 MB / 1.408 GB, free: 7.922 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03879/1.833, allocations: 18.15 MB / 1.425 GB, free: 5.539 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/1.838, allocations: 427.4 kB / 1.426 GB, free: 5.121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/1.838, allocations: 91.97 kB / 1.426 GB, free: 5.031 MB / 0.948 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 (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.001836/1.84, allocations: 0.7031 MB / 1.427 GB, free: 4.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007149/1.841, allocations: 344 kB / 1.427 GB, free: 3.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008474/1.841, allocations: 376.1 kB / 1.427 GB, free: 3.605 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.841, allocations: 31.95 kB / 1.427 GB, free: 3.574 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-05/1.842, allocations: 8 kB / 1.427 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.842, allocations: 19.95 kB / 1.427 GB, free: 3.547 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4265/2.268, allocations: 3.636 MB / 1.431 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/2.268, allocations: 0.5625 kB / 1.431 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/2.271, allocations: 0.5025 MB / 1.431 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/2.282, allocations: 2.868 MB / 1.434 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005684/2.282, allocations: 53 kB / 1.434 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0399/2.322, allocations: 17.98 MB / 1.452 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/2.322, allocations: 0.5625 kB / 1.452 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/2.341, allocations: 6.551 MB / 1.458 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/2.343, allocations: 0.707 MB / 1.459 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007786/2.344, allocations: 46.17 kB / 1.459 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/2.347, allocations: 423.2 kB / 1.459 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/2.349, allocations: 363.6 kB / 1.46 GB, free: 249.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/2.349, allocations: 69.92 kB / 1.46 GB, free: 249.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002471/2.352, allocations: 1.52 MB / 1.461 GB, free: 249.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/2.352, allocations: 3.344 kB / 1.461 GB, free: 249.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004559/2.356, allocations: 1.067 MB / 1.462 GB, free: 249.3 MB / 0.948 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 (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.0005904/2.357, allocations: 185.8 kB / 1.462 GB, free: 249.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02296/2.38, allocations: 6.829 MB / 1.469 GB, free: 248.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/2.38, allocations: 2.938 kB / 1.469 GB, free: 248.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/2.397, allocations: 4.215 MB / 1.473 GB, free: 248.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/2.402, allocations: 1.016 MB / 1.474 GB, free: 248 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/2.417, allocations: 7.745 MB / 1.482 GB, free: 245.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/2.418, allocations: 2.3 MB / 1.484 GB, free: 244.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0027/2.421, allocations: 0.5162 MB / 1.485 GB, free: 244.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/2.422, allocations: 175.5 kB / 1.485 GB, free: 244.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/2.422, allocations: 0 / 1.485 GB, free: 244.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1025/2.524, allocations: 71.27 MB / 1.554 GB, free: 236.8 MB / 0.948 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)