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.001451/0.00145, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001259/0.001259, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 289.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9973/0.9973, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 94.56 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1416, allocations: 86.97 MB / 0.6816 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2777/0.4193, allocations: 37.93 MB / 0.7187 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.4389, allocations: 11 MB / 0.7294 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.4427, allocations: 152.6 kB / 0.7295 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.4533, allocations: 4.366 MB / 0.7338 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006207/0.4595, allocations: 2.216 MB / 0.736 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005543/0.4651, allocations: 2.166 MB / 0.7381 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.4759, allocations: 9.29 MB / 0.7471 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0155/0.4914, allocations: 11.28 MB / 0.7582 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.4977, allocations: 3.988 MB / 0.7621 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007255/0.505, allocations: 4.51 MB / 0.7665 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002606/0.5076, allocations: 0.8203 MB / 0.7673 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.5125, allocations: 1.6 MB / 0.7688 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004573/0.5171, allocations: 3.146 MB / 0.7719 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.006692/0.5238, allocations: 3.657 MB / 0.7755 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.5365, allocations: 12.3 MB / 0.7875 GB, free: 3.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5365, allocations: 3.938 kB / 0.7875 GB, free: 3.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5365, allocations: 0 / 0.7875 GB, free: 3.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003201/0.5369, allocations: 0 / 0.7875 GB, free: 3.125 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.01364/0.5505, allocations: 6.326 MB / 0.7937 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5506, allocations: 12.02 kB / 0.7937 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.5557, allocations: 1.063 MB / 0.7947 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008417/0.5641, allocations: 3.606 MB / 0.7982 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.5644, allocations: 423.7 kB / 0.7986 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.5658, allocations: 0.5471 MB / 0.7992 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.5816, allocations: 9.377 MB / 0.8083 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.5817, allocations: 23.81 kB / 0.8084 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005587/0.5823, allocations: 244 kB / 0.8086 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005151/0.5828, allocations: 422.9 kB / 0.809 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.5939, allocations: 7.123 MB / 0.8159 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03867/0.6326, allocations: 41 MB / 0.856 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.6368, allocations: 3.111 MB / 0.859 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.6395, allocations: 2.134 MB / 0.8611 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.6396, allocations: 22 kB / 0.8611 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.6397, allocations: 60.56 kB / 0.8612 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=209): time 4.087e-06/0.6397, allocations: 4 kB / 0.8612 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=212): time 0.02227/0.6619, allocations: 10.55 MB / 0.8715 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.662, allocations: 77.34 kB / 0.8716 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.6644, allocations: 2.009 MB / 0.8735 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.6646, allocations: 69.64 kB / 0.8736 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.6659, allocations: 2.404 MB / 0.8759 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.6665, allocations: 0.724 MB / 0.8767 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006888/0.6672, allocations: 477.2 kB / 0.8771 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.6673, allocations: 305.1 kB / 0.8774 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.6691, allocations: 1.376 MB / 0.8787 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.6714, allocations: 2.108 MB / 0.8808 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/0.6758, allocations: 3.762 MB / 0.8845 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.6759, allocations: 8 kB / 0.8845 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007741/0.6836, allocations: 5.079 MB / 0.8894 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.6837, allocations: 15.19 kB / 0.8895 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.6837, allocations: 24 kB / 0.8895 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/0.6872, allocations: 1.579 MB / 0.891 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6888, allocations: 451.2 kB / 0.8915 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.7098, allocations: 18.58 MB / 0.9096 GB, free: 456 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.712, allocations: 147.9 kB / 0.9097 GB, free: 308 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.7122, allocations: 104 kB / 0.9098 GB, free: 204 kB / 0.67 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.002792/0.715, allocations: 1.945 MB / 0.9117 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/0.7155, allocations: 284.7 kB / 0.912 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/0.7222, allocations: 4.454 MB / 0.9164 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.7223, allocations: 20 kB / 0.9164 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.7223, allocations: 20.12 kB / 0.9164 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.7223, allocations: 11.95 kB / 0.9164 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.7372, allocations: 9.664 MB / 0.9258 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7373, allocations: 7.938 kB / 0.9258 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.7382, allocations: 235.6 kB / 0.9261 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/0.7414, allocations: 1.429 MB / 0.9275 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.7415, allocations: 48 kB / 0.9275 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.7623, allocations: 18.56 MB / 0.9456 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7623, allocations: 11.94 kB / 0.9456 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006669/0.769, allocations: 4.541 MB / 0.9501 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.7705, allocations: 0.6303 MB / 0.9507 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/0.7708, allocations: 43.98 kB / 0.9507 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.772, allocations: 115.9 kB / 0.9508 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/0.7725, allocations: 177.6 kB / 0.951 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.7726, allocations: 63.98 kB / 0.9511 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001644/0.7743, allocations: 1.311 MB / 0.9524 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7743, allocations: 0 / 0.9524 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002753/0.777, allocations: 1.145 MB / 0.9535 GB, free: 2.617 MB / 0.7169 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.0002835/0.7773, allocations: 163.1 kB / 0.9536 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.2503/1.028, allocations: 4.706 MB / 0.9582 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.028, allocations: 6.031 kB / 0.9582 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004357/1.032, allocations: 2.916 MB / 0.9611 GB, free: 229.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.036, allocations: 0.8852 MB / 0.9619 GB, free: 229.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.05, allocations: 9.273 MB / 0.971 GB, free: 226.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00447/1.055, allocations: 3.697 MB / 0.9746 GB, free: 224.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002109/1.057, allocations: 0.5589 MB / 0.9752 GB, free: 224.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/1.058, allocations: 152.2 kB / 0.9753 GB, free: 224.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.172e-06/1.058, allocations: 1.156 kB / 0.9753 GB, free: 224.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.07153/1.129, allocations: 50.81 MB / 1.025 GB, free: 193.8 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)