Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001464/0.001464, allocations: 110.9 kB / 16.42 MB, free: 6.469 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.001412/0.001412, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 295.6 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4493, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLines): time 0.02565/0.475, allocations: 22.6 MB / 0.7891 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02609/0.5011, allocations: 17.63 MB / 0.8064 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/0.5042, allocations: 115.4 kB / 0.8065 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.5147, allocations: 4.175 MB / 0.8105 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.5256, allocations: 3.577 MB / 0.814 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.5292, allocations: 1.316 MB / 0.8153 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007884/0.5371, allocations: 5.59 MB / 0.8208 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005026/0.5421, allocations: 3.528 MB / 0.8242 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.5461, allocations: 2.375 MB / 0.8265 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004557/0.5507, allocations: 2.397 MB / 0.8289 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.5519, allocations: 348 kB / 0.8292 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.5547, allocations: 1.026 MB / 0.8302 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.5563, allocations: 1.149 MB / 0.8313 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003288/0.5596, allocations: 1.967 MB / 0.8333 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006866/0.5665, allocations: 5.069 MB / 0.8382 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5665, allocations: 4 kB / 0.8382 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5665, allocations: 0 / 0.8382 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000192/0.5667, allocations: 0 / 0.8382 GB, free: 10.77 MB / 0.6075 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.01248/0.5792, allocations: 4.386 MB / 0.8425 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.5793, allocations: 12.03 kB / 0.8425 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.5967, allocations: 3.254 MB / 0.8457 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.6031, allocations: 2.205 MB / 0.8478 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.6034, allocations: 181 kB / 0.848 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.6047, allocations: 236.1 kB / 0.8482 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.619, allocations: 4.685 MB / 0.8528 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.6191, allocations: 0 / 0.8528 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005216/0.6197, allocations: 104 kB / 0.8529 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/0.6199, allocations: 176.7 kB / 0.8531 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.634, allocations: 5.12 MB / 0.8581 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.6566, allocations: 13.91 MB / 0.8717 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.6678, allocations: 3.565 MB / 0.8751 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/0.6714, allocations: 1.389 MB / 0.8765 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.6716, allocations: 25.23 kB / 0.8765 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004402/0.676, allocations: 1.709 MB / 0.8782 GB, free: 244 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 4.168e-06/0.676, allocations: 0 / 0.8782 GB, free: 244 kB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1266/0.8026, allocations: 27.43 MB / 0.905 GB, free: 4.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/0.8029, allocations: 0.4928 MB / 0.9055 GB, free: 3.969 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.807, allocations: 2.292 MB / 0.9077 GB, free: 1.664 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004197/0.8074, allocations: 81.69 kB / 0.9078 GB, free: 1.578 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.8088, allocations: 1.434 MB / 0.9092 GB, free: 132 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.8099, allocations: 0.8201 MB / 0.91 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.8109, allocations: 412.4 kB / 0.9104 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.811, allocations: 305.1 kB / 0.9107 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/0.816, allocations: 1.751 MB / 0.9124 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.8213, allocations: 2.044 MB / 0.9144 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009683/0.831, allocations: 3.845 MB / 0.9181 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.831, allocations: 0 / 0.9181 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01565/0.8466, allocations: 5.809 MB / 0.9238 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.8468, allocations: 148.5 kB / 0.9239 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.8468, allocations: 4.344 kB / 0.9239 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/0.8531, allocations: 1.832 MB / 0.9257 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.8561, allocations: 0.4953 MB / 0.9262 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/0.8806, allocations: 15.42 MB / 0.9413 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/0.8848, allocations: 299.6 kB / 0.9416 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/0.8853, allocations: 91.97 kB / 0.9416 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006205/0.8915, allocations: 2.316 MB / 0.9439 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004998/0.8965, allocations: 2.026 MB / 0.9459 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009338/0.9059, allocations: 3.802 MB / 0.9496 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.9059, allocations: 3.938 kB / 0.9496 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.0148/0.9207, allocations: 5.642 MB / 0.9551 GB, free: 156 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.65e-05/0.9208, allocations: 144.5 kB / 0.9553 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.9209, allocations: 11.94 kB / 0.9553 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005367/0.9262, allocations: 1.677 MB / 0.9569 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/0.9292, allocations: 0.5187 MB / 0.9574 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3977/1.327, allocations: 14.6 MB / 0.9717 GB, free: 184.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/1.331, allocations: 307.8 kB / 0.972 GB, free: 184.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/1.332, allocations: 87.42 kB / 0.972 GB, free: 184.5 MB / 0.7325 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.0006738/1.332, allocations: 329.7 kB / 0.9724 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/1.333, allocations: 329.1 kB / 0.9727 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.334, allocations: 393.4 kB / 0.973 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/1.334, allocations: 12.5 kB / 0.9731 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.334, allocations: 0.5 kB / 0.9731 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.336, allocations: 0.6635 MB / 0.9737 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004903/1.336, allocations: 48.17 kB / 0.9737 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/1.339, allocations: 301.5 kB / 0.974 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009093/1.34, allocations: 352.8 kB / 0.9744 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01791/1.358, allocations: 5.7 MB / 0.9799 GB, free: 184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01382/1.372, allocations: 6.023 MB / 0.9858 GB, free: 182.4 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004434/1.376, allocations: 1.957 MB / 0.9877 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002086/1.378, allocations: 1.539 MB / 0.9892 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of Backend: time 1.102e-06/1.378, allocations: 0 / 0.9892 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0184/1.397, allocations: 8.134 MB / 0.9972 GB, free: 177.9 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01025/1.407, allocations: 7.578 MB / 1.005 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.1132/1.52, allocations: 92.54 MB / 1.095 GB, free: 81.23 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)