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.001187/0.001187, allocations: 111.1 kB / 16.42 MB, free: 6.457 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.001274/0.001274, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002196/0.002196, allocations: 291 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9526/0.9526, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 87.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4738, allocations: 86.99 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04345/0.5172, allocations: 37.94 MB / 0.8041 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.5381, allocations: 10.98 MB / 0.8149 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.5434, allocations: 159.2 kB / 0.815 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.5554, allocations: 4.365 MB / 0.8193 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.562, allocations: 2.336 MB / 0.8216 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006338/0.5684, allocations: 2.171 MB / 0.8237 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.5803, allocations: 9.299 MB / 0.8328 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.5965, allocations: 11.27 MB / 0.8438 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006912/0.6034, allocations: 4.051 MB / 0.8477 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00795/0.6114, allocations: 4.514 MB / 0.8521 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002525/0.614, allocations: 0.8203 MB / 0.8529 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.6185, allocations: 1.584 MB / 0.8545 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004712/0.6232, allocations: 3.146 MB / 0.8575 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006743/0.6299, allocations: 3.665 MB / 0.8611 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.645, allocations: 12.31 MB / 0.8731 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.645, allocations: 4 kB / 0.8731 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.645, allocations: 0 / 0.8731 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003676/0.6454, allocations: 0 / 0.8731 GB, free: 6.902 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.0158/0.6612, allocations: 6.315 MB / 0.8793 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6613, allocations: 12.03 kB / 0.8793 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.6667, allocations: 1.063 MB / 0.8804 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007804/0.6745, allocations: 3.614 MB / 0.8839 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.6749, allocations: 427.7 kB / 0.8843 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.6761, allocations: 0.5432 MB / 0.8848 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.6919, allocations: 9.385 MB / 0.894 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.692, allocations: 19.81 kB / 0.894 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005995/0.6926, allocations: 248 kB / 0.8942 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005818/0.6932, allocations: 422.9 kB / 0.8947 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.705, allocations: 7.123 MB / 0.9016 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04271/0.7477, allocations: 40.99 MB / 0.9416 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.7522, allocations: 3.1 MB / 0.9447 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002848/0.755, allocations: 2.153 MB / 0.9468 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.687e-05/0.7552, allocations: 22 kB / 0.9468 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.7552, allocations: 68.36 kB / 0.9469 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.028e-06/0.7552, allocations: 4 kB / 0.9469 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02442/0.7796, allocations: 10.56 MB / 0.9572 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.7797, allocations: 77.34 kB / 0.9572 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.7828, allocations: 2.009 MB / 0.9592 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.783, allocations: 61.7 kB / 0.9593 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.7846, allocations: 2.396 MB / 0.9616 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000643/0.7853, allocations: 0.7394 MB / 0.9623 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007823/0.7861, allocations: 477.2 kB / 0.9628 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7862, allocations: 309.1 kB / 0.9631 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.7883, allocations: 1.372 MB / 0.9644 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.7908, allocations: 2.108 MB / 0.9665 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3591/1.15, allocations: 3.762 MB / 0.9702 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/1.15, allocations: 6.312 kB / 0.9702 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008362/1.158, allocations: 5.068 MB / 0.9751 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/1.158, allocations: 14.53 kB / 0.9751 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/1.158, allocations: 23.31 kB / 0.9751 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/1.162, allocations: 1.583 MB / 0.9767 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.163, allocations: 457.3 kB / 0.9771 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.181, allocations: 18.56 MB / 0.9953 GB, free: 167.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.183, allocations: 148.6 kB / 0.9954 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.184, allocations: 110.4 kB / 0.9955 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.002631/1.186, allocations: 1.941 MB / 0.9974 GB, free: 166.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/1.187, allocations: 292.8 kB / 0.9977 GB, free: 166.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/1.193, allocations: 4.445 MB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.193, allocations: 11.95 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.193, allocations: 0 / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.194, allocations: 0.6254 MB / 1.003 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/1.194, allocations: 39.67 kB / 1.003 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.195, allocations: 111.3 kB / 1.003 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/1.196, allocations: 220.8 kB / 1.003 GB, free: 163.8 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007752/1.203, allocations: 4.855 MB / 1.008 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004838/1.208, allocations: 4.829 MB / 1.012 GB, free: 155.1 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001413/1.21, allocations: 1.511 MB / 1.014 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001386/1.211, allocations: 1.317 MB / 1.015 GB, free: 152.2 MB / 0.7325 GB Notification: Performance of Backend: time 5.11e-07/1.211, allocations: 0 / 1.015 GB, free: 152.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006485/1.218, allocations: 3.987 MB / 1.019 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01263/1.23, allocations: 10.2 MB / 1.029 GB, free: 138 MB / 0.7325 GB Notification: Performance of Templates: time 0.07391/1.304, allocations: 58.68 MB / 1.086 GB, free: 80.16 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)