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.001761/0.001761, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001387/0.001387, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 280.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5068 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 97.23 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1844, allocations: 89.15 MB / 0.6928 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04503/0.2294, allocations: 37.61 MB / 0.7295 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.2498, allocations: 10.96 MB / 0.7402 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003895/0.2537, allocations: 143.2 kB / 0.7404 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.2651, allocations: 4.074 MB / 0.7443 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007635/0.2728, allocations: 2.08 MB / 0.7464 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006338/0.2792, allocations: 1.973 MB / 0.7483 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.6216/0.9008, allocations: 13.18 MB / 0.7612 GB, free: 16.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02053/0.9214, allocations: 12.44 MB / 0.7733 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006835/0.9283, allocations: 3.4 MB / 0.7766 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009019/0.9373, allocations: 4.59 MB / 0.7811 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00384/0.9412, allocations: 0.5602 MB / 0.7817 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/0.9475, allocations: 1.55 MB / 0.7832 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.006441/0.954, allocations: 2.884 MB / 0.786 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008486/0.9625, allocations: 3.362 MB / 0.7893 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.9762, allocations: 12.09 MB / 0.8011 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.9762, allocations: 0 / 0.8011 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9763, allocations: 4 kB / 0.8011 GB, free: 11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003584/0.9766, allocations: 0 / 0.8011 GB, free: 11 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.01776/0.9944, allocations: 6.312 MB / 0.8073 GB, free: 7.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.9945, allocations: 9.875 kB / 0.8073 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/1, allocations: 1.066 MB / 0.8083 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006034/1.006, allocations: 3.424 MB / 0.8117 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/1.006, allocations: 423.2 kB / 0.8121 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/1.008, allocations: 0.5456 MB / 0.8126 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/1.03, allocations: 9.374 MB / 0.8217 GB, free: 14.79 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/1.031, allocations: 29.14 kB / 0.8218 GB, free: 14.78 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/1.034, allocations: 246.6 kB / 0.822 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006557/1.034, allocations: 426.9 kB / 0.8224 GB, free: 14.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/1.053, allocations: 7.126 MB / 0.8294 GB, free: 9.543 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/1.119, allocations: 41.31 MB / 0.8697 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00601/1.125, allocations: 3.1 MB / 0.8727 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.129, allocations: 2.135 MB / 0.8748 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/1.129, allocations: 30 kB / 0.8749 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/1.129, allocations: 64.42 kB / 0.8749 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=209): time 4.438e-06/1.129, allocations: 0 / 0.8749 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=212): time 0.02778/1.157, allocations: 10.55 MB / 0.8852 GB, free: 13.19 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.157, allocations: 77.34 kB / 0.8853 GB, free: 13.1 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003558/1.161, allocations: 2.002 MB / 0.8872 GB, free: 11.08 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000307/1.161, allocations: 65.7 kB / 0.8873 GB, free: 11.01 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.163, allocations: 2.399 MB / 0.8897 GB, free: 8.586 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009298/1.164, allocations: 0.7388 MB / 0.8904 GB, free: 7.855 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/1.165, allocations: 485.2 kB / 0.8908 GB, free: 7.375 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.165, allocations: 301.1 kB / 0.8911 GB, free: 7.078 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.168, allocations: 1.376 MB / 0.8925 GB, free: 5.699 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003027/1.171, allocations: 2.105 MB / 0.8945 GB, free: 3.289 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/1.176, allocations: 3.764 MB / 0.8982 GB, free: 15.31 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/1.176, allocations: 8 kB / 0.8982 GB, free: 15.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009708/1.186, allocations: 5.064 MB / 0.9032 GB, free: 10.4 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/1.186, allocations: 12 kB / 0.9032 GB, free: 10.39 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-05/1.186, allocations: 24 kB / 0.9032 GB, free: 10.36 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/1.19, allocations: 1.587 MB / 0.9047 GB, free: 8.773 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.193, allocations: 453.4 kB / 0.9052 GB, free: 8.359 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0253/1.218, allocations: 17.06 MB / 0.9218 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.22, allocations: 147.9 kB / 0.922 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/1.221, allocations: 115.9 kB / 0.9221 GB, free: 6.566 MB / 0.6544 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.004515/1.226, allocations: 1.937 MB / 0.924 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/1.226, allocations: 292.6 kB / 0.9243 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008761/1.235, allocations: 4.461 MB / 0.9286 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/1.235, allocations: 20 kB / 0.9286 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.341e-05/1.235, allocations: 16 kB / 0.9286 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.235, allocations: 11.97 kB / 0.9287 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/1.256, allocations: 9.662 MB / 0.9381 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.256, allocations: 8 kB / 0.9381 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.257, allocations: 230.5 kB / 0.9383 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/1.261, allocations: 1.437 MB / 0.9397 GB, free: 4.523 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/1.261, allocations: 40 kB / 0.9398 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02566/1.287, allocations: 17.06 MB / 0.9564 GB, free: 2.941 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.287, allocations: 8 kB / 0.9564 GB, free: 2.934 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008933/1.296, allocations: 4.54 MB / 0.9609 GB, free: 14.37 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/1.298, allocations: 0.6304 MB / 0.9615 GB, free: 13.71 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007524/1.299, allocations: 46.61 kB / 0.9615 GB, free: 13.67 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.3, allocations: 115.9 kB / 0.9616 GB, free: 13.56 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/1.301, allocations: 172.3 kB / 0.9618 GB, free: 13.39 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/1.301, allocations: 63.98 kB / 0.9619 GB, free: 13.33 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.00254/1.304, allocations: 1.319 MB / 0.9631 GB, free: 12 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.6e-07/1.304, allocations: 0 / 0.9631 GB, free: 12 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.004058/1.308, allocations: 1.141 MB / 0.9643 GB, free: 10.86 MB / 0.7013 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.0003673/1.308, allocations: 168.7 kB / 0.9644 GB, free: 10.7 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.008186/1.316, allocations: 4.699 MB / 0.969 GB, free: 6.035 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.316, allocations: 4 kB / 0.969 GB, free: 6.031 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/1.322, allocations: 2.912 MB / 0.9719 GB, free: 3.098 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004744/1.326, allocations: 0.8324 MB / 0.9727 GB, free: 2.27 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/1.349, allocations: 11.76 MB / 0.9842 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006104/1.355, allocations: 3.694 MB / 0.9878 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002418/1.357, allocations: 0.5556 MB / 0.9883 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/1.358, allocations: 151.4 kB / 0.9884 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/1.358, allocations: 0 / 0.9884 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.09405/1.452, allocations: 51.14 MB / 1.038 GB, free: 15.67 MB / 0.7794 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)