Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001108/0.001108, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 286.2 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9271/0.9271, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 88.78 kB / 0.5945 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 86.99 MB / 0.6795 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03242/0.1853, allocations: 33.01 MB / 0.7117 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.2057, allocations: 14.79 MB / 0.7261 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.2094, allocations: 139.2 kB / 0.7263 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007986/0.2174, allocations: 3.395 MB / 0.7296 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007744/0.2252, allocations: 2.701 MB / 0.7322 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/0.2317, allocations: 2.113 MB / 0.7343 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0131/0.2448, allocations: 12.2 MB / 0.7462 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.2583, allocations: 10.35 MB / 0.7563 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005799/0.2641, allocations: 3.434 MB / 0.7597 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006685/0.2708, allocations: 4.096 MB / 0.7637 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.2722, allocations: 484 kB / 0.7641 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.2764, allocations: 1.743 MB / 0.7658 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.2792, allocations: 2.595 MB / 0.7684 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003726/0.2829, allocations: 3.111 MB / 0.7714 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.6161/0.899, allocations: 11 MB / 0.7821 GB, free: 35.66 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.8991, allocations: 0 / 0.7821 GB, free: 35.66 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.996e-06/0.8991, allocations: 1.156 kB / 0.7821 GB, free: 35.66 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004078/0.8995, allocations: 0 / 0.7821 GB, free: 35.66 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02026/0.9198, allocations: 5.981 MB / 0.788 GB, free: 33.47 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.9198, allocations: 8.656 kB / 0.788 GB, free: 33.47 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008682/0.9285, allocations: 1.138 MB / 0.7891 GB, free: 33.17 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/0.938, allocations: 3.327 MB / 0.7924 GB, free: 32.43 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.9384, allocations: 369.4 kB / 0.7927 GB, free: 32.41 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002969/0.9414, allocations: 495.6 kB / 0.7932 GB, free: 32.41 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/0.9678, allocations: 8.008 MB / 0.801 GB, free: 31.56 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004024/0.9682, allocations: 27.67 kB / 0.801 GB, free: 31.55 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0025/0.9707, allocations: 215.6 kB / 0.8012 GB, free: 31.55 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/0.972, allocations: 442.5 kB / 0.8017 GB, free: 31.54 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.987, allocations: 6.086 MB / 0.8076 GB, free: 31.49 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04546/1.032, allocations: 35.15 MB / 0.8419 GB, free: 19.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/1.035, allocations: 2.027 MB / 0.8439 GB, free: 18.43 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/1.038, allocations: 1.861 MB / 0.8457 GB, free: 17.47 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/1.038, allocations: 21.62 kB / 0.8457 GB, free: 17.46 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.038, allocations: 60.19 kB / 0.8458 GB, free: 17.41 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=171): time 4.578e-06/1.038, allocations: 3.984 kB / 0.8458 GB, free: 17.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=276): time 0.1422/1.18, allocations: 38.87 MB / 0.8838 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.18, allocations: 81.58 kB / 0.8838 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/1.184, allocations: 2.286 MB / 0.8861 GB, free: 352 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000314/1.184, allocations: 73.7 kB / 0.8861 GB, free: 272 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.186, allocations: 2.278 MB / 0.8884 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/1.187, allocations: 0.9334 MB / 0.8893 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.188, allocations: 0.5096 MB / 0.8898 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/1.188, allocations: 301.1 kB / 0.8901 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/1.191, allocations: 1.977 MB / 0.892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/1.194, allocations: 2.599 MB / 0.8945 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/1.201, allocations: 4.932 MB / 0.8993 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/1.201, allocations: 7.938 kB / 0.8993 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01452/1.215, allocations: 7.748 MB / 0.9069 GB, free: 10.67 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.215, allocations: 12 kB / 0.9069 GB, free: 10.66 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/1.215, allocations: 20 kB / 0.9069 GB, free: 10.64 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009209/1.224, allocations: 3.214 MB / 0.9101 GB, free: 7.406 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.226, allocations: 404.6 kB / 0.9105 GB, free: 7.035 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04049/1.267, allocations: 31.08 MB / 0.9408 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/1.27, allocations: 166 kB / 0.941 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.27, allocations: 108 kB / 0.9411 GB, free: 6.973 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003609/1.274, allocations: 1.802 MB / 0.9428 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/1.274, allocations: 340 kB / 0.9432 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.288, allocations: 7.351 MB / 0.9503 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.288, allocations: 32 kB / 0.9504 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/1.288, allocations: 31.38 kB / 0.9504 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.288, allocations: 15.94 kB / 0.9504 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/1.31, allocations: 12.92 MB / 0.963 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.311, allocations: 12.03 kB / 0.963 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/1.311, allocations: 234.7 kB / 0.9633 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008226/1.32, allocations: 2.854 MB / 0.9661 GB, free: 13.45 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/1.32, allocations: 52 kB / 0.9661 GB, free: 13.4 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04061/1.361, allocations: 29.89 MB / 0.9953 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.361, allocations: 19.06 kB / 0.9953 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.374, allocations: 6.89 MB / 1.002 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.376, allocations: 0.7743 MB / 1.003 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/1.376, allocations: 63.86 kB / 1.003 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/1.378, allocations: 171.6 kB / 1.003 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008691/1.379, allocations: 247.9 kB / 1.003 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.379, allocations: 76 kB / 1.003 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002033/1.381, allocations: 1.533 MB / 1.005 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.381, allocations: 0 / 1.005 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003956/1.385, allocations: 1.367 MB / 1.006 GB, free: 3.539 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/1.385, allocations: 182.4 kB / 1.006 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.397, allocations: 6.888 MB / 1.013 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.397, allocations: 4 kB / 1.013 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007553/1.405, allocations: 4.411 MB / 1.017 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/1.41, allocations: 1.03 MB / 1.018 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.429, allocations: 12.48 MB / 1.031 GB, free: 10.46 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004153/1.433, allocations: 3.647 MB / 1.034 GB, free: 6.785 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.002113/1.436, allocations: 0.5595 MB / 1.035 GB, free: 6.223 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/1.436, allocations: 163.4 kB / 1.035 GB, free: 6.062 MB / 0.7482 GB Notification: Performance of SimCode: time 6.81e-07/1.436, allocations: 0 / 1.035 GB, free: 6.062 MB / 0.7482 GB Notification: Performance of Templates: time 0.3905/1.827, allocations: 75.21 MB / 1.108 GB, free: 249.1 MB / 0.7638 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)