Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001387/0.001387, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001414/0.001414, allocations: 188.7 kB / 16.25 MB, free: 6.59 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 290.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 92.72 kB / 0.5947 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1651, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03578/0.2009, allocations: 34.79 MB / 0.7136 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.2174, allocations: 9.846 MB / 0.7232 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.2208, allocations: 131.3 kB / 0.7234 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009677/0.2305, allocations: 3.563 MB / 0.7268 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.2374, allocations: 1.882 MB / 0.7287 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00608/0.2436, allocations: 1.789 MB / 0.7304 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.2545, allocations: 7.99 MB / 0.7382 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01914/0.2737, allocations: 11.71 MB / 0.7497 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006632/0.2804, allocations: 3.419 MB / 0.753 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006509/0.2869, allocations: 3.906 MB / 0.7568 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002296/0.2892, allocations: 0.6797 MB / 0.7575 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004178/0.2934, allocations: 1.447 MB / 0.7589 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004244/0.2977, allocations: 2.608 MB / 0.7614 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006566/0.3043, allocations: 3.108 MB / 0.7645 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3137/0.618, allocations: 10.38 MB / 0.7746 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6181, allocations: 0.7188 kB / 0.7746 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6181, allocations: 0.75 kB / 0.7746 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003265/0.6184, allocations: 0 / 0.7746 GB, free: 37.25 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.01192/0.6303, allocations: 5.41 MB / 0.7799 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6304, allocations: 9.031 kB / 0.7799 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.6352, allocations: 0.9578 MB / 0.7808 GB, free: 35.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.6406, allocations: 2.993 MB / 0.7838 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.6409, allocations: 360.5 kB / 0.7841 GB, free: 34.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008192/0.6417, allocations: 473.7 kB / 0.7846 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.6574, allocations: 7.9 MB / 0.7923 GB, free: 33.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000213/0.6577, allocations: 23.69 kB / 0.7923 GB, free: 33.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/0.6588, allocations: 208.7 kB / 0.7925 GB, free: 33.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005486/0.6594, allocations: 369.6 kB / 0.7928 GB, free: 33.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.6707, allocations: 5.934 MB / 0.7986 GB, free: 33.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.7018, allocations: 36.22 MB / 0.834 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.7046, allocations: 2.136 MB / 0.8361 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.7061, allocations: 1.479 MB / 0.8375 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.7063, allocations: 20.72 kB / 0.8376 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7063, allocations: 56.09 kB / 0.8376 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.717e-06/0.7063, allocations: 0 / 0.8376 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01222/0.7185, allocations: 7.541 MB / 0.845 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.7186, allocations: 68.34 kB / 0.845 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.7211, allocations: 1.86 MB / 0.8469 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7213, allocations: 53.52 kB / 0.8469 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.7225, allocations: 2.131 MB / 0.849 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/0.7229, allocations: 0.5579 MB / 0.8495 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005759/0.7235, allocations: 399.9 kB / 0.8499 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.7236, allocations: 305.1 kB / 0.8502 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.725, allocations: 1.066 MB / 0.8512 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.7268, allocations: 1.755 MB / 0.853 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.7302, allocations: 3.053 MB / 0.8559 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/0.7302, allocations: 7.906 kB / 0.8559 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005678/0.7359, allocations: 3.927 MB / 0.8598 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.7359, allocations: 15.19 kB / 0.8598 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.7359, allocations: 26.83 kB / 0.8598 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.7382, allocations: 0.9341 MB / 0.8607 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.7396, allocations: 422.8 kB / 0.8611 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.7582, allocations: 22.76 MB / 0.8834 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.7601, allocations: 131.9 kB / 0.8835 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.7604, allocations: 92 kB / 0.8836 GB, free: 12.86 MB / 0.6075 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.002541/0.7629, allocations: 1.647 MB / 0.8852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/0.7635, allocations: 257 kB / 0.8854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/0.7686, allocations: 3.268 MB / 0.8886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.7686, allocations: 16 kB / 0.8886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/0.7686, allocations: 8 kB / 0.8886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.7687, allocations: 7.969 kB / 0.8887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.7811, allocations: 7.559 MB / 0.896 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.7811, allocations: 4 kB / 0.896 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/0.782, allocations: 221.5 kB / 0.8963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/0.7842, allocations: 0.9013 MB / 0.8971 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.7843, allocations: 30.81 kB / 0.8972 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/0.8033, allocations: 22.74 MB / 0.9194 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.8033, allocations: 9.766 kB / 0.9194 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.8093, allocations: 3.38 MB / 0.9227 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.8107, allocations: 0.5253 MB / 0.9232 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/0.8115, allocations: 35.98 kB / 0.9232 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.8129, allocations: 95.83 kB / 0.9233 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.8134, allocations: 139.4 kB / 0.9234 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.8135, allocations: 47.98 kB / 0.9235 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002022/0.8156, allocations: 1.221 MB / 0.9247 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8156, allocations: 0 / 0.9247 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003342/0.8189, allocations: 0.9062 MB / 0.9256 GB, free: 132 kB / 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 (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.0003117/0.8192, allocations: 168.5 kB / 0.9257 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008358/0.8276, allocations: 5.203 MB / 0.9308 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.8276, allocations: 0 / 0.9308 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/0.8316, allocations: 2.993 MB / 0.9337 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/0.836, allocations: 0.8222 MB / 0.9345 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.8502, allocations: 9.703 MB / 0.944 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003962/0.8542, allocations: 3.213 MB / 0.9472 GB, free: 9.789 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002053/0.8563, allocations: 0.5215 MB / 0.9477 GB, free: 9.262 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.8568, allocations: 139.4 kB / 0.9478 GB, free: 9.125 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.8568, allocations: 4 kB / 0.9478 GB, free: 9.121 MB / 0.67 GB Notification: Performance of Templates: time 0.06877/0.9256, allocations: 43.18 MB / 0.99 GB, free: 14.71 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)