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.001119/0.001119, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.0009755/0.0009756, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 288.5 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.9788/0.9788, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.464, allocations: 86.99 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03297/0.4971, allocations: 30.75 MB / 0.7971 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.5178, allocations: 13.58 MB / 0.8104 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.5207, allocations: 147.2 kB / 0.8105 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007807/0.5285, allocations: 3.193 MB / 0.8136 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007074/0.5356, allocations: 2.667 MB / 0.8162 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.5404, allocations: 2.01 MB / 0.8182 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.5507, allocations: 7.631 MB / 0.8256 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.5614, allocations: 8.217 MB / 0.8337 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005722/0.5671, allocations: 3.474 MB / 0.8371 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005623/0.5728, allocations: 3.383 MB / 0.8404 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009435/0.5737, allocations: 0.5938 MB / 0.8409 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.5768, allocations: 1.498 MB / 0.8424 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.5789, allocations: 2.366 MB / 0.8447 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003105/0.582, allocations: 2.89 MB / 0.8475 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009414/0.5914, allocations: 9.457 MB / 0.8568 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5914, allocations: 0 / 0.8568 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5915, allocations: 0 / 0.8568 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001347/0.5916, allocations: 0 / 0.8568 GB, free: 7.66 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.00949/0.6011, allocations: 5.146 MB / 0.8618 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6011, allocations: 8.031 kB / 0.8618 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.6068, allocations: 0.9941 MB / 0.8628 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.6122, allocations: 3.079 MB / 0.8658 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.6125, allocations: 316.8 kB / 0.8661 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007398/0.6132, allocations: 420 kB / 0.8665 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.6294, allocations: 6.795 MB / 0.8731 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-05/0.6295, allocations: 19.78 kB / 0.8731 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000431/0.63, allocations: 188 kB / 0.8733 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008703/0.6309, allocations: 368 kB / 0.8737 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007675/0.6385, allocations: 5.11 MB / 0.8787 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.6664, allocations: 30.52 MB / 0.9085 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.6683, allocations: 1.391 MB / 0.9098 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.6699, allocations: 1.334 MB / 0.9111 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.67, allocations: 17.22 kB / 0.9111 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.67, allocations: 47.88 kB / 0.9112 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 3.257e-06/0.67, allocations: 0 / 0.9112 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08927/0.7593, allocations: 23.08 MB / 0.9337 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.7594, allocations: 77.41 kB / 0.9338 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/0.7628, allocations: 2.058 MB / 0.9358 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.763, allocations: 57.7 kB / 0.9359 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.7643, allocations: 2.014 MB / 0.9378 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006575/0.765, allocations: 0.6777 MB / 0.9385 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008764/0.7659, allocations: 404.2 kB / 0.9389 GB, free: 120 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.766, allocations: 309 kB / 0.9392 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.7681, allocations: 1.433 MB / 0.9406 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.7706, allocations: 2.01 MB / 0.9425 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004772/0.7754, allocations: 3.7 MB / 0.9462 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.7754, allocations: 4 kB / 0.9462 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.011/0.7865, allocations: 5.657 MB / 0.9517 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.7865, allocations: 16 kB / 0.9517 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.7866, allocations: 16 kB / 0.9517 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006746/0.7933, allocations: 2.084 MB / 0.9538 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.7949, allocations: 387.3 kB / 0.9541 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3872/1.182, allocations: 38.42 MB / 0.9916 GB, free: 163.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/1.184, allocations: 130.5 kB / 0.9918 GB, free: 163.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.185, allocations: 94.98 kB / 0.9919 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.001953/1.187, allocations: 1.499 MB / 0.9933 GB, free: 163.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/1.187, allocations: 292.4 kB / 0.9936 GB, free: 163.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008687/1.196, allocations: 5.214 MB / 0.9987 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.196, allocations: 11.16 kB / 0.9987 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.196, allocations: 0 / 0.9987 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/1.197, allocations: 0.6404 MB / 0.9993 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/1.197, allocations: 29.81 kB / 0.9994 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.198, allocations: 98.3 kB / 0.9994 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/1.199, allocations: 218.2 kB / 0.9997 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01039/1.209, allocations: 5.435 MB / 1.005 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005156/1.214, allocations: 5.043 MB / 1.01 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001456/1.216, allocations: 1.554 MB / 1.011 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001482/1.217, allocations: 1.381 MB / 1.013 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of Backend: time 1.583e-06/1.217, allocations: 0 / 1.013 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008593/1.226, allocations: 5.684 MB / 1.018 GB, free: 149.2 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01138/1.237, allocations: 9.097 MB / 1.027 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.07686/1.314, allocations: 62.92 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)