Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 109.3 kB / 16.42 MB, free: 6.449 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.001935/0.001935, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.362/1.362, allocations: 222.9 MB / 241 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.002158/0.002158, allocations: 285.4 kB / 291.5 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.9375/0.9375, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 91.86 kB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4448, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03362/0.4785, allocations: 30.75 MB / 0.7971 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.5027, allocations: 13.59 MB / 0.8104 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004938/0.5077, allocations: 143.2 kB / 0.8105 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008573/0.5164, allocations: 3.196 MB / 0.8136 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00813/0.5245, allocations: 2.769 MB / 0.8163 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006974/0.5315, allocations: 2.015 MB / 0.8183 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01394/0.5455, allocations: 7.639 MB / 0.8258 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0131/0.5587, allocations: 8.221 MB / 0.8338 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007241/0.5659, allocations: 3.47 MB / 0.8372 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006617/0.5726, allocations: 3.387 MB / 0.8405 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.5747, allocations: 0.5977 MB / 0.8411 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/0.5793, allocations: 1.49 MB / 0.8425 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003902/0.5832, allocations: 2.366 MB / 0.8448 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006301/0.5895, allocations: 2.882 MB / 0.8476 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.6033, allocations: 9.461 MB / 0.8569 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6033, allocations: 0 / 0.8569 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6033, allocations: 0 / 0.8569 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003635/0.6037, allocations: 4 kB / 0.8569 GB, free: 7.523 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01481/0.6185, allocations: 5.14 MB / 0.8619 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6186, allocations: 8.031 kB / 0.8619 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00599/0.6246, allocations: 0.998 MB / 0.8629 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.6322, allocations: 3.079 MB / 0.8659 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.6325, allocations: 312.8 kB / 0.8662 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.6338, allocations: 424 kB / 0.8666 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.6466, allocations: 6.791 MB / 0.8732 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.6467, allocations: 23.84 kB / 0.8733 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/0.6472, allocations: 180 kB / 0.8734 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008708/0.6481, allocations: 376 kB / 0.8738 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009387/0.6575, allocations: 5.106 MB / 0.8788 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03491/0.6924, allocations: 30.52 MB / 0.9086 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.6944, allocations: 1.391 MB / 0.9099 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.6961, allocations: 1.338 MB / 0.9112 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.6961, allocations: 13.31 kB / 0.9113 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.6962, allocations: 55.88 kB / 0.9113 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 3.266e-06/0.6962, allocations: 0 / 0.9113 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08832/0.7845, allocations: 23.08 MB / 0.9338 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.7846, allocations: 73.41 kB / 0.9339 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.7877, allocations: 2.062 MB / 0.9359 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.7881, allocations: 57.7 kB / 0.936 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.7895, allocations: 2.01 MB / 0.9379 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007019/0.7902, allocations: 0.6777 MB / 0.9386 GB, free: 396 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000704/0.791, allocations: 412.3 kB / 0.939 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7911, allocations: 305.1 kB / 0.9393 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.7931, allocations: 1.433 MB / 0.9407 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.7955, allocations: 2.017 MB / 0.9427 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004814/0.8004, allocations: 3.692 MB / 0.9463 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.8004, allocations: 4 kB / 0.9463 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0113/0.8117, allocations: 5.661 MB / 0.9518 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.8118, allocations: 12 kB / 0.9518 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.8118, allocations: 16.88 kB / 0.9518 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006899/0.8187, allocations: 2.091 MB / 0.9539 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.8204, allocations: 379.3 kB / 0.9542 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5104/1.331, allocations: 38.43 MB / 0.9918 GB, free: 163.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.333, allocations: 127.3 kB / 0.9919 GB, free: 163.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/1.334, allocations: 90.53 kB / 0.992 GB, free: 163.8 MB / 0.7325 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002296/1.336, allocations: 1.504 MB / 0.9934 GB, free: 163.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/1.336, allocations: 284.1 kB / 0.9937 GB, free: 163.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00898/1.345, allocations: 5.217 MB / 0.9988 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.346, allocations: 11.11 kB / 0.9988 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.346, allocations: 0 / 0.9988 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.347, allocations: 0.6325 MB / 0.9994 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/1.347, allocations: 35.97 kB / 0.9995 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.349, allocations: 97.62 kB / 0.9996 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/1.349, allocations: 216.4 kB / 0.9998 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01061/1.36, allocations: 5.432 MB / 1.005 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005675/1.366, allocations: 5.05 MB / 1.01 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001527/1.367, allocations: 1.553 MB / 1.012 GB, free: 156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001675/1.369, allocations: 1.375 MB / 1.013 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of Backend: time 4.41e-07/1.369, allocations: 0 / 1.013 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009162/1.378, allocations: 5.686 MB / 1.018 GB, free: 149.2 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01269/1.391, allocations: 9.114 MB / 1.027 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1114/1.502, allocations: 62.91 MB / 1.089 GB, free: 78.26 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)