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.001384/0.001384, allocations: 116.1 kB / 16.42 MB, free: 6.5 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.001519/0.001519, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002242/0.002242, allocations: 292.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4842, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04266/0.5269, allocations: 37.94 MB / 0.8041 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01935/0.5463, allocations: 10.99 MB / 0.8149 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004138/0.5505, allocations: 155.2 kB / 0.815 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.5621, allocations: 4.352 MB / 0.8193 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.5697, allocations: 2.219 MB / 0.8214 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006825/0.5766, allocations: 2.166 MB / 0.8235 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.5881, allocations: 9.288 MB / 0.8326 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01749/0.6057, allocations: 11.27 MB / 0.8436 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007058/0.6128, allocations: 4.051 MB / 0.8476 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008022/0.6208, allocations: 4.518 MB / 0.852 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.6235, allocations: 0.8203 MB / 0.8528 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.6286, allocations: 1.576 MB / 0.8543 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005589/0.6342, allocations: 3.154 MB / 0.8574 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.009078/0.6433, allocations: 3.657 MB / 0.861 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.6613, allocations: 12.31 MB / 0.873 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.6613, allocations: 0 / 0.873 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6613, allocations: 0 / 0.873 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004163/0.6617, allocations: 0 / 0.873 GB, free: 7.035 MB / 0.6387 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.01758/0.6793, allocations: 6.322 MB / 0.8792 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.6794, allocations: 12.03 kB / 0.8792 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/0.6858, allocations: 1.063 MB / 0.8802 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009592/0.6954, allocations: 3.61 MB / 0.8837 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000528/0.696, allocations: 427.7 kB / 0.8842 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.6985, allocations: 0.5471 MB / 0.8847 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/0.7266, allocations: 9.381 MB / 0.8938 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003607/0.727, allocations: 15.88 kB / 0.8939 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002139/0.7292, allocations: 248 kB / 0.8941 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007753/0.73, allocations: 422.9 kB / 0.8945 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.7471, allocations: 7.123 MB / 0.9015 GB, free: 9.41 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05522/0.8024, allocations: 41 MB / 0.9415 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005113/0.8076, allocations: 3.104 MB / 0.9445 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.811, allocations: 2.153 MB / 0.9466 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.8112, allocations: 22 kB / 0.9467 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/0.8113, allocations: 72.34 kB / 0.9467 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.609e-06/0.8113, allocations: 0 / 0.9467 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02634/0.8377, allocations: 10.55 MB / 0.957 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.8378, allocations: 81.34 kB / 0.9571 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.8413, allocations: 1.998 MB / 0.9591 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003603/0.8417, allocations: 65.7 kB / 0.9591 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.8435, allocations: 2.408 MB / 0.9615 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008611/0.8443, allocations: 0.7355 MB / 0.9622 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.8455, allocations: 485.2 kB / 0.9627 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8456, allocations: 301.1 kB / 0.9629 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.8478, allocations: 1.368 MB / 0.9643 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.8505, allocations: 2.108 MB / 0.9663 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4333/1.284, allocations: 3.764 MB / 0.97 GB, free: 180 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-05/1.284, allocations: 10.53 kB / 0.97 GB, free: 180 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009343/1.293, allocations: 5.069 MB / 0.975 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/1.293, allocations: 15.81 kB / 0.975 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.293, allocations: 22.42 kB / 0.975 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/1.297, allocations: 1.578 MB / 0.9766 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.299, allocations: 455.8 kB / 0.977 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/1.318, allocations: 18.56 MB / 0.9951 GB, free: 167.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/1.32, allocations: 146.7 kB / 0.9953 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.32, allocations: 103.4 kB / 0.9954 GB, free: 167.1 MB / 0.7325 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.002762/1.323, allocations: 1.949 MB / 0.9973 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/1.324, allocations: 287.5 kB / 0.9975 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/1.33, allocations: 4.452 MB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/1.33, allocations: 11.66 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.33, allocations: 3.984 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.331, allocations: 0.6229 MB / 1.003 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004779/1.332, allocations: 37.09 kB / 1.003 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.333, allocations: 112.7 kB / 1.003 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/1.334, allocations: 217.8 kB / 1.003 GB, free: 163.8 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008051/1.342, allocations: 4.856 MB / 1.008 GB, free: 160 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00486/1.347, allocations: 4.826 MB / 1.012 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001373/1.348, allocations: 1.514 MB / 1.014 GB, free: 153.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001486/1.349, allocations: 1.315 MB / 1.015 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of Backend: time 4.3e-07/1.349, allocations: 0 / 1.015 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006356/1.356, allocations: 3.986 MB / 1.019 GB, free: 148.3 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01376/1.37, allocations: 10.21 MB / 1.029 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.07704/1.447, allocations: 58.67 MB / 1.086 GB, free: 80.26 MB / 0.7325 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)