Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 116.2 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.001931/0.001931, allocations: 192.7 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.477/1.477, 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.7367/0.7367, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 69.84 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 76.17 MB / 0.6328 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03748/0.1737, allocations: 35.1 MB / 0.667 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.1915, allocations: 9.944 MB / 0.6767 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.1949, allocations: 147.3 kB / 0.6769 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009927/0.2049, allocations: 3.795 MB / 0.6806 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006086/0.211, allocations: 2.032 MB / 0.6826 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.2164, allocations: 1.962 MB / 0.6845 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00985/0.2263, allocations: 7.978 MB / 0.6923 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/0.2401, allocations: 9.538 MB / 0.7016 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005369/0.2455, allocations: 3.412 MB / 0.7049 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005967/0.2515, allocations: 3.738 MB / 0.7086 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.2534, allocations: 0.6797 MB / 0.7092 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.2573, allocations: 1.44 MB / 0.7106 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003841/0.2611, allocations: 2.627 MB / 0.7132 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006211/0.2674, allocations: 3.101 MB / 0.7162 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.2808, allocations: 10.38 MB / 0.7264 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2809, allocations: 0 / 0.7264 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2809, allocations: 4 kB / 0.7264 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003249/0.2812, allocations: 0 / 0.7264 GB, free: 4.133 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01398/0.2952, allocations: 5.405 MB / 0.7317 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2953, allocations: 12.03 kB / 0.7317 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005786/0.3011, allocations: 0.9626 MB / 0.7326 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/0.3084, allocations: 3.174 MB / 0.7357 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.3088, allocations: 361.9 kB / 0.7361 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/0.3102, allocations: 468.3 kB / 0.7365 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.3268, allocations: 7.914 MB / 0.7442 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.327, allocations: 15.88 kB / 0.7442 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007639/0.3277, allocations: 212 kB / 0.7445 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000527/0.3283, allocations: 369.1 kB / 0.7448 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3594/0.6877, allocations: 5.934 MB / 0.7506 GB, free: 97.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/0.725, allocations: 35.94 MB / 0.7857 GB, free: 66.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.7282, allocations: 2.147 MB / 0.7878 GB, free: 65.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.7297, allocations: 1.475 MB / 0.7892 GB, free: 64.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.978e-05/0.7298, allocations: 21.12 kB / 0.7893 GB, free: 64.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7299, allocations: 55.72 kB / 0.7893 GB, free: 64.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.105e-06/0.7299, allocations: 0 / 0.7893 GB, free: 64.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.012/0.7419, allocations: 7.541 MB / 0.7967 GB, free: 59.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.742, allocations: 68.34 kB / 0.7967 GB, free: 59.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.7441, allocations: 1.864 MB / 0.7986 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.7442, allocations: 52.98 kB / 0.7986 GB, free: 58.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/0.7451, allocations: 2.119 MB / 0.8007 GB, free: 56.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.7454, allocations: 0.5629 MB / 0.8012 GB, free: 56.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004838/0.7459, allocations: 402 kB / 0.8016 GB, free: 56.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.7459, allocations: 309.1 kB / 0.8019 GB, free: 55.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.7471, allocations: 1.055 MB / 0.8029 GB, free: 54.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.7485, allocations: 1.764 MB / 0.8047 GB, free: 52.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.7512, allocations: 3.052 MB / 0.8076 GB, free: 49.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.7513, allocations: 8 kB / 0.8076 GB, free: 49.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004977/0.7562, allocations: 3.926 MB / 0.8115 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.7563, allocations: 21.34 kB / 0.8115 GB, free: 45.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.7563, allocations: 24 kB / 0.8115 GB, free: 45.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.7583, allocations: 0.9276 MB / 0.8124 GB, free: 44.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.7597, allocations: 427.3 kB / 0.8128 GB, free: 43.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.7741, allocations: 22.76 MB / 0.8351 GB, free: 19.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.7761, allocations: 123.9 kB / 0.8352 GB, free: 19.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.7763, allocations: 95.98 kB / 0.8353 GB, free: 19.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.7785, allocations: 1.645 MB / 0.8369 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.7789, allocations: 253.1 kB / 0.8371 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.7835, allocations: 3.267 MB / 0.8403 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7835, allocations: 16 kB / 0.8403 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.7835, allocations: 12 kB / 0.8403 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.7835, allocations: 7.969 kB / 0.8403 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.7938, allocations: 7.553 MB / 0.8477 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.7939, allocations: 8.094 kB / 0.8477 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.7947, allocations: 215.7 kB / 0.8479 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/0.7967, allocations: 0.9002 MB / 0.8488 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.7969, allocations: 32 kB / 0.8488 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.8157, allocations: 22.71 MB / 0.871 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.8157, allocations: 8 kB / 0.871 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.8217, allocations: 3.383 MB / 0.8743 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.8231, allocations: 0.5292 MB / 0.8749 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/0.8238, allocations: 32.19 kB / 0.8749 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.8254, allocations: 99.88 kB / 0.875 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/0.8258, allocations: 140.9 kB / 0.8751 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.826, allocations: 47.94 kB / 0.8752 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002263/0.8283, allocations: 1.225 MB / 0.8764 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8283, allocations: 3.938 kB / 0.8764 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00315/0.8314, allocations: 0.9101 MB / 0.8772 GB, free: 6.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003606/0.8318, allocations: 155 kB / 0.8774 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006392/0.8382, allocations: 4.429 MB / 0.8817 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.8382, allocations: 0 / 0.8817 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00431/0.8426, allocations: 2.991 MB / 0.8846 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/0.8469, allocations: 0.8264 MB / 0.8854 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.8629, allocations: 8.206 MB / 0.8935 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004381/0.8673, allocations: 3.278 MB / 0.8967 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.8681, allocations: 155.4 kB / 0.8968 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of SimCode: time 1.382e-06/0.8681, allocations: 0 / 0.8968 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.5916/1.46, allocations: 339.9 MB / 1.229 GB, free: 68.64 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)