Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 116.5 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 185.7 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 72.12 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2132, allocations: 114.6 MB / 0.7848 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.3853/0.5986, allocations: 22.43 MB / 0.8067 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02585/0.6244, allocations: 17.74 MB / 0.824 GB, free: 24.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004687/0.6292, allocations: 114.6 kB / 0.8241 GB, free: 24.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.6402, allocations: 4.164 MB / 0.8282 GB, free: 22.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0148/0.655, allocations: 3.506 MB / 0.8316 GB, free: 20.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005236/0.6603, allocations: 1.316 MB / 0.8329 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.6718, allocations: 5.79 MB / 0.8386 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008646/0.6805, allocations: 3.603 MB / 0.8421 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006966/0.6875, allocations: 2.412 MB / 0.8444 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007342/0.6949, allocations: 2.442 MB / 0.8468 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002992/0.698, allocations: 369.5 kB / 0.8472 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.7037, allocations: 1.034 MB / 0.8482 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.7073, allocations: 1.193 MB / 0.8493 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008048/0.7154, allocations: 1.996 MB / 0.8513 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.727, allocations: 5.182 MB / 0.8563 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.727, allocations: 0 / 0.8563 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.727, allocations: 0 / 0.8563 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002549/0.7273, allocations: 1.344 kB / 0.8564 GB, free: 8.254 MB / 0.6544 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.01624/0.7435, allocations: 4.614 MB / 0.8609 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7436, allocations: 10.16 kB / 0.8609 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/0.761, allocations: 3.263 MB / 0.8641 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005575/0.7666, allocations: 2.227 MB / 0.8662 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.7671, allocations: 471.5 kB / 0.8667 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008765/0.768, allocations: 235.9 kB / 0.8669 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.7812, allocations: 4.809 MB / 0.8716 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.7813, allocations: 5.125 kB / 0.8716 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.7817, allocations: 101.7 kB / 0.8717 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/0.782, allocations: 172.8 kB / 0.8719 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.799, allocations: 5.195 MB / 0.8769 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.8234, allocations: 14.39 MB / 0.891 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.8343, allocations: 3.394 MB / 0.8943 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/0.8382, allocations: 1.471 MB / 0.8957 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.8383, allocations: 25.23 kB / 0.8958 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004508/0.8429, allocations: 1.787 MB / 0.8975 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 7.094e-06/0.8429, allocations: 3.984 kB / 0.8975 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1327/0.9756, allocations: 28.22 MB / 0.9251 GB, free: 9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/0.9759, allocations: 0.4928 MB / 0.9255 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.9799, allocations: 2.308 MB / 0.9278 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004764/0.9804, allocations: 77.7 kB / 0.9279 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.9818, allocations: 1.434 MB / 0.9293 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.9828, allocations: 0.8201 MB / 0.9301 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.9839, allocations: 416.5 kB / 0.9305 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.984, allocations: 305.1 kB / 0.9308 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005538/0.9895, allocations: 1.921 MB / 0.9326 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005848/0.9954, allocations: 2.239 MB / 0.9348 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.007, allocations: 4.161 MB / 0.9389 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/1.007, allocations: 0 / 0.9389 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02005/1.027, allocations: 6.539 MB / 0.9453 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.027, allocations: 152.5 kB / 0.9454 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.027, allocations: 4 kB / 0.9454 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/1.037, allocations: 2.922 MB / 0.9483 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.04, allocations: 491.2 kB / 0.9488 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04108/1.082, allocations: 18.84 MB / 0.9671 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/1.086, allocations: 323.6 kB / 0.9675 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/1.087, allocations: 89.62 kB / 0.9675 GB, free: 12.75 MB / 0.7637 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001778/1.089, allocations: 0.7065 MB / 0.9682 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/1.089, allocations: 332.1 kB / 0.9685 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/1.09, allocations: 380.1 kB / 0.9689 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.09, allocations: 24.19 kB / 0.9689 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.402e-05/1.09, allocations: 8.625 kB / 0.9689 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.09, allocations: 19.88 kB / 0.969 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/1.096, allocations: 3.628 MB / 0.9725 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.096, allocations: 0 / 0.9725 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.098, allocations: 420.9 kB / 0.9729 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/1.108, allocations: 2.868 MB / 0.9757 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005254/1.109, allocations: 51.97 kB / 0.9758 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04065/1.15, allocations: 18.62 MB / 0.9939 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.15, allocations: 0 / 0.9939 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/1.169, allocations: 6.177 MB / 1 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.171, allocations: 0.6961 MB / 1.001 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008895/1.172, allocations: 47.98 kB / 1.001 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/1.176, allocations: 311.5 kB / 1.001 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/1.177, allocations: 358.7 kB / 1.001 GB, free: 9.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.177, allocations: 63.98 kB / 1.001 GB, free: 9.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00238/1.18, allocations: 1.54 MB / 1.003 GB, free: 8.105 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.18, allocations: 0 / 1.003 GB, free: 8.105 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003974/1.184, allocations: 1.047 MB / 1.004 GB, free: 7.059 MB / 0.795 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00048/1.184, allocations: 168.1 kB / 1.004 GB, free: 6.887 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02402/1.208, allocations: 6.468 MB / 1.01 GB, free: 336 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.208, allocations: 8.062 kB / 1.01 GB, free: 328 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0184/1.227, allocations: 4.048 MB / 1.014 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006526/1.233, allocations: 1.135 MB / 1.015 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.249, allocations: 6.88 MB / 1.022 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/1.251, allocations: 2.227 MB / 1.024 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.252, allocations: 207.4 kB / 1.025 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of SimCode: time 7.62e-07/1.252, allocations: 0 / 1.025 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.1142/1.366, allocations: 79.97 MB / 1.103 GB, free: 2.254 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)