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.008082/0.008082, allocations: 101.8 kB / 15.73 MB, free: 6.48 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.002003/0.002003, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 283 kB / 290.8 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9634/0.9634, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1685, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3652/0.5337, allocations: 37.94 MB / 0.8035 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.5545, allocations: 10.99 MB / 0.8142 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.559, allocations: 157 kB / 0.8143 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.5705, allocations: 4.367 MB / 0.8186 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008336/0.5789, allocations: 2.335 MB / 0.8209 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006893/0.5858, allocations: 2.163 MB / 0.823 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01361/0.5994, allocations: 9.297 MB / 0.8321 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02074/0.6202, allocations: 11.27 MB / 0.8431 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008344/0.6286, allocations: 4.049 MB / 0.847 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/0.6372, allocations: 4.513 MB / 0.8514 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002974/0.6402, allocations: 0.8203 MB / 0.8522 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.6458, allocations: 1.592 MB / 0.8538 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00487/0.6507, allocations: 3.146 MB / 0.8569 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007948/0.6587, allocations: 3.657 MB / 0.8604 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/0.6749, allocations: 12.32 MB / 0.8725 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.675, allocations: 0 / 0.8725 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.924e-06/0.675, allocations: 3.938 kB / 0.8725 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003893/0.6754, allocations: 0 / 0.8725 GB, free: 7.297 MB / 0.6231 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.01662/0.692, allocations: 6.322 MB / 0.8786 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.6921, allocations: 12.03 kB / 0.8787 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005889/0.698, allocations: 1.059 MB / 0.8797 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006928/0.7049, allocations: 3.614 MB / 0.8832 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.7053, allocations: 427.7 kB / 0.8836 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.7069, allocations: 0.5432 MB / 0.8842 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.7269, allocations: 9.386 MB / 0.8933 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.7271, allocations: 19.86 kB / 0.8933 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.7284, allocations: 244 kB / 0.8936 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000629/0.729, allocations: 422.9 kB / 0.894 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.7444, allocations: 7.12 MB / 0.9009 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.047/0.7914, allocations: 41 MB / 0.941 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.7962, allocations: 3.108 MB / 0.944 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.7992, allocations: 2.153 MB / 0.9461 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.7994, allocations: 22 kB / 0.9461 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.7995, allocations: 72.34 kB / 0.9462 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=209): time 4.759e-06/0.7995, allocations: 0 / 0.9462 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=212): time 0.02451/0.824, allocations: 10.55 MB / 0.9565 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.8241, allocations: 77.34 kB / 0.9566 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.8273, allocations: 1.998 MB / 0.9585 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.8275, allocations: 69.64 kB / 0.9586 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.829, allocations: 2.408 MB / 0.9609 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/0.8297, allocations: 0.7316 MB / 0.9617 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009256/0.8307, allocations: 481.2 kB / 0.9621 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8308, allocations: 305.1 kB / 0.9624 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.8329, allocations: 1.372 MB / 0.9637 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.8356, allocations: 2.1 MB / 0.9658 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005771/0.8414, allocations: 3.77 MB / 0.9695 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.36e-05/0.8415, allocations: 8 kB / 0.9695 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009525/0.851, allocations: 5.072 MB / 0.9744 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.8511, allocations: 12 kB / 0.9745 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/0.8511, allocations: 24.84 kB / 0.9745 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/0.8548, allocations: 1.584 MB / 0.976 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.8567, allocations: 451.3 kB / 0.9765 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/0.8805, allocations: 18.57 MB / 0.9946 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.8831, allocations: 151.8 kB / 0.9947 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.8835, allocations: 108 kB / 0.9948 GB, free: 4.34 MB / 0.7481 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.003741/0.8873, allocations: 1.938 MB / 0.9967 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008287/0.8881, allocations: 292.6 kB / 0.997 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007985/0.8961, allocations: 4.455 MB / 1.001 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.8961, allocations: 20 kB / 1.001 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-05/0.8962, allocations: 20 kB / 1.001 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/0.8962, allocations: 12.05 kB / 1.001 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.9127, allocations: 9.676 MB / 1.011 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.9128, allocations: 4 kB / 1.011 GB, free: 3.742 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.9138, allocations: 235.6 kB / 1.011 GB, free: 3.512 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003398/0.9172, allocations: 1.427 MB / 1.012 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.9174, allocations: 43.98 kB / 1.013 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/0.9396, allocations: 18.55 MB / 1.031 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.9397, allocations: 4 kB / 1.031 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007718/0.9474, allocations: 4.548 MB / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.949, allocations: 0.6304 MB / 1.036 GB, free: 9.617 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007558/0.9498, allocations: 39.91 kB / 1.036 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.9516, allocations: 115.9 kB / 1.036 GB, free: 9.465 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/0.9523, allocations: 185.4 kB / 1.036 GB, free: 9.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.9525, allocations: 60 kB / 1.036 GB, free: 9.227 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002538/0.955, allocations: 1.319 MB / 1.037 GB, free: 7.898 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.3e-07/0.955, allocations: 0 / 1.037 GB, free: 7.898 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004022/0.959, allocations: 1.141 MB / 1.038 GB, free: 6.758 MB / 0.795 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.0003648/0.9594, allocations: 167 kB / 1.039 GB, free: 6.586 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007088/0.9665, allocations: 4.711 MB / 1.043 GB, free: 1.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.9665, allocations: 4 kB / 1.043 GB, free: 1.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/0.9709, allocations: 2.922 MB / 1.046 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/0.9749, allocations: 0.8964 MB / 1.047 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.9923, allocations: 9.263 MB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005167/0.9976, allocations: 3.69 MB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00206/0.9996, allocations: 0.5479 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1, allocations: 159.3 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of SimCode: time 1.132e-06/1, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of Templates: time 0.4441/1.444, allocations: 51.66 MB / 1.111 GB, free: 266.4 MB / 0.8419 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)