Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001221/0.001222, allocations: 97.52 kB / 15.69 MB, free: 488 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.001337/0.001337, allocations: 170.5 kB / 16.56 MB, free: 6.391 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.425/1.425, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.717/0.717, allocations: 113.8 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.0005695, allocations: 8 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1962, allocations: 77.15 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01157/0.2078, allocations: 10.35 MB / 0.567 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.216, allocations: 4.947 MB / 0.5718 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.217, allocations: 31.88 kB / 0.5718 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000976/0.218, allocations: 322.2 kB / 0.5721 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.2195, allocations: 0.5334 MB / 0.5726 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.2212, allocations: 0.5607 MB / 0.5732 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.2228, allocations: 1.142 MB / 0.5743 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004714/0.2275, allocations: 3.618 MB / 0.5778 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009806/0.2285, allocations: 0.6035 MB / 0.5784 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008507/0.2293, allocations: 0.6618 MB / 0.5791 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.2295, allocations: 96 kB / 0.5792 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008816/0.2304, allocations: 303.7 kB / 0.5795 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.231, allocations: 0.6743 MB / 0.5801 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.2313, allocations: 345 kB / 0.5804 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.2337, allocations: 3.016 MB / 0.5834 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2337, allocations: 0 / 0.5834 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2337, allocations: 0 / 0.5834 GB, free: 356 kB / 446.1 MB Notification: Performance of Transformations before backend: time 5.768e-05/0.2338, allocations: 4 kB / 0.5834 GB, free: 352 kB / 446.1 MB 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.3154/0.5492, allocations: 1.621 MB / 0.585 GB, free: 32.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.5493, allocations: 9.625 kB / 0.585 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.5525, allocations: 0.4914 MB / 0.5855 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.5555, allocations: 1.142 MB / 0.5866 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5557, allocations: 113.2 kB / 0.5867 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.556, allocations: 154.6 kB / 0.5868 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00555/0.5616, allocations: 2.722 MB / 0.5895 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.5617, allocations: 10.66 kB / 0.5895 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.5618, allocations: 59.95 kB / 0.5896 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004767/0.5623, allocations: 178.2 kB / 0.5897 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004559/0.5669, allocations: 2.283 MB / 0.592 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.5822, allocations: 10.55 MB / 0.6023 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.5838, allocations: 0.5801 MB / 0.6028 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.5839, allocations: 89.8 kB / 0.6029 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.584, allocations: 37.06 kB / 0.603 GB, free: 22.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 3.145e-06/0.584, allocations: 0 / 0.603 GB, free: 22.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.02085/0.6049, allocations: 6.291 MB / 0.6091 GB, free: 19.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.605, allocations: 83.45 kB / 0.6092 GB, free: 19.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.6067, allocations: 0.8955 MB / 0.6101 GB, free: 18.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.6069, allocations: 36.67 kB / 0.6101 GB, free: 18.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.6075, allocations: 0.7589 MB / 0.6108 GB, free: 18.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.6077, allocations: 186.3 kB / 0.611 GB, free: 18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.6078, allocations: 15.62 kB / 0.611 GB, free: 17.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.608, allocations: 390.8 kB / 0.6114 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.6092, allocations: 0.6432 MB / 0.612 GB, free: 17.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.6104, allocations: 1.009 MB / 0.613 GB, free: 16.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.6117, allocations: 0.8192 MB / 0.6138 GB, free: 16.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.6117, allocations: 3.125 kB / 0.6138 GB, free: 16.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008952/0.6206, allocations: 3.216 MB / 0.617 GB, free: 14.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008377/0.6215, allocations: 4.534 MB / 0.6214 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.6215, allocations: 14.06 kB / 0.6214 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007491/0.629, allocations: 1.859 MB / 0.6232 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.6301, allocations: 226.9 kB / 0.6234 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.6427, allocations: 10.52 MB / 0.6337 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6442, allocations: 179.6 kB / 0.6339 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6444, allocations: 47.98 kB / 0.6339 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.6444, allocations: 4 kB / 0.6339 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006953/0.6513, allocations: 2.624 MB / 0.6365 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.546e-05/0.6514, allocations: 15.95 kB / 0.6365 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00495/0.6564, allocations: 1.2 MB / 0.6377 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.6575, allocations: 259.5 kB / 0.6379 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.6648, allocations: 5.687 MB / 0.6435 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.6662, allocations: 148.2 kB / 0.6436 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/0.6663, allocations: 52.05 kB / 0.6437 GB, free: 3.312 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.6677, allocations: 0.8361 MB / 0.6445 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6679, allocations: 83.02 kB / 0.6446 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007731/0.6756, allocations: 2.697 MB / 0.6472 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.6756, allocations: 4 kB / 0.6472 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.6757, allocations: 4 kB / 0.6472 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6757, allocations: 3.984 kB / 0.6472 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.6864, allocations: 4.524 MB / 0.6516 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.6865, allocations: 7.938 kB / 0.6516 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.6869, allocations: 99.84 kB / 0.6517 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007005/0.6939, allocations: 1.709 MB / 0.6534 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.6941, allocations: 11.95 kB / 0.6534 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.7069, allocations: 10.05 MB / 0.6632 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.707, allocations: 4.031 kB / 0.6632 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.7149, allocations: 2.753 MB / 0.6659 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/0.7157, allocations: 280.1 kB / 0.6662 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.7158, allocations: 12 kB / 0.6662 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.7167, allocations: 135.8 kB / 0.6663 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.717, allocations: 55.83 kB / 0.6664 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.7171, allocations: 16 kB / 0.6664 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009068/0.718, allocations: 0.6317 MB / 0.667 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.718, allocations: 0 / 0.667 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002463/0.7204, allocations: 0.5977 MB / 0.6676 GB, free: 10.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.7208, allocations: 132.2 kB / 0.6677 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005515/0.7264, allocations: 3.256 MB / 0.6709 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.7264, allocations: 3.938 kB / 0.6709 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.7284, allocations: 1.282 MB / 0.6721 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.7296, allocations: 217.3 kB / 0.6724 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.735, allocations: 3.548 MB / 0.6758 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.7363, allocations: 1.649 MB / 0.6774 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001313/0.7376, allocations: 498.3 kB / 0.6779 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.7378, allocations: 55.44 kB / 0.678 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.7378, allocations: 0 / 0.678 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.03749/0.7753, allocations: 23.45 MB / 0.7009 GB, free: 7.93 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)