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.001225/0.001225, allocations: 112.9 kB / 17.08 MB, free: 5.785 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.001254/0.001254, allocations: 200.2 kB / 18.02 MB, free: 4.918 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.271/1.271, 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.6936/0.6936, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 69.58 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 76.18 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0354/0.1666, allocations: 35.1 MB / 0.667 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.1828, allocations: 9.956 MB / 0.6767 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.1862, allocations: 147.2 kB / 0.6769 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009156/0.1954, allocations: 3.808 MB / 0.6806 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.2015, allocations: 2.142 MB / 0.6827 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004922/0.2064, allocations: 1.965 MB / 0.6846 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009227/0.2156, allocations: 7.99 MB / 0.6924 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.2268, allocations: 9.522 MB / 0.7017 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/0.2323, allocations: 3.424 MB / 0.7051 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005804/0.2381, allocations: 3.73 MB / 0.7087 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001791/0.24, allocations: 0.6797 MB / 0.7094 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.2435, allocations: 1.447 MB / 0.7108 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003239/0.2468, allocations: 2.616 MB / 0.7133 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005326/0.2521, allocations: 3.104 MB / 0.7164 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.263, allocations: 10.38 MB / 0.7265 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2631, allocations: 0 / 0.7265 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2631, allocations: 0 / 0.7265 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002877/0.2634, allocations: 0 / 0.7265 GB, free: 3.992 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.01285/0.2762, allocations: 5.408 MB / 0.7318 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2763, allocations: 12.03 kB / 0.7318 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005833/0.2821, allocations: 0.9665 MB / 0.7327 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00708/0.2893, allocations: 3.174 MB / 0.7358 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.2897, allocations: 361.9 kB / 0.7362 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.2913, allocations: 468.2 kB / 0.7366 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.3091, allocations: 7.922 MB / 0.7444 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/0.3094, allocations: 19.88 kB / 0.7444 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/0.3106, allocations: 204 kB / 0.7446 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/0.3113, allocations: 369.1 kB / 0.7449 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3144/0.6257, allocations: 5.933 MB / 0.7507 GB, free: 97.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/0.6625, allocations: 35.94 MB / 0.7858 GB, free: 66.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.6659, allocations: 2.146 MB / 0.7879 GB, free: 65.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.6676, allocations: 1.48 MB / 0.7894 GB, free: 64.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.6677, allocations: 16.72 kB / 0.7894 GB, free: 64.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.6678, allocations: 56.38 kB / 0.7894 GB, free: 64.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 4.077e-06/0.6678, allocations: 3.906 kB / 0.7894 GB, free: 64.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01272/0.6805, allocations: 7.535 MB / 0.7968 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.6806, allocations: 71.84 kB / 0.7969 GB, free: 59.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.6834, allocations: 1.861 MB / 0.7987 GB, free: 58.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.6837, allocations: 53.36 kB / 0.7987 GB, free: 58.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.6845, allocations: 2.127 MB / 0.8008 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/0.685, allocations: 0.5581 MB / 0.8014 GB, free: 56.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006684/0.6857, allocations: 407.8 kB / 0.8017 GB, free: 56.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.522e-05/0.6857, allocations: 301.1 kB / 0.802 GB, free: 55.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.687, allocations: 1.058 MB / 0.8031 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.6885, allocations: 1.765 MB / 0.8048 GB, free: 52.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.6913, allocations: 3.052 MB / 0.8078 GB, free: 49.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.6913, allocations: 8 kB / 0.8078 GB, free: 49.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005298/0.6966, allocations: 3.921 MB / 0.8116 GB, free: 45.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.6967, allocations: 15.94 kB / 0.8116 GB, free: 45.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.6967, allocations: 24 kB / 0.8116 GB, free: 45.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.6988, allocations: 0.9359 MB / 0.8126 GB, free: 44.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7003, allocations: 427.3 kB / 0.813 GB, free: 43.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.7149, allocations: 22.76 MB / 0.8352 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.7171, allocations: 119.9 kB / 0.8353 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.7174, allocations: 99.98 kB / 0.8354 GB, free: 19.18 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.002509/0.7199, allocations: 1.645 MB / 0.837 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.7206, allocations: 253.1 kB / 0.8372 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.7253, allocations: 3.271 MB / 0.8404 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.7254, allocations: 16 kB / 0.8405 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/0.7254, allocations: 11.98 kB / 0.8405 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7254, allocations: 7.984 kB / 0.8405 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.7368, allocations: 7.556 MB / 0.8479 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.7369, allocations: 4 kB / 0.8479 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/0.7377, allocations: 211.7 kB / 0.8481 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.7397, allocations: 0.896 MB / 0.8489 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.7399, allocations: 35.47 kB / 0.849 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.7596, allocations: 22.72 MB / 0.8712 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.7596, allocations: 8 kB / 0.8712 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005924/0.7655, allocations: 3.386 MB / 0.8745 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.7668, allocations: 0.5292 MB / 0.875 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005738/0.7674, allocations: 32 kB / 0.875 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.7688, allocations: 95.88 kB / 0.8751 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004179/0.7692, allocations: 137 kB / 0.8752 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.7693, allocations: 48 kB / 0.8753 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002103/0.7714, allocations: 1.229 MB / 0.8765 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7715, allocations: 3.938 kB / 0.8765 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003243/0.7747, allocations: 0.9062 MB / 0.8774 GB, free: 6.172 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.0003264/0.775, allocations: 159.6 kB / 0.8775 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006547/0.7816, allocations: 4.425 MB / 0.8818 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.7816, allocations: 0 / 0.8818 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/0.7859, allocations: 2.995 MB / 0.8848 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.7901, allocations: 0.8194 MB / 0.8856 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.8064, allocations: 8.206 MB / 0.8936 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004746/0.8112, allocations: 3.285 MB / 0.8968 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/0.812, allocations: 155.4 kB / 0.8969 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.812, allocations: 0 / 0.8969 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of Templates: time 0.5357/1.348, allocations: 339.9 MB / 1.229 GB, free: 68.52 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)