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.001138/0.001138, allocations: 117.6 kB / 17.09 MB, free: 6.012 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.001194/0.001194, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7579/0.7579, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 63.67 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1652, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02281/0.1881, allocations: 22.59 MB / 0.6548 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0246/0.2127, allocations: 17.63 MB / 0.672 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.2162, allocations: 111.4 kB / 0.6721 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.2267, allocations: 4.169 MB / 0.6762 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.2372, allocations: 3.522 MB / 0.6796 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.2408, allocations: 1.314 MB / 0.6809 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007976/0.2488, allocations: 5.573 MB / 0.6864 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.2543, allocations: 3.53 MB / 0.6898 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.2584, allocations: 2.367 MB / 0.6921 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00452/0.263, allocations: 2.409 MB / 0.6945 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.2642, allocations: 352 kB / 0.6948 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.2673, allocations: 1.022 MB / 0.6958 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.269, allocations: 1.153 MB / 0.6969 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003725/0.2727, allocations: 1.971 MB / 0.6989 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006522/0.2792, allocations: 5.066 MB / 0.7038 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.2793, allocations: 0 / 0.7038 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2793, allocations: 0 / 0.7038 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001057/0.2794, allocations: 0 / 0.7038 GB, free: 11.32 MB / 0.545 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.009826/0.2892, allocations: 4.386 MB / 0.7081 GB, free: 6.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.2893, allocations: 8.031 kB / 0.7081 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.3048, allocations: 3.25 MB / 0.7113 GB, free: 3.559 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.3089, allocations: 2.212 MB / 0.7134 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3091, allocations: 173.1 kB / 0.7136 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/0.3095, allocations: 240.1 kB / 0.7138 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009393/0.3189, allocations: 4.681 MB / 0.7184 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.3189, allocations: 4 kB / 0.7184 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.3192, allocations: 111.9 kB / 0.7185 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.3194, allocations: 172.8 kB / 0.7187 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.3315, allocations: 5.116 MB / 0.7237 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/0.3506, allocations: 13.91 MB / 0.7373 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.3612, allocations: 3.565 MB / 0.7407 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.3645, allocations: 1.397 MB / 0.7421 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.3647, allocations: 29.22 kB / 0.7421 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003739/0.3684, allocations: 1.695 MB / 0.7438 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 3.697e-06/0.3684, allocations: 0 / 0.7438 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.5076/0.8761, allocations: 27.42 MB / 0.7706 GB, free: 94.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.8762, allocations: 0.4908 MB / 0.771 GB, free: 94.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.879, allocations: 2.297 MB / 0.7733 GB, free: 92.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/0.8794, allocations: 76.27 kB / 0.7734 GB, free: 92.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.8803, allocations: 1.433 MB / 0.7748 GB, free: 91.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005658/0.8808, allocations: 0.8236 MB / 0.7756 GB, free: 90.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/0.8815, allocations: 419.8 kB / 0.776 GB, free: 90.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.8816, allocations: 304.7 kB / 0.7763 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/0.8857, allocations: 1.754 MB / 0.778 GB, free: 88.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004253/0.89, allocations: 2.04 MB / 0.78 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008389/0.8984, allocations: 3.841 MB / 0.7837 GB, free: 82.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.8984, allocations: 0 / 0.7837 GB, free: 82.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01348/0.9119, allocations: 5.813 MB / 0.7894 GB, free: 76.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.912, allocations: 148.5 kB / 0.7895 GB, free: 76.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.912, allocations: 4 kB / 0.7895 GB, free: 76.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005344/0.9174, allocations: 1.84 MB / 0.7913 GB, free: 74.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.92, allocations: 0.4914 MB / 0.7918 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/0.9381, allocations: 15.4 MB / 0.8068 GB, free: 58.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.9419, allocations: 303.6 kB / 0.8071 GB, free: 58.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.9422, allocations: 95.97 kB / 0.8072 GB, free: 57.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00492/0.9471, allocations: 2.312 MB / 0.8095 GB, free: 55.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003971/0.9511, allocations: 2.028 MB / 0.8115 GB, free: 53.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007996/0.9591, allocations: 3.807 MB / 0.8152 GB, free: 49.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.858e-06/0.9591, allocations: 4 kB / 0.8152 GB, free: 49.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01311/0.9722, allocations: 5.646 MB / 0.8207 GB, free: 43.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.9724, allocations: 152.4 kB / 0.8208 GB, free: 43.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.9724, allocations: 8 kB / 0.8209 GB, free: 43.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004708/0.9771, allocations: 1.673 MB / 0.8225 GB, free: 42.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.9798, allocations: 0.5178 MB / 0.823 GB, free: 41.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.9964, allocations: 14.6 MB / 0.8373 GB, free: 26.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/1, allocations: 303.6 kB / 0.8375 GB, free: 26.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1, allocations: 91.97 kB / 0.8376 GB, free: 26.24 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.0006027/1.001, allocations: 326.8 kB / 0.8379 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/1.002, allocations: 332 kB / 0.8383 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/1.002, allocations: 396.1 kB / 0.8386 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.002, allocations: 11.95 kB / 0.8387 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.002, allocations: 0 / 0.8387 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009918/1.003, allocations: 0.6609 MB / 0.8393 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/1.004, allocations: 48.66 kB / 0.8393 GB, free: 24.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/1.007, allocations: 299.6 kB / 0.8396 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007437/1.007, allocations: 357.4 kB / 0.84 GB, free: 23.81 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0148/1.022, allocations: 5.706 MB / 0.8455 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01263/1.035, allocations: 6.015 MB / 0.8514 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003932/1.039, allocations: 1.959 MB / 0.8533 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001885/1.041, allocations: 1.532 MB / 0.8548 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of Backend: time 9.82e-07/1.041, allocations: 0 / 0.8548 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.058, allocations: 8.143 MB / 0.8628 GB, free: 360 kB / 0.5762 GB Notification: Performance of SimCode: time 0.01161/1.07, allocations: 7.564 MB / 0.8702 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.1428/1.213, allocations: 92.44 MB / 0.9604 GB, free: 13.28 MB / 0.6856 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)