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.001319/0.00132, allocations: 102.2 kB / 15.98 MB, free: 6.344 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.001196/0.001196, allocations: 191.6 kB / 16.9 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.794/0.794, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 55.91 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4023, allocations: 77.92 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03282/0.4352, allocations: 34.78 MB / 0.6007 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.4502, allocations: 9.859 MB / 0.6103 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.454, allocations: 127.3 kB / 0.6104 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009822/0.4639, allocations: 3.562 MB / 0.6139 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.4706, allocations: 1.878 MB / 0.6157 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005698/0.4763, allocations: 1.794 MB / 0.6175 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009792/0.4861, allocations: 8.001 MB / 0.6253 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01844/0.5046, allocations: 11.69 MB / 0.6367 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.5105, allocations: 3.423 MB / 0.6401 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.5165, allocations: 3.91 MB / 0.6439 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.5186, allocations: 0.6835 MB / 0.6445 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.5225, allocations: 1.443 MB / 0.646 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00389/0.5264, allocations: 2.616 MB / 0.6485 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006815/0.5333, allocations: 3.104 MB / 0.6515 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.5473, allocations: 10.38 MB / 0.6617 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5474, allocations: 0 / 0.6617 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5474, allocations: 0 / 0.6617 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003009/0.5477, allocations: 4 kB / 0.6617 GB, free: 9.477 MB / 0.4981 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.01496/0.5626, allocations: 5.407 MB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.5627, allocations: 8.625 kB / 0.667 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006496/0.5692, allocations: 0.9587 MB / 0.6679 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006371/0.5756, allocations: 2.999 MB / 0.6708 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.576, allocations: 353.9 kB / 0.6712 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.5777, allocations: 472.2 kB / 0.6716 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.599, allocations: 7.91 MB / 0.6793 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/0.5994, allocations: 19.81 kB / 0.6794 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/0.601, allocations: 211.9 kB / 0.6796 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006967/0.6017, allocations: 365.1 kB / 0.6799 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.615, allocations: 5.937 MB / 0.6857 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/0.6594, allocations: 36.22 MB / 0.7211 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004343/0.6638, allocations: 2.142 MB / 0.7232 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.6661, allocations: 1.482 MB / 0.7246 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.6662, allocations: 17.3 kB / 0.7246 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.6663, allocations: 59.81 kB / 0.7247 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.256e-06/0.6663, allocations: 4 kB / 0.7247 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01493/0.6813, allocations: 7.529 MB / 0.7321 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.6814, allocations: 68.72 kB / 0.7321 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/0.685, allocations: 1.868 MB / 0.7339 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.6852, allocations: 53.7 kB / 0.734 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.6869, allocations: 2.123 MB / 0.7361 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006755/0.6876, allocations: 0.5546 MB / 0.7366 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000839/0.6884, allocations: 399.7 kB / 0.737 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6885, allocations: 305.1 kB / 0.7373 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.6903, allocations: 1.062 MB / 0.7383 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.6926, allocations: 1.764 MB / 0.74 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.6967, allocations: 3.052 MB / 0.743 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.6967, allocations: 8 kB / 0.743 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.3108/1.007, allocations: 3.914 MB / 0.7469 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.008, allocations: 18.31 kB / 0.7469 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.008, allocations: 25.06 kB / 0.7469 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/1.01, allocations: 0.9273 MB / 0.7478 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.012, allocations: 427.8 kB / 0.7482 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.031, allocations: 22.77 MB / 0.7704 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/1.033, allocations: 128.2 kB / 0.7706 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.033, allocations: 93.56 kB / 0.7707 GB, free: 132.9 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.002603/1.036, allocations: 1.65 MB / 0.7723 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/1.036, allocations: 252.7 kB / 0.7725 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/1.041, allocations: 3.26 MB / 0.7757 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.041, allocations: 20.19 kB / 0.7757 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/1.041, allocations: 14.19 kB / 0.7757 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.041, allocations: 11.39 kB / 0.7757 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.052, allocations: 7.546 MB / 0.7831 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.052, allocations: 4.375 kB / 0.7831 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/1.053, allocations: 219 kB / 0.7833 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/1.055, allocations: 0.8979 MB / 0.7842 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.055, allocations: 39.03 kB / 0.7842 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/1.071, allocations: 22.73 MB / 0.8064 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.071, allocations: 11.97 kB / 0.8064 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/1.075, allocations: 3.376 MB / 0.8097 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.077, allocations: 0.5315 MB / 0.8103 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.077, allocations: 34.31 kB / 0.8103 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.078, allocations: 91.98 kB / 0.8104 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/1.078, allocations: 141.9 kB / 0.8105 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/1.079, allocations: 44.78 kB / 0.8106 GB, free: 104 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001442/1.08, allocations: 1.227 MB / 0.8118 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.08, allocations: 0 / 0.8118 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003089/1.083, allocations: 0.9102 MB / 0.8126 GB, free: 101.9 MB / 0.5762 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.0002676/1.083, allocations: 155.5 kB / 0.8128 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006949/1.09, allocations: 5.201 MB / 0.8179 GB, free: 96.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.09, allocations: 8.062 kB / 0.8179 GB, free: 96.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003474/1.094, allocations: 2.986 MB / 0.8208 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.097, allocations: 0.8153 MB / 0.8216 GB, free: 92.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.108, allocations: 9.713 MB / 0.8311 GB, free: 82.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/1.111, allocations: 3.207 MB / 0.8342 GB, free: 79.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001984/1.113, allocations: 0.5293 MB / 0.8347 GB, free: 79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.113, allocations: 139.4 kB / 0.8349 GB, free: 78.87 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.113, allocations: 0 / 0.8349 GB, free: 78.87 MB / 0.5762 GB Notification: Performance of Templates: time 0.06185/1.175, allocations: 43.15 MB / 0.877 GB, free: 36.41 MB / 0.5762 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)