Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001063/0.001063, allocations: 94.27 kB / 16.67 MB, free: 6.594 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.001256/0.001256, allocations: 183.8 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7646/0.7646, allocations: 115.5 MB / 408.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006021/0.0006019, allocations: 11.98 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4223, allocations: 77.51 MB / 0.5606 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02153/0.4439, allocations: 21.68 MB / 0.5817 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02498/0.4689, allocations: 17.38 MB / 0.5987 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005135/0.4741, allocations: 103 kB / 0.5988 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.4773, allocations: 0.5863 MB / 0.5994 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.4901, allocations: 3.206 MB / 0.6025 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.4943, allocations: 1.184 MB / 0.6037 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009785/0.5041, allocations: 7.052 MB / 0.6106 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004725/0.5089, allocations: 2.558 MB / 0.6131 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.5142, allocations: 2.05 MB / 0.6151 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/0.5196, allocations: 2.288 MB / 0.6173 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.5208, allocations: 176 kB / 0.6175 GB, free: 8.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.5243, allocations: 1.061 MB / 0.6185 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.526, allocations: 0.973 MB / 0.6195 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003103/0.5291, allocations: 1.789 MB / 0.6212 GB, free: 5.113 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004752/0.5338, allocations: 3.958 MB / 0.6251 GB, free: 1.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5339, allocations: 0 / 0.6251 GB, free: 1.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5339, allocations: 0 / 0.6251 GB, free: 1.145 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001238/0.534, allocations: 0 / 0.6251 GB, free: 1.145 MB / 462.1 MB 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.009563/0.5436, allocations: 4.06 MB / 0.629 GB, free: 12.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5436, allocations: 23.84 kB / 0.6291 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.561, allocations: 3.367 MB / 0.6323 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/0.566, allocations: 2.096 MB / 0.6344 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004501/0.5665, allocations: 462.3 kB / 0.6348 GB, free: 6.895 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007595/0.5673, allocations: 239.9 kB / 0.6351 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.5791, allocations: 4.873 MB / 0.6398 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/0.5792, allocations: 0 / 0.6398 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.5796, allocations: 104 kB / 0.6399 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/0.5798, allocations: 172.8 kB / 0.6401 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.5943, allocations: 5.319 MB / 0.6453 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.6171, allocations: 14.6 MB / 0.6595 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.6273, allocations: 3.678 MB / 0.6631 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003977/0.6313, allocations: 1.596 MB / 0.6647 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.6314, allocations: 21.3 kB / 0.6647 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004489/0.6359, allocations: 1.913 MB / 0.6666 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=163): time 4.128e-06/0.6359, allocations: 4 kB / 0.6666 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.1351/0.7711, allocations: 34.15 MB / 0.6999 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/0.7714, allocations: 0.4928 MB / 0.7004 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.7746, allocations: 2.296 MB / 0.7026 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/0.775, allocations: 73.7 kB / 0.7027 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.7762, allocations: 1.442 MB / 0.7041 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008219/0.7771, allocations: 0.8163 MB / 0.7049 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.7774, allocations: 186.4 kB / 0.7051 GB, free: 13.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.7775, allocations: 301.1 kB / 0.7054 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005547/0.7831, allocations: 2.12 MB / 0.7075 GB, free: 10.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005827/0.7889, allocations: 2.419 MB / 0.7098 GB, free: 8.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.8004, allocations: 4.536 MB / 0.7142 GB, free: 3.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.8004, allocations: 0 / 0.7142 GB, free: 3.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01956/0.82, allocations: 6.914 MB / 0.721 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.8202, allocations: 148.5 kB / 0.7211 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.8202, allocations: 4 kB / 0.7211 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.8304, allocations: 2.926 MB / 0.724 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.8335, allocations: 0.5735 MB / 0.7246 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03872/0.8722, allocations: 17.37 MB / 0.7415 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/0.8766, allocations: 435.4 kB / 0.7419 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/0.877, allocations: 83.98 kB / 0.742 GB, free: 6.738 MB / 0.5762 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.001686/0.8787, allocations: 0.6965 MB / 0.7427 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006862/0.8793, allocations: 332 kB / 0.743 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.8802, allocations: 388.2 kB / 0.7434 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.8802, allocations: 20 kB / 0.7434 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/0.8803, allocations: 19.94 kB / 0.7434 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.8803, allocations: 11.95 kB / 0.7434 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004903/0.8852, allocations: 3.632 MB / 0.747 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.8853, allocations: 4 kB / 0.747 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/0.8879, allocations: 0.4993 MB / 0.7475 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2877/1.176, allocations: 2.878 MB / 0.7503 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004376/1.176, allocations: 52.41 kB / 0.7503 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03845/1.215, allocations: 17.15 MB / 0.7671 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.215, allocations: 0 / 0.7671 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/1.234, allocations: 6.553 MB / 0.7735 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.236, allocations: 0.6968 MB / 0.7742 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007507/1.237, allocations: 48.53 kB / 0.7742 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003525/1.24, allocations: 411.5 kB / 0.7746 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/1.242, allocations: 351 kB / 0.7749 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.242, allocations: 69.09 kB / 0.775 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002174/1.244, allocations: 1.537 MB / 0.7765 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.244, allocations: 0 / 0.7765 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003045/1.247, allocations: 1.04 MB / 0.7775 GB, free: 150.2 MB / 0.5762 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.0004078/1.247, allocations: 173.2 kB / 0.7777 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02231/1.27, allocations: 6.828 MB / 0.7843 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.27, allocations: 3.719 kB / 0.7844 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01669/1.286, allocations: 4.231 MB / 0.7885 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/1.292, allocations: 1.046 MB / 0.7895 GB, free: 146 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.306, allocations: 8.304 MB / 0.7976 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.307, allocations: 2.246 MB / 0.7998 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.308, allocations: 187.4 kB / 0.8 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/1.308, allocations: 1.094 kB / 0.8 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07676/1.385, allocations: 79.52 MB / 0.8776 GB, free: 57.05 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)