Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 103.6 kB / 16.94 MB, free: 6.191 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.001512/0.001512, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.408/1.408, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8265/0.8265, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 76.11 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 78.55 MB / 0.5715 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02007/0.3573, allocations: 22.58 MB / 0.5936 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.3779, allocations: 17.64 MB / 0.6108 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/0.3812, allocations: 107.4 kB / 0.6109 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.3927, allocations: 4.161 MB / 0.615 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.4042, allocations: 3.523 MB / 0.6184 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.4081, allocations: 1.308 MB / 0.6197 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009017/0.4171, allocations: 5.569 MB / 0.6251 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006004/0.4232, allocations: 3.553 MB / 0.6286 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.4277, allocations: 2.293 MB / 0.6308 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0049/0.4327, allocations: 2.397 MB / 0.6332 GB, free: 8.223 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.4339, allocations: 352 kB / 0.6335 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.4368, allocations: 1.018 MB / 0.6345 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.4383, allocations: 1.16 MB / 0.6356 GB, free: 5.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003526/0.4419, allocations: 1.963 MB / 0.6375 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007829/0.4497, allocations: 5.003 MB / 0.6424 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.4498, allocations: 0 / 0.6424 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4498, allocations: 3.938 kB / 0.6424 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000176/0.45, allocations: 4 kB / 0.6424 GB, free: 14.7 MB / 494.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.01093/0.4609, allocations: 4.386 MB / 0.6467 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.461, allocations: 12.02 kB / 0.6467 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/0.478, allocations: 3.257 MB / 0.6499 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.4827, allocations: 2.057 MB / 0.6519 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.4829, allocations: 177.1 kB / 0.6521 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008395/0.4838, allocations: 240.1 kB / 0.6523 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.4964, allocations: 4.689 MB / 0.6569 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.4965, allocations: 0 / 0.6569 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/0.497, allocations: 107.9 kB / 0.657 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.4972, allocations: 172.8 kB / 0.6572 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.5128, allocations: 5.116 MB / 0.6622 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.538, allocations: 14 MB / 0.6758 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.55, allocations: 3.572 MB / 0.6793 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/0.5542, allocations: 1.385 MB / 0.6807 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.5545, allocations: 29.23 kB / 0.6807 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00492/0.5594, allocations: 1.696 MB / 0.6824 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 5.36e-06/0.5594, allocations: 0 / 0.6824 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1314/0.6908, allocations: 27.41 MB / 0.7091 GB, free: 8.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003268/0.6912, allocations: 0.4889 MB / 0.7096 GB, free: 7.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/0.6952, allocations: 2.304 MB / 0.7119 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004743/0.6957, allocations: 77.7 kB / 0.7119 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.6972, allocations: 1.434 MB / 0.7133 GB, free: 4.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.6983, allocations: 0.8201 MB / 0.7141 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.6994, allocations: 416.5 kB / 0.7145 GB, free: 2.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6996, allocations: 305.1 kB / 0.7148 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005348/0.7049, allocations: 1.751 MB / 0.7165 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005696/0.7107, allocations: 2.044 MB / 0.7185 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.7216, allocations: 3.853 MB / 0.7223 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.7217, allocations: 0 / 0.7223 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01716/0.7388, allocations: 5.809 MB / 0.728 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.739, allocations: 146.4 kB / 0.7281 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.739, allocations: 8 kB / 0.7281 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006717/0.7457, allocations: 1.856 MB / 0.7299 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.7488, allocations: 0.4914 MB / 0.7304 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/0.7755, allocations: 15.42 MB / 0.7455 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/0.7794, allocations: 307.6 kB / 0.7458 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.7797, allocations: 87.97 kB / 0.7458 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2404/1.02, allocations: 2.319 MB / 0.7481 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005741/1.026, allocations: 2.023 MB / 0.7501 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01095/1.037, allocations: 3.802 MB / 0.7538 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.151e-05/1.037, allocations: 2.203 kB / 0.7538 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01534/1.052, allocations: 5.65 MB / 0.7593 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/1.052, allocations: 148 kB / 0.7594 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.052, allocations: 5.375 kB / 0.7595 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005245/1.058, allocations: 1.695 MB / 0.7611 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/1.061, allocations: 0.5099 MB / 0.7616 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/1.079, allocations: 14.62 MB / 0.7759 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/1.082, allocations: 313.6 kB / 0.7762 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/1.083, allocations: 91.89 kB / 0.7763 GB, free: 143.9 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0005341/1.083, allocations: 315.2 kB / 0.7766 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/1.084, allocations: 332.3 kB / 0.7769 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/1.084, allocations: 398.4 kB / 0.7773 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.084, allocations: 25.81 kB / 0.7773 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.078e-05/1.084, allocations: 11.5 kB / 0.7773 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.084, allocations: 17.38 kB / 0.7773 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.087, allocations: 3.163 MB / 0.7804 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.087, allocations: 0 / 0.7804 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.09, allocations: 431.8 kB / 0.7808 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005183/1.095, allocations: 1.711 MB / 0.7825 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/1.095, allocations: 50.75 kB / 0.7825 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.113, allocations: 15.23 MB / 0.7974 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.113, allocations: 0 / 0.7974 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.126, allocations: 5.42 MB / 0.8027 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.127, allocations: 0.6713 MB / 0.8034 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/1.128, allocations: 44 kB / 0.8034 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.131, allocations: 303.5 kB / 0.8037 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007416/1.132, allocations: 290.7 kB / 0.804 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.132, allocations: 67.97 kB / 0.804 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001642/1.133, allocations: 1.536 MB / 0.8055 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.133, allocations: 0 / 0.8055 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003557/1.137, allocations: 1.641 MB / 0.8071 GB, free: 116.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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002988/1.137, allocations: 175.8 kB / 0.8073 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02265/1.16, allocations: 10.21 MB / 0.8173 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.16, allocations: 0 / 0.8173 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007246/1.167, allocations: 3.316 MB / 0.8205 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/1.172, allocations: 1.135 MB / 0.8216 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.184, allocations: 6.776 MB / 0.8282 GB, free: 94.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.185, allocations: 2.299 MB / 0.8305 GB, free: 92.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.187, allocations: 212.5 kB / 0.8307 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.203e-06/1.187, allocations: 0 / 0.8307 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.07208/1.259, allocations: 79.57 MB / 0.9084 GB, free: 12.75 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)