Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 112.7 kB / 17.08 MB, free: 5.828 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.001296/0.001296, allocations: 196.7 kB / 18.02 MB, free: 4.938 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6954/0.6954, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 66.83 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1232, allocations: 76.19 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03802/0.1612, allocations: 37.93 MB / 0.6698 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.1784, allocations: 10.99 MB / 0.6805 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.182, allocations: 155.2 kB / 0.6807 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.1923, allocations: 4.358 MB / 0.6849 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.1984, allocations: 2.223 MB / 0.6871 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005423/0.2038, allocations: 2.165 MB / 0.6892 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.2145, allocations: 9.288 MB / 0.6983 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01528/0.2298, allocations: 11.28 MB / 0.7093 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006428/0.2362, allocations: 4.047 MB / 0.7133 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007355/0.2436, allocations: 4.51 MB / 0.7177 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002738/0.2464, allocations: 0.8203 MB / 0.7185 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.251, allocations: 1.584 MB / 0.72 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005102/0.2562, allocations: 3.15 MB / 0.7231 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008396/0.2646, allocations: 3.657 MB / 0.7267 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.2782, allocations: 12.31 MB / 0.7387 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.2782, allocations: 0 / 0.7387 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2783, allocations: 4 kB / 0.7387 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003545/0.2786, allocations: 0 / 0.7387 GB, free: 7.5 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01427/0.2929, allocations: 6.314 MB / 0.7449 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.293, allocations: 12.03 kB / 0.7449 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.2979, allocations: 1.067 MB / 0.7459 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3167/0.6146, allocations: 3.604 MB / 0.7494 GB, free: 97.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.6151, allocations: 422.2 kB / 0.7498 GB, free: 97.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/0.6175, allocations: 0.5452 MB / 0.7504 GB, free: 97.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.6355, allocations: 9.38 MB / 0.7595 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.6356, allocations: 21.59 kB / 0.7595 GB, free: 93.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006065/0.6362, allocations: 243.8 kB / 0.7598 GB, free: 93.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007316/0.637, allocations: 419.4 kB / 0.7602 GB, free: 93.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.6485, allocations: 7.136 MB / 0.7671 GB, free: 89.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02908/0.6777, allocations: 41 MB / 0.8072 GB, free: 49.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.6809, allocations: 3.109 MB / 0.8102 GB, free: 46.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.6829, allocations: 2.152 MB / 0.8123 GB, free: 44.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.683, allocations: 22 kB / 0.8123 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.6831, allocations: 68.56 kB / 0.8124 GB, free: 44.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.847e-06/0.6831, allocations: 0 / 0.8124 GB, free: 44.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.01904/0.7021, allocations: 10.55 MB / 0.8227 GB, free: 33.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.7022, allocations: 77.41 kB / 0.8228 GB, free: 33.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.7041, allocations: 2.005 MB / 0.8247 GB, free: 31.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.7042, allocations: 65.7 kB / 0.8248 GB, free: 31.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.705, allocations: 2.4 MB / 0.8271 GB, free: 29.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.7054, allocations: 0.7299 MB / 0.8279 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005815/0.706, allocations: 485.2 kB / 0.8283 GB, free: 27.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.706, allocations: 305.1 kB / 0.8286 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.7074, allocations: 1.376 MB / 0.83 GB, free: 26.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.7091, allocations: 2.104 MB / 0.832 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.7124, allocations: 3.768 MB / 0.8357 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.7124, allocations: 8 kB / 0.8357 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005997/0.7184, allocations: 5.061 MB / 0.8406 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.7184, allocations: 12 kB / 0.8406 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.7184, allocations: 27.98 kB / 0.8407 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.7212, allocations: 1.586 MB / 0.8422 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.7226, allocations: 455.2 kB / 0.8427 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.7399, allocations: 18.58 MB / 0.8608 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.742, allocations: 143.9 kB / 0.8609 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.7422, allocations: 108 kB / 0.861 GB, free: 9.234 MB / 0.5919 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002679/0.7449, allocations: 1.949 MB / 0.8629 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.7453, allocations: 288.6 kB / 0.8632 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/0.7518, allocations: 4.447 MB / 0.8676 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.7518, allocations: 20 kB / 0.8676 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.7518, allocations: 20 kB / 0.8676 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.7518, allocations: 11.95 kB / 0.8676 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.7661, allocations: 9.665 MB / 0.8771 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.7662, allocations: 4 kB / 0.8771 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.7671, allocations: 239 kB / 0.8773 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.7701, allocations: 1.426 MB / 0.8787 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.7703, allocations: 44.12 kB / 0.8787 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/0.7907, allocations: 18.56 MB / 0.8968 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7908, allocations: 7.938 kB / 0.8969 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/0.7972, allocations: 4.549 MB / 0.9013 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.7987, allocations: 0.6344 MB / 0.9019 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.7991, allocations: 36 kB / 0.9019 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.8003, allocations: 123.8 kB / 0.9021 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/0.8007, allocations: 181.6 kB / 0.9022 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.8008, allocations: 56 kB / 0.9023 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00158/0.8024, allocations: 1.319 MB / 0.9036 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8024, allocations: 0 / 0.9036 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002753/0.8052, allocations: 1.141 MB / 0.9047 GB, free: 11.7 MB / 0.6387 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.8055, allocations: 165.6 kB / 0.9049 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006412/0.8119, allocations: 4.709 MB / 0.9095 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.8119, allocations: 4 kB / 0.9095 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/0.8159, allocations: 2.922 MB / 0.9123 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/0.8194, allocations: 0.8929 MB / 0.9132 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.8354, allocations: 10.04 MB / 0.923 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/0.8397, allocations: 3.784 MB / 0.9267 GB, free: 5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/0.8405, allocations: 167.4 kB / 0.9268 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of SimCode: time 1.774e-06/0.8405, allocations: 0 / 0.9268 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of Templates: time 0.4469/1.287, allocations: 172.7 MB / 1.096 GB, free: 206.9 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)