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.001148/0.001148, allocations: 107.8 kB / 16.52 MB, free: 6.273 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.001128/0.001128, allocations: 194.7 kB / 17.44 MB, free: 5.891 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.91 kB / 493.6 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3482, allocations: 76.17 MB / 0.5564 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02098/0.3693, allocations: 22.39 MB / 0.5782 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.3925, allocations: 17.61 MB / 0.5954 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.3966, allocations: 106.1 kB / 0.5955 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009405/0.406, allocations: 3.909 MB / 0.5993 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.4164, allocations: 3.201 MB / 0.6025 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.4203, allocations: 1.177 MB / 0.6036 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009028/0.4293, allocations: 6.868 MB / 0.6103 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.4344, allocations: 2.46 MB / 0.6127 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.439, allocations: 2.07 MB / 0.6148 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.4436, allocations: 2.416 MB / 0.6171 GB, free: 6.309 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.445, allocations: 216 kB / 0.6173 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.4483, allocations: 1.096 MB / 0.6184 GB, free: 5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.4501, allocations: 1.032 MB / 0.6194 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004556/0.4547, allocations: 1.83 MB / 0.6212 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.46, allocations: 3.936 MB / 0.625 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.46, allocations: 0 / 0.625 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.46, allocations: 4 kB / 0.625 GB, free: 14.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001911/0.4602, allocations: 0 / 0.625 GB, free: 14.18 MB / 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.01056/0.4708, allocations: 4.391 MB / 0.6293 GB, free: 9.672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4708, allocations: 15.97 kB / 0.6293 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/0.4869, allocations: 3.254 MB / 0.6325 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/0.4915, allocations: 2.057 MB / 0.6345 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.4917, allocations: 185.1 kB / 0.6347 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009404/0.4927, allocations: 232.1 kB / 0.6349 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.5046, allocations: 4.693 MB / 0.6395 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.527e-05/0.5048, allocations: 0 / 0.6395 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006547/0.5054, allocations: 108 kB / 0.6396 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.5057, allocations: 168.8 kB / 0.6398 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.5194, allocations: 5.128 MB / 0.6448 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02389/0.5434, allocations: 14 MB / 0.6584 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.5544, allocations: 3.569 MB / 0.6619 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/0.558, allocations: 1.385 MB / 0.6633 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.5581, allocations: 29.2 kB / 0.6633 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004558/0.5627, allocations: 1.703 MB / 0.665 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=163): time 6.041e-06/0.5628, allocations: 0 / 0.665 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.1172/0.68, allocations: 27.42 MB / 0.6917 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.6803, allocations: 0.4928 MB / 0.6922 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.6841, allocations: 2.296 MB / 0.6945 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004548/0.6846, allocations: 77.69 kB / 0.6945 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6859, allocations: 1.43 MB / 0.6959 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.6869, allocations: 0.8201 MB / 0.6967 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.688, allocations: 420.3 kB / 0.6971 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6881, allocations: 309.1 kB / 0.6974 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004705/0.6929, allocations: 1.748 MB / 0.6991 GB, free: 288 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005007/0.6979, allocations: 2.048 MB / 0.7011 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009457/0.7074, allocations: 3.837 MB / 0.7049 GB, free: 10.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.7074, allocations: 0 / 0.7049 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01628/0.7237, allocations: 5.813 MB / 0.7106 GB, free: 4.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.7239, allocations: 148.5 kB / 0.7107 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.7239, allocations: 4 kB / 0.7107 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006897/0.7308, allocations: 1.833 MB / 0.7125 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/0.7338, allocations: 0.4953 MB / 0.713 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02333/0.7571, allocations: 14.08 MB / 0.7267 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/0.7609, allocations: 307.6 kB / 0.727 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/0.7614, allocations: 87.97 kB / 0.7271 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005892/0.7673, allocations: 2.312 MB / 0.7294 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004989/0.7723, allocations: 2.032 MB / 0.7314 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009314/0.7816, allocations: 3.794 MB / 0.7351 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.27e-05/0.7817, allocations: 3.984 kB / 0.7351 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01558/0.7973, allocations: 5.653 MB / 0.7406 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.7974, allocations: 148.5 kB / 0.7407 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7975, allocations: 4 kB / 0.7407 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/0.8035, allocations: 1.673 MB / 0.7424 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.8065, allocations: 0.5187 MB / 0.7429 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2902/1.097, allocations: 13.33 MB / 0.7559 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/1.1, allocations: 312.5 kB / 0.7562 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/1.101, allocations: 89.31 kB / 0.7563 GB, free: 154.5 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.0005873/1.101, allocations: 319.4 kB / 0.7566 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/1.102, allocations: 331.6 kB / 0.7569 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/1.103, allocations: 395.1 kB / 0.7573 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.103, allocations: 24.38 kB / 0.7573 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.741e-05/1.103, allocations: 11.62 kB / 0.7573 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/1.103, allocations: 15.62 kB / 0.7573 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/1.107, allocations: 3.163 MB / 0.7604 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.107, allocations: 0.6875 kB / 0.7604 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.11, allocations: 432.4 kB / 0.7608 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006205/1.116, allocations: 1.694 MB / 0.7625 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003496/1.117, allocations: 52.47 kB / 0.7625 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/1.137, allocations: 13.86 MB / 0.7761 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.137, allocations: 1.531 kB / 0.7761 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.152, allocations: 5.423 MB / 0.7814 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.153, allocations: 0.6652 MB / 0.782 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000601/1.154, allocations: 46.56 kB / 0.782 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.157, allocations: 299.7 kB / 0.7823 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009592/1.158, allocations: 292.3 kB / 0.7826 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.158, allocations: 69.56 kB / 0.7827 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002305/1.16, allocations: 1.537 MB / 0.7842 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.16, allocations: 0 / 0.7842 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004055/1.164, allocations: 1.639 MB / 0.7858 GB, free: 142.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.0003525/1.165, allocations: 164.6 kB / 0.7859 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01949/1.184, allocations: 9.276 MB / 0.795 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.184, allocations: 4 kB / 0.795 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007132/1.191, allocations: 3.285 MB / 0.7982 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/1.196, allocations: 1.054 MB / 0.7992 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/1.208, allocations: 8.054 MB / 0.8071 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.21, allocations: 2.308 MB / 0.8094 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.211, allocations: 199.4 kB / 0.8095 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.211, allocations: 0 / 0.8095 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.08075/1.292, allocations: 79.56 MB / 0.8872 GB, free: 43.73 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)