Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009926/0.0009928, allocations: 175.3 kB / 16.58 MB, free: 6.051 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.468/1.468, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7359/0.7359, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.000411, allocations: 8 kB / 495.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 77.54 MB / 0.5593 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006478/0.1694, allocations: 4.493 MB / 0.5637 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.1744, allocations: 3.084 MB / 0.5667 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004128/0.1748, allocations: 11.94 kB / 0.5667 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.1756, allocations: 155.1 kB / 0.5669 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009557/0.1765, allocations: 312.5 kB / 0.5672 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.1772, allocations: 186.7 kB / 0.5674 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.1783, allocations: 0.7086 MB / 0.5681 GB, free: 424 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.1795, allocations: 0.7275 MB / 0.5688 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.1799, allocations: 191.3 kB / 0.569 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.1804, allocations: 267 kB / 0.5692 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.1805, allocations: 20 kB / 0.5692 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1811, allocations: 235.7 kB / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1813, allocations: 139.6 kB / 0.5696 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1815, allocations: 109.4 kB / 0.5697 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.1823, allocations: 0.7094 MB / 0.5704 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1823, allocations: 4 kB / 0.5704 GB, free: 13.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1823, allocations: 0 / 0.5704 GB, free: 13.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.1824, allocations: 0 / 0.5704 GB, free: 13.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001479/0.1838, allocations: 0.7403 MB / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1839, allocations: 8.031 kB / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.1867, allocations: 0.6937 MB / 0.5718 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.1875, allocations: 494.5 kB / 0.5723 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1876, allocations: 20.66 kB / 0.5723 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.1877, allocations: 31.94 kB / 0.5723 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.1893, allocations: 0.8434 MB / 0.5731 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1894, allocations: 7.938 kB / 0.5732 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.1894, allocations: 12 kB / 0.5732 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.1896, allocations: 68.56 kB / 0.5732 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1916, allocations: 0.9428 MB / 0.5741 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/0.1964, allocations: 2.929 MB / 0.577 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.1981, allocations: 0.5599 MB / 0.5776 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.1989, allocations: 316.9 kB / 0.5779 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.199, allocations: 85.3 kB / 0.5779 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1991, allocations: 42.73 kB / 0.578 GB, free: 5.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.165e-06/0.1991, allocations: 0 / 0.578 GB, free: 5.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01275/0.2119, allocations: 3.644 MB / 0.5815 GB, free: 2.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.2119, allocations: 85.09 kB / 0.5816 GB, free: 2.051 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.2124, allocations: 408.4 kB / 0.582 GB, free: 1.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.2125, allocations: 29.7 kB / 0.582 GB, free: 1.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.2127, allocations: 239.9 kB / 0.5823 GB, free: 1.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2128, allocations: 110.4 kB / 0.5824 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.2129, allocations: 8 kB / 0.5824 GB, free: 1.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.213, allocations: 346.8 kB / 0.5827 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.2139, allocations: 403.6 kB / 0.5831 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.2148, allocations: 485.7 kB / 0.5836 GB, free: 8 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2909/0.5057, allocations: 426.3 kB / 0.584 GB, free: 30.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5058, allocations: 3.547 kB / 0.584 GB, free: 30.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005716/0.5115, allocations: 1.722 MB / 0.5856 GB, free: 30.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.5116, allocations: 148.9 kB / 0.5858 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5116, allocations: 6.688 kB / 0.5858 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/0.5161, allocations: 0.9768 MB / 0.5868 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.5168, allocations: 136.9 kB / 0.5869 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.5251, allocations: 6.404 MB / 0.5931 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.5259, allocations: 113.5 kB / 0.5932 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.526, allocations: 21.39 kB / 0.5933 GB, free: 26.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.526, allocations: 4.438 kB / 0.5933 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004878/0.5309, allocations: 1.651 MB / 0.5949 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5309, allocations: 2.109 kB / 0.5949 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/0.5341, allocations: 0.725 MB / 0.5956 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.5347, allocations: 135.8 kB / 0.5957 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/0.5404, allocations: 5.439 MB / 0.601 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.5412, allocations: 110.2 kB / 0.6011 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.5412, allocations: 18.89 kB / 0.6012 GB, free: 21.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.5417, allocations: 321.3 kB / 0.6015 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.5418, allocations: 41.38 kB / 0.6015 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/0.5471, allocations: 1.629 MB / 0.6031 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5471, allocations: 11.72 kB / 0.6031 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5471, allocations: 1.156 kB / 0.6031 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5472, allocations: 1.25 kB / 0.6031 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.5527, allocations: 2.315 MB / 0.6054 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5528, allocations: 5.219 kB / 0.6054 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.5531, allocations: 88.56 kB / 0.6055 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.5567, allocations: 0.9095 MB / 0.6063 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.5567, allocations: 14.58 kB / 0.6064 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.5638, allocations: 6.242 MB / 0.6125 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5638, allocations: 1.531 kB / 0.6125 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.5683, allocations: 1.626 MB / 0.614 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.5687, allocations: 187.3 kB / 0.6142 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.5689, allocations: 6.969 kB / 0.6142 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.5695, allocations: 89.98 kB / 0.6143 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.5697, allocations: 32.72 kB / 0.6143 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.5697, allocations: 11.75 kB / 0.6144 GB, free: 12.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004607/0.5702, allocations: 313.4 kB / 0.6147 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5702, allocations: 1.156 kB / 0.6147 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001344/0.5716, allocations: 241.1 kB / 0.6149 GB, free: 12.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002425/0.5718, allocations: 115.8 kB / 0.615 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.5759, allocations: 2.265 MB / 0.6172 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5759, allocations: 0 / 0.6172 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.5773, allocations: 0.8333 MB / 0.618 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.578, allocations: 118.7 kB / 0.6181 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5801, allocations: 1.313 MB / 0.6194 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.5806, allocations: 0.9318 MB / 0.6203 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005793/0.5812, allocations: 157.2 kB / 0.6205 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5814, allocations: 36.72 kB / 0.6205 GB, free: 8.379 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5814, allocations: 0 / 0.6205 GB, free: 8.379 MB / 446.1 MB Notification: Performance of Templates: time 0.01934/0.6007, allocations: 13.92 MB / 0.6341 GB, free: 13.38 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)