Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001204/0.001204, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.236/1.236, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 282.9 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8957/0.8957, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 90.11 kB / 0.5954 GB, free: 4.453 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1647, allocations: 86.97 MB / 0.6803 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2871/0.4518, allocations: 32.29 MB / 0.7118 GB, free: 45.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.4638, allocations: 10.17 MB / 0.7218 GB, free: 44.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.4657, allocations: 137.1 kB / 0.7219 GB, free: 44.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006534/0.4722, allocations: 3.497 MB / 0.7253 GB, free: 42.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.4757, allocations: 1.705 MB / 0.727 GB, free: 42.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.4795, allocations: 1.931 MB / 0.7289 GB, free: 41.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005325/0.4849, allocations: 7.347 MB / 0.736 GB, free: 38.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.4966, allocations: 11.6 MB / 0.7474 GB, free: 33.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.5012, allocations: 3.22 MB / 0.7505 GB, free: 31.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005173/0.5064, allocations: 3.651 MB / 0.7541 GB, free: 30.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.5079, allocations: 0.65 MB / 0.7547 GB, free: 30.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004175/0.5121, allocations: 1.772 MB / 0.7564 GB, free: 29.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003089/0.5152, allocations: 2.54 MB / 0.7589 GB, free: 28.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004242/0.5194, allocations: 2.901 MB / 0.7617 GB, free: 26.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.5305, allocations: 8.629 MB / 0.7702 GB, free: 24.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.5305, allocations: 0 / 0.7702 GB, free: 24.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5305, allocations: 1.406 kB / 0.7702 GB, free: 24.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002884/0.5308, allocations: 0 / 0.7702 GB, free: 24.59 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01295/0.5438, allocations: 5.008 MB / 0.7751 GB, free: 21.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5438, allocations: 9.156 kB / 0.7751 GB, free: 21.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005541/0.5494, allocations: 0.951 MB / 0.776 GB, free: 21.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/0.556, allocations: 2.862 MB / 0.7788 GB, free: 19.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003513/0.5564, allocations: 344.5 kB / 0.7791 GB, free: 19.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.5577, allocations: 464.3 kB / 0.7796 GB, free: 19.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.5719, allocations: 7.671 MB / 0.7871 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.5721, allocations: 24.97 kB / 0.7871 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004729/0.5726, allocations: 208 kB / 0.7873 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/0.5728, allocations: 315.7 kB / 0.7876 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008021/0.5809, allocations: 5.711 MB / 0.7932 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.6105, allocations: 35.09 MB / 0.8274 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.6131, allocations: 2.158 MB / 0.8295 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.6146, allocations: 1.261 MB / 0.8308 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.6147, allocations: 21.3 kB / 0.8308 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.6147, allocations: 47.88 kB / 0.8308 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.076e-06/0.6147, allocations: 0 / 0.8308 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01302/0.6278, allocations: 7.088 MB / 0.8378 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.6278, allocations: 68.72 kB / 0.8378 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.6297, allocations: 1.488 MB / 0.8393 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.6298, allocations: 45.7 kB / 0.8393 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.6311, allocations: 2.004 MB / 0.8413 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.6316, allocations: 485 kB / 0.8417 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005486/0.6321, allocations: 355.1 kB / 0.8421 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6323, allocations: 309.1 kB / 0.8424 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.6335, allocations: 0.9135 MB / 0.8433 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.6352, allocations: 1.589 MB / 0.8448 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.6383, allocations: 2.737 MB / 0.8475 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.6383, allocations: 8 kB / 0.8475 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005926/0.6442, allocations: 3.534 MB / 0.8509 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.6443, allocations: 12 kB / 0.851 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.6443, allocations: 24 kB / 0.851 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.6469, allocations: 0.9038 MB / 0.8519 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.648, allocations: 359.3 kB / 0.8522 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.6678, allocations: 23.11 MB / 0.8748 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.6696, allocations: 95.92 kB / 0.8749 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.6698, allocations: 87.98 kB / 0.8749 GB, free: 2.074 MB / 0.6231 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002872/0.6726, allocations: 1.61 MB / 0.8765 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.673, allocations: 209.5 kB / 0.8767 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.6779, allocations: 2.998 MB / 0.8796 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.678, allocations: 12 kB / 0.8797 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.678, allocations: 12 kB / 0.8797 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.678, allocations: 7.969 kB / 0.8797 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.6896, allocations: 7.332 MB / 0.8868 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6897, allocations: 7.984 kB / 0.8868 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.6904, allocations: 176.2 kB / 0.887 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.6928, allocations: 0.8298 MB / 0.8878 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.6929, allocations: 28 kB / 0.8878 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.7112, allocations: 21.96 MB / 0.9093 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7112, allocations: 4 kB / 0.9093 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005005/0.7163, allocations: 3.023 MB / 0.9122 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/0.7172, allocations: 462.5 kB / 0.9127 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.7175, allocations: 35.88 kB / 0.9127 GB, free: 9.238 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.7182, allocations: 71.91 kB / 0.9128 GB, free: 9.168 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.7186, allocations: 124.7 kB / 0.9129 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.7187, allocations: 36 kB / 0.9129 GB, free: 9.008 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001228/0.7199, allocations: 0.9756 MB / 0.9139 GB, free: 8.008 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.583e-06/0.7199, allocations: 0 / 0.9139 GB, free: 8.008 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00281/0.7227, allocations: 0.7968 MB / 0.9147 GB, free: 7.211 MB / 0.67 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.723, allocations: 133.8 kB / 0.9148 GB, free: 7.074 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006455/0.7294, allocations: 4.652 MB / 0.9193 GB, free: 2.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.7295, allocations: 0 / 0.9193 GB, free: 2.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/0.7329, allocations: 2.737 MB / 0.922 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.7361, allocations: 0.7414 MB / 0.9227 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.751, allocations: 9.793 MB / 0.9323 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/0.7543, allocations: 3.183 MB / 0.9354 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.7548, allocations: 123.4 kB / 0.9355 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/0.7548, allocations: 0 / 0.9355 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of Templates: time 0.4961/1.251, allocations: 321.5 MB / 1.249 GB, free: 1.316 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)