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.004616/0.004616, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001093/0.001094, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 290.7 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.908/0.908, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 99.84 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4177, allocations: 86.98 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04051/0.4583, allocations: 37.95 MB / 0.8035 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.476, allocations: 10.98 MB / 0.8142 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.4794, allocations: 155.2 kB / 0.8143 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.4901, allocations: 4.361 MB / 0.8186 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.4958, allocations: 2.34 MB / 0.8209 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.5008, allocations: 2.166 MB / 0.823 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.511, allocations: 9.299 MB / 0.8321 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01543/0.5264, allocations: 11.26 MB / 0.8431 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005988/0.5324, allocations: 4.055 MB / 0.847 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006686/0.5391, allocations: 4.514 MB / 0.8514 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002143/0.5413, allocations: 0.8242 MB / 0.8522 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.5453, allocations: 1.584 MB / 0.8538 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/0.5488, allocations: 3.158 MB / 0.8569 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004132/0.553, allocations: 3.649 MB / 0.8604 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.5637, allocations: 12.31 MB / 0.8725 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.5637, allocations: 0 / 0.8725 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5638, allocations: 0 / 0.8725 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002074/0.564, allocations: 0 / 0.8725 GB, free: 6.895 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.01191/0.5759, allocations: 6.326 MB / 0.8786 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5759, allocations: 12.03 kB / 0.8787 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.5807, allocations: 1.071 MB / 0.8797 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.5866, allocations: 3.606 MB / 0.8832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.5869, allocations: 419.8 kB / 0.8836 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008282/0.5878, allocations: 0.5509 MB / 0.8842 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.6014, allocations: 9.381 MB / 0.8933 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.6016, allocations: 23.8 kB / 0.8933 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005354/0.6021, allocations: 244 kB / 0.8936 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005144/0.6026, allocations: 414.9 kB / 0.894 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.6133, allocations: 7.124 MB / 0.9009 GB, free: 9.266 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03737/0.6507, allocations: 41 MB / 0.941 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.6549, allocations: 3.108 MB / 0.944 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.6576, allocations: 2.149 MB / 0.9461 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.6577, allocations: 25.98 kB / 0.9461 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.6578, allocations: 72.41 kB / 0.9462 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.467e-06/0.6578, allocations: 0 / 0.9462 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02239/0.6802, allocations: 10.56 MB / 0.9565 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.6803, allocations: 77.34 kB / 0.9566 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.6829, allocations: 2.002 MB / 0.9585 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.6831, allocations: 61.7 kB / 0.9586 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.6845, allocations: 2.408 MB / 0.9609 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.6851, allocations: 0.7355 MB / 0.9617 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007421/0.6859, allocations: 477.2 kB / 0.9621 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.686, allocations: 301.1 kB / 0.9624 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.6878, allocations: 1.376 MB / 0.9637 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.6903, allocations: 2.112 MB / 0.9658 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3299/1.02, allocations: 3.761 MB / 0.9695 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/1.02, allocations: 6.469 kB / 0.9695 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008213/1.028, allocations: 5.07 MB / 0.9744 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.028, allocations: 15.25 kB / 0.9745 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.029, allocations: 21.94 kB / 0.9745 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/1.032, allocations: 1.589 MB / 0.976 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.033, allocations: 457.1 kB / 0.9765 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/1.05, allocations: 18.56 MB / 0.9946 GB, free: 167.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.052, allocations: 142.7 kB / 0.9947 GB, free: 167.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.052, allocations: 110.3 kB / 0.9948 GB, free: 167.7 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.002322/1.055, allocations: 1.938 MB / 0.9967 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/1.055, allocations: 283.5 kB / 0.997 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/1.061, allocations: 4.461 MB / 1.001 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.061, allocations: 21.67 kB / 1.001 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.061, allocations: 18.5 kB / 1.001 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/1.061, allocations: 11.95 kB / 1.001 GB, free: 164.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.072, allocations: 9.661 MB / 1.011 GB, free: 155.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.072, allocations: 7.984 kB / 1.011 GB, free: 155.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/1.073, allocations: 233.2 kB / 1.011 GB, free: 155.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/1.075, allocations: 1.43 MB / 1.012 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.075, allocations: 44.12 kB / 1.012 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.091, allocations: 18.55 MB / 1.031 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.091, allocations: 8 kB / 1.031 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/1.097, allocations: 4.556 MB / 1.035 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.098, allocations: 0.6381 MB / 1.036 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/1.098, allocations: 37.12 kB / 1.036 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.099, allocations: 119.6 kB / 1.036 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/1.1, allocations: 177.6 kB / 1.036 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.1, allocations: 64 kB / 1.036 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001321/1.101, allocations: 1.327 MB / 1.037 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.101, allocations: 0 / 1.037 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002536/1.104, allocations: 1.137 MB / 1.038 GB, free: 127 MB / 0.7325 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.0002332/1.104, allocations: 160.9 kB / 1.039 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00551/1.11, allocations: 4.718 MB / 1.043 GB, free: 122 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.11, allocations: 0 / 1.043 GB, free: 122 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/1.113, allocations: 2.91 MB / 1.046 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.116, allocations: 0.9009 MB / 1.047 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/1.128, allocations: 9.27 MB / 1.056 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002748/1.131, allocations: 3.698 MB / 1.06 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00155/1.132, allocations: 0.5556 MB / 1.06 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/1.133, allocations: 151.4 kB / 1.06 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/1.133, allocations: 4 kB / 1.06 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06622/1.199, allocations: 51.66 MB / 1.111 GB, free: 53.62 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)