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.0009097/0.0009096, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.007761/0.007761, allocations: 179.3 kB / 16.26 MB, free: 6.605 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: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 275 kB / 291.7 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.963/0.963, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004538, allocations: 13.53 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03803/0.2096, allocations: 36.71 MB / 0.721 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.2264, allocations: 10.86 MB / 0.7316 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/0.2296, allocations: 127.3 kB / 0.7317 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.2319, allocations: 0.783 MB / 0.7325 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.2382, allocations: 2.096 MB / 0.7345 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.2428, allocations: 1.784 MB / 0.7363 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01419/0.257, allocations: 13.18 MB / 0.7492 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3318/0.5888, allocations: 14.45 MB / 0.7633 GB, free: 21.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007294/0.5962, allocations: 2.837 MB / 0.766 GB, free: 21.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007678/0.6039, allocations: 3.878 MB / 0.7698 GB, free: 20.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.6052, allocations: 348.2 kB / 0.7702 GB, free: 20.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.6085, allocations: 1.33 MB / 0.7715 GB, free: 20.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.6113, allocations: 2.527 MB / 0.7739 GB, free: 20.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003622/0.615, allocations: 2.965 MB / 0.7768 GB, free: 19.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.6266, allocations: 11.68 MB / 0.7882 GB, free: 18.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6266, allocations: 0 / 0.7882 GB, free: 18.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6266, allocations: 1.156 kB / 0.7882 GB, free: 18.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003234/0.6269, allocations: 0 / 0.7882 GB, free: 18.48 MB / 0.545 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.01378/0.6407, allocations: 5.09 MB / 0.7932 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6408, allocations: 8.875 kB / 0.7932 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/0.6484, allocations: 1.063 MB / 0.7942 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/0.6558, allocations: 3.423 MB / 0.7976 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/0.6562, allocations: 426 kB / 0.798 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.6579, allocations: 0.5412 MB / 0.7985 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.6738, allocations: 9.374 MB / 0.8077 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.6739, allocations: 27.34 kB / 0.8077 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006347/0.6746, allocations: 250.8 kB / 0.8079 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005283/0.6751, allocations: 420.9 kB / 0.8083 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.6862, allocations: 7.128 MB / 0.8153 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.7284, allocations: 41.36 MB / 0.8557 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004478/0.7329, allocations: 3.108 MB / 0.8587 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.7356, allocations: 2.112 MB / 0.8608 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.7358, allocations: 26 kB / 0.8608 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.7358, allocations: 60.56 kB / 0.8609 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 4.087e-06/0.7358, allocations: 3.75 kB / 0.8609 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02601/0.7618, allocations: 10.61 MB / 0.8713 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.7619, allocations: 77.34 kB / 0.8713 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.7649, allocations: 2.005 MB / 0.8733 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/0.7652, allocations: 65.7 kB / 0.8733 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.7667, allocations: 2.404 MB / 0.8757 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007122/0.7674, allocations: 0.7262 MB / 0.8764 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.7677, allocations: 207.1 kB / 0.8766 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.7678, allocations: 305.1 kB / 0.8769 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.7698, allocations: 1.376 MB / 0.8782 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.7721, allocations: 2.103 MB / 0.8803 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004604/0.7768, allocations: 3.77 MB / 0.884 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.7768, allocations: 7.938 kB / 0.884 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007971/0.7848, allocations: 5.07 MB / 0.8889 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.7848, allocations: 18.03 kB / 0.8889 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.7849, allocations: 20.88 kB / 0.889 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003539/0.7884, allocations: 1.59 MB / 0.8905 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.7903, allocations: 456.8 kB / 0.891 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/0.811, allocations: 17.09 MB / 0.9076 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.814, allocations: 151.9 kB / 0.9078 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.8143, allocations: 104 kB / 0.9079 GB, free: 13.51 MB / 0.6387 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.004056/0.8184, allocations: 1.95 MB / 0.9098 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/0.8191, allocations: 288.6 kB / 0.9101 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/0.8264, allocations: 4.449 MB / 0.9144 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.8264, allocations: 23.98 kB / 0.9144 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.8264, allocations: 18.62 kB / 0.9145 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.8265, allocations: 11.97 kB / 0.9145 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.8422, allocations: 9.668 MB / 0.9239 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.8423, allocations: 4 kB / 0.9239 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/0.8433, allocations: 231.5 kB / 0.9241 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/0.8466, allocations: 1.439 MB / 0.9255 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.8468, allocations: 40 kB / 0.9256 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/0.8679, allocations: 17.1 MB / 0.9423 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.868, allocations: 18.64 kB / 0.9423 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00772/0.8757, allocations: 4.542 MB / 0.9467 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.8774, allocations: 0.6408 MB / 0.9474 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.8778, allocations: 36 kB / 0.9474 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.8791, allocations: 111.9 kB / 0.9475 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/0.8796, allocations: 187.7 kB / 0.9477 GB, free: 4.277 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.8798, allocations: 56 kB / 0.9477 GB, free: 4.223 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001839/0.8816, allocations: 1.327 MB / 0.949 GB, free: 2.887 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8816, allocations: 0 / 0.949 GB, free: 2.887 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003322/0.8849, allocations: 1.137 MB / 0.9501 GB, free: 1.75 MB / 0.67 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.000301/0.8853, allocations: 168.3 kB / 0.9503 GB, free: 1.586 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007035/0.8923, allocations: 4.694 MB / 0.9549 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.8923, allocations: 7.625 kB / 0.9549 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004556/0.8969, allocations: 2.923 MB / 0.9577 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/0.9025, allocations: 0.8279 MB / 0.9585 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.9192, allocations: 11.77 MB / 0.97 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004068/0.9234, allocations: 3.686 MB / 0.9736 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002219/0.9256, allocations: 0.5595 MB / 0.9742 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.926, allocations: 147.4 kB / 0.9743 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/0.926, allocations: 3.938 kB / 0.9743 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of Templates: time 0.08054/1.007, allocations: 50.18 MB / 1.023 GB, free: 7.523 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)