Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001574/0.001574, allocations: 101.6 kB / 15.99 MB, free: 6.367 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.001253/0.001253, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.362/1.362, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002438/0.002438, allocations: 275.4 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.192/1.192, allocations: 178.5 MB / 0.5076 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 99.83 kB / 0.6066 GB, free: 9.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1623, allocations: 89.13 MB / 0.6936 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2884/0.4508, allocations: 37.59 MB / 0.7303 GB, free: 33.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.465, allocations: 10.9 MB / 0.741 GB, free: 26.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.4679, allocations: 138.8 kB / 0.7411 GB, free: 26.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.008239/0.4762, allocations: 4.103 MB / 0.7451 GB, free: 23.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.4812, allocations: 2.039 MB / 0.7471 GB, free: 22.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.4853, allocations: 1.978 MB / 0.749 GB, free: 21.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007793/0.4931, allocations: 9.295 MB / 0.7581 GB, free: 17.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01606/0.5092, allocations: 13.57 MB / 0.7714 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/0.5148, allocations: 4.056 MB / 0.7753 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007012/0.5218, allocations: 4.721 MB / 0.78 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.524, allocations: 0.8217 MB / 0.7808 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.5281, allocations: 1.59 MB / 0.7823 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00391/0.532, allocations: 3.141 MB / 0.7854 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006407/0.5385, allocations: 3.659 MB / 0.7889 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.5505, allocations: 10.53 MB / 0.7992 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5505, allocations: 0 / 0.7992 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5505, allocations: 0 / 0.7992 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003006/0.5508, allocations: 1.094 kB / 0.7992 GB, free: 14.92 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0166/0.5674, allocations: 6.318 MB / 0.8054 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5675, allocations: 8.031 kB / 0.8054 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005598/0.5731, allocations: 1.067 MB / 0.8065 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006435/0.5795, allocations: 3.423 MB / 0.8098 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003256/0.5799, allocations: 423.8 kB / 0.8102 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.5809, allocations: 0.5394 MB / 0.8107 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.5984, allocations: 9.377 MB / 0.8199 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.5986, allocations: 27.7 kB / 0.8199 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007311/0.5993, allocations: 244 kB / 0.8201 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000736/0.6001, allocations: 422.9 kB / 0.8205 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.6155, allocations: 7.12 MB / 0.8275 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05325/0.6688, allocations: 41.33 MB / 0.8679 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/0.6744, allocations: 3.111 MB / 0.8709 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/0.678, allocations: 2.141 MB / 0.873 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.6782, allocations: 22 kB / 0.873 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.6783, allocations: 60.56 kB / 0.8731 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=209): time 4.378e-06/0.6783, allocations: 0 / 0.8731 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=212): time 0.02665/0.7049, allocations: 10.55 MB / 0.8834 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.705, allocations: 77.34 kB / 0.8834 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.7086, allocations: 2.009 MB / 0.8854 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002676/0.7089, allocations: 65.7 kB / 0.8855 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.711, allocations: 2.408 MB / 0.8878 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008644/0.7119, allocations: 0.7279 MB / 0.8885 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009511/0.7128, allocations: 477.2 kB / 0.889 GB, free: 172 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.713, allocations: 305.1 kB / 0.8893 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.7153, allocations: 1.372 MB / 0.8906 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.7183, allocations: 2.1 MB / 0.8927 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005473/0.7238, allocations: 3.77 MB / 0.8963 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/0.7238, allocations: 8 kB / 0.8964 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009338/0.7331, allocations: 5.076 MB / 0.9013 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.7332, allocations: 12 kB / 0.9013 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.7332, allocations: 24 kB / 0.9013 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003774/0.737, allocations: 1.59 MB / 0.9029 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.7388, allocations: 455.2 kB / 0.9033 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/0.7644, allocations: 18.59 MB / 0.9215 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.7668, allocations: 148 kB / 0.9216 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.7671, allocations: 104 kB / 0.9217 GB, free: 13.41 MB / 0.6856 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.003671/0.7708, allocations: 1.945 MB / 0.9236 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.7715, allocations: 292.7 kB / 0.9239 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.7796, allocations: 4.454 MB / 0.9283 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.7796, allocations: 20 kB / 0.9283 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.831e-05/0.7797, allocations: 20 kB / 0.9283 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.7797, allocations: 7.969 kB / 0.9283 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.7985, allocations: 9.66 MB / 0.9377 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.7986, allocations: 7.938 kB / 0.9377 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.7996, allocations: 227.7 kB / 0.938 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/0.8033, allocations: 1.442 MB / 0.9394 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.8035, allocations: 44 kB / 0.9394 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/0.8285, allocations: 18.59 MB / 0.9576 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8285, allocations: 4 kB / 0.9576 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008048/0.8366, allocations: 4.544 MB / 0.962 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.8383, allocations: 0.6342 MB / 0.9626 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/0.8387, allocations: 43.88 kB / 0.9627 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.8401, allocations: 119.9 kB / 0.9628 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/0.8406, allocations: 185.6 kB / 0.963 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.8407, allocations: 56 kB / 0.963 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001994/0.8427, allocations: 1.315 MB / 0.9643 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.8427, allocations: 0 / 0.9643 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003486/0.8462, allocations: 1.141 MB / 0.9654 GB, free: 15.79 MB / 0.7325 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.0003335/0.8466, allocations: 167 kB / 0.9656 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.8572, allocations: 5.903 MB / 0.9713 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.8572, allocations: 4 kB / 0.9713 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.8623, allocations: 2.926 MB / 0.9742 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.8664, allocations: 0.8886 MB / 0.9751 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.8866, allocations: 12.54 MB / 0.9873 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00499/0.8916, allocations: 3.792 MB / 0.991 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007822/0.8924, allocations: 163.4 kB / 0.9912 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.8924, allocations: 0 / 0.9912 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of Templates: time 0.4203/1.313, allocations: 171.8 MB / 1.159 GB, free: 111.3 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)