Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 118 kB / 16.42 MB, free: 6.496 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.001732/0.001732, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 303.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 87.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4544, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01437/0.4688, allocations: 11.85 MB / 0.7786 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008183/0.477, allocations: 5.329 MB / 0.7838 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000994/0.4781, allocations: 39.81 kB / 0.7839 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.481, allocations: 1.04 MB / 0.7849 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.4826, allocations: 0.6375 MB / 0.7855 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.4848, allocations: 0.9223 MB / 0.7864 GB, free: 44 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.4878, allocations: 2.462 MB / 0.7888 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/0.492, allocations: 3.525 MB / 0.7923 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.4939, allocations: 1.114 MB / 0.7933 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.4959, allocations: 1.215 MB / 0.7945 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005375/0.4964, allocations: 236 kB / 0.7948 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.4976, allocations: 0.4955 MB / 0.7952 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.4988, allocations: 0.9006 MB / 0.7961 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.5004, allocations: 0.9845 MB / 0.7971 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.5039, allocations: 3.545 MB / 0.8005 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5039, allocations: 0 / 0.8005 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5039, allocations: 0 / 0.8005 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.108e-05/0.504, allocations: 0 / 0.8005 GB, free: 1.5 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004407/0.5084, allocations: 1.932 MB / 0.8024 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5085, allocations: 12.02 kB / 0.8024 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.5109, allocations: 458.5 kB / 0.8029 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.5133, allocations: 1.12 MB / 0.804 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/0.5134, allocations: 115.4 kB / 0.8041 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.5138, allocations: 152.1 kB / 0.8042 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.5182, allocations: 2.731 MB / 0.8069 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.5183, allocations: 3.938 kB / 0.8069 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.5185, allocations: 67.98 kB / 0.807 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002803/0.5188, allocations: 143 kB / 0.8071 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.522, allocations: 2.28 MB / 0.8093 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.5329, allocations: 10.34 MB / 0.8194 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.5339, allocations: 0.5764 MB / 0.82 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.5345, allocations: 384.5 kB / 0.8204 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.5346, allocations: 85.11 kB / 0.8204 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5346, allocations: 50.42 kB / 0.8205 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.334e-06/0.5346, allocations: 4 kB / 0.8205 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.01932/0.554, allocations: 5.533 MB / 0.8259 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.554, allocations: 59.84 kB / 0.826 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.5552, allocations: 0.8827 MB / 0.8268 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/0.5553, allocations: 37.7 kB / 0.8268 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/0.5558, allocations: 0.7538 MB / 0.8276 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.556, allocations: 189.4 kB / 0.8278 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.5564, allocations: 194.5 kB / 0.828 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5565, allocations: 386.8 kB / 0.8283 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5576, allocations: 0.6214 MB / 0.8289 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.5588, allocations: 0.9826 MB / 0.8299 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.561, allocations: 1.623 MB / 0.8315 GB, free: 300 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.561, allocations: 0 / 0.8315 GB, free: 300 kB / 0.5919 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008725/0.5698, allocations: 3.08 MB / 0.8345 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5698, allocations: 8 kB / 0.8345 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5698, allocations: 12 kB / 0.8345 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007178/0.577, allocations: 1.646 MB / 0.8361 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/0.5779, allocations: 215.6 kB / 0.8363 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.5919, allocations: 10.57 MB / 0.8466 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.5932, allocations: 159.7 kB / 0.8468 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.5934, allocations: 51.97 kB / 0.8468 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001945/0.5954, allocations: 1.285 MB / 0.8481 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001182/0.5966, allocations: 0.9552 MB / 0.849 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002103/0.5987, allocations: 1.561 MB / 0.8505 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.047e-06/0.5987, allocations: 4 kB / 0.8505 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007037/0.6057, allocations: 2.603 MB / 0.8531 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6058, allocations: 12.38 kB / 0.8531 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.6058, allocations: 16.06 kB / 0.8531 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.6105, allocations: 1.07 MB / 0.8542 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/0.6114, allocations: 235.6 kB / 0.8544 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.619, allocations: 5.749 MB / 0.86 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.6202, allocations: 155.7 kB / 0.8602 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6204, allocations: 44 kB / 0.8602 GB, free: 1.656 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.6207, allocations: 244 kB / 0.8604 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.6209, allocations: 71.16 kB / 0.8605 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/0.6286, allocations: 2.535 MB / 0.863 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.6287, allocations: 3.984 kB / 0.863 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6287, allocations: 7.938 kB / 0.863 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.6292, allocations: 264.1 kB / 0.8632 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6294, allocations: 12 kB / 0.8632 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.6302, allocations: 111.8 kB / 0.8634 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.6305, allocations: 52.34 kB / 0.8634 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005368/0.6358, allocations: 2.099 MB / 0.8655 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002561/0.6384, allocations: 1.782 MB / 0.8672 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007728/0.6392, allocations: 0.5499 MB / 0.8677 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009039/0.6401, allocations: 0.6278 MB / 0.8683 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of Backend: time 6.61e-07/0.6401, allocations: 3.938 kB / 0.8683 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005338/0.6455, allocations: 2.851 MB / 0.8711 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of SimCode: time 0.005326/0.6508, allocations: 3.296 MB / 0.8743 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of Templates: time 0.04227/0.6931, allocations: 27.87 MB / 0.9016 GB, free: 7.273 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)