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.0009491/0.0009489, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 182.1 kB / 16.92 MB, free: 6.914 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6897/0.6897, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02421/0.2038, allocations: 21.66 MB / 0.5811 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3484/0.5523, allocations: 17.37 MB / 0.5981 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.5565, allocations: 107.4 kB / 0.5982 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.5591, allocations: 0.578 MB / 0.5987 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.572, allocations: 3.206 MB / 0.6019 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.5761, allocations: 1.179 MB / 0.603 GB, free: 8.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.5881, allocations: 6.863 MB / 0.6097 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005263/0.5934, allocations: 2.51 MB / 0.6122 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.5992, allocations: 1.95 MB / 0.6141 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.6052, allocations: 2.237 MB / 0.6163 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.6067, allocations: 163.7 kB / 0.6164 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.6118, allocations: 1.048 MB / 0.6174 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.6142, allocations: 0.9391 MB / 0.6184 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005346/0.6196, allocations: 1.751 MB / 0.6201 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.6302, allocations: 4.843 MB / 0.6248 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6303, allocations: 0 / 0.6248 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6303, allocations: 4 kB / 0.6248 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001898/0.6305, allocations: 0 / 0.6248 GB, free: 14.18 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.01104/0.6415, allocations: 3.838 MB / 0.6286 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.6416, allocations: 9.938 kB / 0.6286 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.6594, allocations: 3.361 MB / 0.6318 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006033/0.6655, allocations: 2.067 MB / 0.6339 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.6657, allocations: 175.3 kB / 0.634 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/0.6662, allocations: 235 kB / 0.6343 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.6774, allocations: 4.742 MB / 0.6389 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-05/0.6775, allocations: 3.938 kB / 0.6389 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.6778, allocations: 120.6 kB / 0.639 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/0.678, allocations: 176.8 kB / 0.6392 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.6926, allocations: 5.234 MB / 0.6443 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.7154, allocations: 14.11 MB / 0.6581 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.7268, allocations: 3.85 MB / 0.6618 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.7307, allocations: 1.518 MB / 0.6633 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.7309, allocations: 30.52 kB / 0.6633 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004463/0.7354, allocations: 1.828 MB / 0.6651 GB, free: 7.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 4.749e-06/0.7354, allocations: 4 kB / 0.6651 GB, free: 7.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1323/0.8677, allocations: 33.43 MB / 0.6978 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002492/0.868, allocations: 496.7 kB / 0.6983 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.8714, allocations: 2.3 MB / 0.7005 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.8719, allocations: 81.7 kB / 0.7006 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.8732, allocations: 1.432 MB / 0.702 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009395/0.8742, allocations: 0.8212 MB / 0.7028 GB, free: 152 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.8745, allocations: 182.4 kB / 0.7029 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8746, allocations: 305.1 kB / 0.7032 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/0.8797, allocations: 1.929 MB / 0.7051 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005297/0.885, allocations: 2.235 MB / 0.7073 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.8956, allocations: 4.208 MB / 0.7114 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.8956, allocations: 7.938 kB / 0.7114 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0166/0.9122, allocations: 6.192 MB / 0.7175 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.9125, allocations: 413.7 kB / 0.7179 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.9126, allocations: 8 kB / 0.7179 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/0.9192, allocations: 1.854 MB / 0.7197 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.9224, allocations: 0.5862 MB / 0.7203 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/0.9451, allocations: 14.2 MB / 0.7341 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/0.9495, allocations: 403.5 kB / 0.7345 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/0.9499, allocations: 87.97 kB / 0.7346 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.9499, allocations: 8 kB / 0.7346 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01601/0.9659, allocations: 5.781 MB / 0.7402 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.966, allocations: 8 kB / 0.7403 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.9715, allocations: 1.82 MB / 0.742 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.9748, allocations: 0.6086 MB / 0.7426 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.9967, allocations: 13.46 MB / 0.7558 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/1.001, allocations: 407.6 kB / 0.7562 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.002, allocations: 87.97 kB / 0.7562 GB, free: 8.395 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.001627/1.003, allocations: 0.78 MB / 0.757 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/1.004, allocations: 336.1 kB / 0.7573 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/1.005, allocations: 404 kB / 0.7577 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.005, allocations: 27.94 kB / 0.7577 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-05/1.005, allocations: 8 kB / 0.7577 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/1.005, allocations: 11.95 kB / 0.7578 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/1.009, allocations: 3.161 MB / 0.7608 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.01, allocations: 0 / 0.7608 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.012, allocations: 0.5189 MB / 0.7613 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006454/1.019, allocations: 1.709 MB / 0.763 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.019, allocations: 59.91 kB / 0.7631 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/1.041, allocations: 13.97 MB / 0.7767 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.041, allocations: 3.938 kB / 0.7767 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.057, allocations: 5.81 MB / 0.7824 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.059, allocations: 0.661 MB / 0.783 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005782/1.06, allocations: 44 kB / 0.7831 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/1.063, allocations: 404 kB / 0.7835 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009337/1.064, allocations: 294.6 kB / 0.7837 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.064, allocations: 75.97 kB / 0.7838 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002117/1.067, allocations: 1.536 MB / 0.7853 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.067, allocations: 0 / 0.7853 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004186/1.071, allocations: 1.625 MB / 0.7869 GB, free: 8.633 MB / 0.6075 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.0003996/1.071, allocations: 171 kB / 0.7871 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02591/1.097, allocations: 10.08 MB / 0.7969 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.097, allocations: 224 / 0.7969 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.009183/1.106, allocations: 3.494 MB / 0.8003 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/1.112, allocations: 1.053 MB / 0.8014 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.126, allocations: 7.956 MB / 0.8091 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.128, allocations: 2.308 MB / 0.8114 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003209/1.131, allocations: 0.627 MB / 0.812 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/1.132, allocations: 187.4 kB / 0.8122 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/1.132, allocations: 0 / 0.8122 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.3967/1.529, allocations: 76.1 MB / 0.8865 GB, free: 181.5 MB / 0.6387 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)