Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 93.03 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 175.7 kB / 16.91 MB, free: 6.68 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.643/1.643, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8096/0.8096, allocations: 126.9 MB / 418.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 14.12 kB / 0.498 GB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4823, allocations: 80.23 MB / 0.5763 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04199/0.5244, allocations: 33.96 MB / 0.6095 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.5443, allocations: 9.828 MB / 0.6191 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.5483, allocations: 126.8 kB / 0.6192 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.5512, allocations: 0.7008 MB / 0.6199 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.5585, allocations: 1.914 MB / 0.6218 GB, free: 6.688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.5642, allocations: 1.604 MB / 0.6233 GB, free: 5.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0169/0.5811, allocations: 11.21 MB / 0.6343 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02262/0.6038, allocations: 12.15 MB / 0.6462 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006257/0.6101, allocations: 2.411 MB / 0.6485 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006854/0.6169, allocations: 3.203 MB / 0.6516 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.6182, allocations: 280 kB / 0.6519 GB, free: 9.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/0.6219, allocations: 1.271 MB / 0.6532 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003285/0.6252, allocations: 2.104 MB / 0.6552 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004768/0.63, allocations: 2.528 MB / 0.6577 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.6427, allocations: 9.866 MB / 0.6673 GB, free: 10 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6427, allocations: 3.984 kB / 0.6673 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6427, allocations: 0 / 0.6673 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003462/0.6431, allocations: 0 / 0.6673 GB, free: 9.996 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01174/0.6548, allocations: 4.36 MB / 0.6716 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6549, allocations: 12.03 kB / 0.6716 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005504/0.6604, allocations: 0.9588 MB / 0.6725 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006502/0.6669, allocations: 2.995 MB / 0.6754 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004023/0.6674, allocations: 357.9 kB / 0.6758 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.669, allocations: 476.2 kB / 0.6762 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.6855, allocations: 7.906 MB / 0.684 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.6856, allocations: 19.81 kB / 0.684 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005744/0.6862, allocations: 208 kB / 0.6842 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006261/0.6868, allocations: 369.1 kB / 0.6845 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.6995, allocations: 5.941 MB / 0.6903 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04424/0.7438, allocations: 36.26 MB / 0.7257 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.7477, allocations: 2.127 MB / 0.7278 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.75, allocations: 1.493 MB / 0.7293 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.7501, allocations: 17.31 kB / 0.7293 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.7502, allocations: 55.81 kB / 0.7293 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.426e-06/0.7502, allocations: 4 kB / 0.7293 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01546/0.7657, allocations: 7.572 MB / 0.7367 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.7657, allocations: 68.7 kB / 0.7368 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.7686, allocations: 1.86 MB / 0.7386 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.7687, allocations: 57.7 kB / 0.7387 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.7705, allocations: 2.123 MB / 0.7407 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005941/0.7711, allocations: 0.5624 MB / 0.7413 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.7714, allocations: 170.1 kB / 0.7415 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7715, allocations: 309 kB / 0.7418 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.7733, allocations: 1.058 MB / 0.7428 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.7757, allocations: 1.76 MB / 0.7445 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00441/0.7801, allocations: 3.052 MB / 0.7475 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.7802, allocations: 8 kB / 0.7475 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007295/0.7875, allocations: 3.921 MB / 0.7513 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.7875, allocations: 16 kB / 0.7513 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.7876, allocations: 24.16 kB / 0.7514 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.7903, allocations: 0.935 MB / 0.7523 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.7919, allocations: 431.2 kB / 0.7527 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.8145, allocations: 21.07 MB / 0.7733 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.8166, allocations: 131.8 kB / 0.7734 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.8168, allocations: 96 kB / 0.7735 GB, free: 6.816 MB / 0.6075 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.003469/0.8203, allocations: 1.641 MB / 0.7751 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.8209, allocations: 253.1 kB / 0.7753 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006359/0.8273, allocations: 3.275 MB / 0.7785 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.8273, allocations: 16 kB / 0.7785 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.8273, allocations: 8 kB / 0.7785 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.8274, allocations: 11.91 kB / 0.7786 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.8428, allocations: 7.549 MB / 0.7859 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.8428, allocations: 4 kB / 0.7859 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009776/0.8438, allocations: 215.6 kB / 0.7861 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.8464, allocations: 0.8998 MB / 0.787 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.8466, allocations: 28 kB / 0.787 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/0.8694, allocations: 21.04 MB / 0.8076 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.8694, allocations: 8 kB / 0.8076 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.356/1.225, allocations: 3.378 MB / 0.8109 GB, free: 199 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.228, allocations: 0.5334 MB / 0.8114 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/1.228, allocations: 32.98 kB / 0.8115 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.229, allocations: 94.05 kB / 0.8115 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005927/1.23, allocations: 146.6 kB / 0.8117 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.23, allocations: 46.67 kB / 0.8117 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002289/1.232, allocations: 1.222 MB / 0.8129 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/1.232, allocations: 1.062 kB / 0.8129 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003912/1.236, allocations: 0.9045 MB / 0.8138 GB, free: 198.8 MB / 0.6387 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003646/1.237, allocations: 159.8 kB / 0.814 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008068/1.245, allocations: 4.424 MB / 0.8183 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.245, allocations: 1.781 kB / 0.8183 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004826/1.25, allocations: 2.995 MB / 0.8212 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005912/1.256, allocations: 0.7685 MB / 0.822 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.271, allocations: 9.714 MB / 0.8314 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004718/1.276, allocations: 3.207 MB / 0.8346 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002542/1.278, allocations: 0.5267 MB / 0.8351 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.279, allocations: 141.9 kB / 0.8352 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/1.279, allocations: 0 / 0.8352 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.06567/1.345, allocations: 40.88 MB / 0.8751 GB, free: 160.6 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)