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.001421/0.001421, allocations: 105.8 kB / 16.64 MB, free: 6.816 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.001717/0.001717, allocations: 186 kB / 17.57 MB, free: 5.922 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.515/1.515, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8373/0.8373, allocations: 125.4 MB / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 0.4943 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3693, allocations: 78.55 MB / 0.571 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02018/0.3895, allocations: 22.41 MB / 0.5929 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.4102, allocations: 17.45 MB / 0.6099 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.4141, allocations: 103.4 kB / 0.61 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.4253, allocations: 3.925 MB / 0.6138 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.4373, allocations: 3.196 MB / 0.617 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.4414, allocations: 1.18 MB / 0.6181 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.4516, allocations: 5.599 MB / 0.6236 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006946/0.4586, allocations: 3.964 MB / 0.6275 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004979/0.4636, allocations: 2.335 MB / 0.6297 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005144/0.4688, allocations: 2.479 MB / 0.6322 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.4701, allocations: 352 kB / 0.6325 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.473, allocations: 1.018 MB / 0.6335 GB, free: 7.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.4745, allocations: 1.157 MB / 0.6346 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00392/0.4784, allocations: 1.963 MB / 0.6365 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.4847, allocations: 3.995 MB / 0.6404 GB, free: 480 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4847, allocations: 0 / 0.6404 GB, free: 480 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4847, allocations: 0 / 0.6404 GB, free: 480 kB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.4848, allocations: 0 / 0.6404 GB, free: 480 kB / 478.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.01039/0.4952, allocations: 4.394 MB / 0.6447 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4953, allocations: 12.03 kB / 0.6447 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.5114, allocations: 3.254 MB / 0.6479 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/0.5164, allocations: 2.053 MB / 0.6499 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.5166, allocations: 185.1 kB / 0.6501 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00077/0.5174, allocations: 236.1 kB / 0.6503 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.5288, allocations: 4.685 MB / 0.6549 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.5289, allocations: 0 / 0.6549 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.5292, allocations: 108 kB / 0.655 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/0.5295, allocations: 168.8 kB / 0.6552 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.5431, allocations: 5.124 MB / 0.6602 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.5671, allocations: 14.01 MB / 0.6738 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.578, allocations: 3.576 MB / 0.6773 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/0.5817, allocations: 1.389 MB / 0.6787 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.5818, allocations: 29.23 kB / 0.6787 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004101/0.5859, allocations: 1.696 MB / 0.6804 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 4.018e-06/0.586, allocations: 4 kB / 0.6804 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1158/0.7018, allocations: 27.4 MB / 0.7071 GB, free: 10.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003161/0.7022, allocations: 0.4928 MB / 0.7076 GB, free: 9.734 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.7057, allocations: 2.3 MB / 0.7099 GB, free: 7.422 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004899/0.7063, allocations: 81.69 kB / 0.7099 GB, free: 7.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.7076, allocations: 1.43 MB / 0.7113 GB, free: 5.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.7087, allocations: 0.8201 MB / 0.7121 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008632/0.7096, allocations: 424.4 kB / 0.7125 GB, free: 4.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7097, allocations: 305.1 kB / 0.7128 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/0.7143, allocations: 1.748 MB / 0.7145 GB, free: 2.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.7196, allocations: 2.049 MB / 0.7165 GB, free: 456 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009476/0.7291, allocations: 3.845 MB / 0.7203 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.7291, allocations: 0 / 0.7203 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01608/0.7452, allocations: 5.809 MB / 0.726 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.7454, allocations: 148.5 kB / 0.7261 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.7454, allocations: 4 kB / 0.7261 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006574/0.752, allocations: 1.852 MB / 0.7279 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/0.755, allocations: 0.4992 MB / 0.7284 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02577/0.7808, allocations: 15.42 MB / 0.7435 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/0.7847, allocations: 311.6 kB / 0.7438 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003785/0.7851, allocations: 87.97 kB / 0.7439 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005842/0.7909, allocations: 2.312 MB / 0.7461 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2903/1.081, allocations: 2.026 MB / 0.7481 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01074/1.092, allocations: 3.799 MB / 0.7518 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.802e-05/1.092, allocations: 2.375 kB / 0.7518 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01689/1.109, allocations: 5.65 MB / 0.7573 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/1.109, allocations: 147.4 kB / 0.7575 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.109, allocations: 5.5 kB / 0.7575 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/1.115, allocations: 1.7 MB / 0.7591 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/1.118, allocations: 0.506 MB / 0.7596 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/1.138, allocations: 14.62 MB / 0.7739 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/1.142, allocations: 312.4 kB / 0.7742 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004071/1.142, allocations: 85.25 kB / 0.7743 GB, free: 144.6 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.0006841/1.143, allocations: 323.7 kB / 0.7746 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007386/1.144, allocations: 334 kB / 0.7749 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008832/1.144, allocations: 398.4 kB / 0.7753 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/1.145, allocations: 22.41 kB / 0.7753 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-05/1.145, allocations: 20.84 kB / 0.7753 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/1.145, allocations: 11.2 kB / 0.7753 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/1.149, allocations: 3.163 MB / 0.7784 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/1.149, allocations: 0 / 0.7784 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.151, allocations: 431.8 kB / 0.7788 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005573/1.157, allocations: 1.713 MB / 0.7805 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003767/1.157, allocations: 52.56 kB / 0.7806 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/1.176, allocations: 15.23 MB / 0.7954 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.176, allocations: 0 / 0.7954 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.188, allocations: 5.419 MB / 0.8007 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.19, allocations: 0.6687 MB / 0.8014 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005369/1.19, allocations: 44 kB / 0.8014 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.193, allocations: 307.4 kB / 0.8017 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007911/1.194, allocations: 290.7 kB / 0.802 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.194, allocations: 71.97 kB / 0.8021 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001679/1.196, allocations: 1.532 MB / 0.8036 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.196, allocations: 0 / 0.8036 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004336/1.2, allocations: 1.641 MB / 0.8052 GB, free: 118.1 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.0003436/1.201, allocations: 168.7 kB / 0.8053 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02141/1.222, allocations: 10.2 MB / 0.8153 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.222, allocations: 0 / 0.8153 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006946/1.229, allocations: 3.318 MB / 0.8185 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/1.234, allocations: 1.127 MB / 0.8196 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.246, allocations: 8.067 MB / 0.8275 GB, free: 95.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/1.247, allocations: 2.301 MB / 0.8297 GB, free: 92.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.249, allocations: 207.4 kB / 0.8299 GB, free: 92.56 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.249, allocations: 4 kB / 0.8299 GB, free: 92.56 MB / 0.5762 GB Notification: Performance of Templates: time 0.0749/1.323, allocations: 79.57 MB / 0.9076 GB, free: 13.37 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)