Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.0009499, allocations: 98.97 kB / 16.02 MB, free: 80 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.0009156/0.0009157, allocations: 179.1 kB / 16.92 MB, free: 6.922 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 11.94 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 77.53 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003194/0.1553, allocations: 2.307 MB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.1583, allocations: 1.551 MB / 0.5637 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.1585, allocations: 4 kB / 0.5637 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1588, allocations: 23.78 kB / 0.5638 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007422/0.1595, allocations: 135.5 kB / 0.5639 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.1604, allocations: 178.4 kB / 0.5641 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.1612, allocations: 319.1 kB / 0.5644 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009057/0.1621, allocations: 238 kB / 0.5646 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.1624, allocations: 75.7 kB / 0.5647 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.1628, allocations: 99.64 kB / 0.5648 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1629, allocations: 4 kB / 0.5648 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.1635, allocations: 247.5 kB / 0.565 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1637, allocations: 63.8 kB / 0.5651 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1638, allocations: 105.2 kB / 0.5652 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.1645, allocations: 307.2 kB / 0.5655 GB, free: 3.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1645, allocations: 0 / 0.5655 GB, free: 3.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1645, allocations: 4 kB / 0.5655 GB, free: 3.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1645, allocations: 0 / 0.5655 GB, free: 3.332 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008348/0.1654, allocations: 443.3 kB / 0.5659 GB, free: 2.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1654, allocations: 8.031 kB / 0.5659 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/0.1663, allocations: 88.55 kB / 0.566 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1667, allocations: 228 kB / 0.5662 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1667, allocations: 16.59 kB / 0.5662 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.1668, allocations: 12.38 kB / 0.5662 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.1674, allocations: 295.6 kB / 0.5665 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1674, allocations: 0 / 0.5665 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1674, allocations: 4 kB / 0.5665 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.1675, allocations: 24.22 kB / 0.5665 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.1679, allocations: 224.4 kB / 0.5667 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.17, allocations: 1.599 MB / 0.5683 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.1704, allocations: 319.2 kB / 0.5686 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.1705, allocations: 57.69 kB / 0.5687 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1706, allocations: 8 kB / 0.5687 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.1706, allocations: 34.56 kB / 0.5687 GB, free: 15.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.1706, allocations: 0 / 0.5687 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006617/0.1713, allocations: 240.6 kB / 0.5689 GB, free: 15.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.1714, allocations: 77.11 kB / 0.569 GB, free: 15.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.1717, allocations: 216.4 kB / 0.5692 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1717, allocations: 29.7 kB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1718, allocations: 155.7 kB / 0.5694 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.1719, allocations: 39.48 kB / 0.5694 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.1719, allocations: 21.72 kB / 0.5694 GB, free: 14.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1721, allocations: 326.8 kB / 0.5698 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1723, allocations: 71.94 kB / 0.5698 GB, free: 14.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.1725, allocations: 159.1 kB / 0.57 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.1729, allocations: 236.3 kB / 0.5702 GB, free: 14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1729, allocations: 0 / 0.5702 GB, free: 14 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005612/0.1735, allocations: 279.8 kB / 0.5705 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.1736, allocations: 175.4 kB / 0.5706 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1737, allocations: 4 kB / 0.5706 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.1737, allocations: 8 kB / 0.5706 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.174, allocations: 55.89 kB / 0.5707 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.174, allocations: 4.469 kB / 0.5707 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.1743, allocations: 27.95 kB / 0.5707 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1743, allocations: 11.98 kB / 0.5707 GB, free: 13.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.1743, allocations: 4 kB / 0.5707 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004297/0.1747, allocations: 215.6 kB / 0.571 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1748, allocations: 4 kB / 0.571 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.1748, allocations: 8 kB / 0.571 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.175, allocations: 51.91 kB / 0.571 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.175, allocations: 7.984 kB / 0.571 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1752, allocations: 20.3 kB / 0.571 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1752, allocations: 12 kB / 0.5711 GB, free: 13.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.1754, allocations: 221 kB / 0.5713 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.1754, allocations: 15.81 kB / 0.5713 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1757, allocations: 147 kB / 0.5714 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1757, allocations: 0 / 0.5714 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1757, allocations: 3.938 kB / 0.5714 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1757, allocations: 0 / 0.5714 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000931/0.1766, allocations: 0.7276 MB / 0.5721 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1767, allocations: 4 kB / 0.5721 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1768, allocations: 19.98 kB / 0.5722 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.1768, allocations: 4 kB / 0.5722 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1768, allocations: 11.94 kB / 0.5722 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1768, allocations: 7.984 kB / 0.5722 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1768, allocations: 4 kB / 0.5722 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.1772, allocations: 378.3 kB / 0.5725 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.1773, allocations: 104.9 kB / 0.5726 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.1773, allocations: 11.98 kB / 0.5727 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1776, allocations: 7.984 kB / 0.5727 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1776, allocations: 19.88 kB / 0.5727 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1776, allocations: 4 kB / 0.5727 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1778, allocations: 163.9 kB / 0.5728 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1778, allocations: 0 / 0.5728 GB, free: 11.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.1784, allocations: 68 kB / 0.5729 GB, free: 11.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.1786, allocations: 111.2 kB / 0.573 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.1791, allocations: 272.1 kB / 0.5733 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1791, allocations: 3.938 kB / 0.5733 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.1792, allocations: 65.22 kB / 0.5733 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.1798, allocations: 34.92 kB / 0.5734 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007349/0.1805, allocations: 491.3 kB / 0.5738 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1809, allocations: 0.744 MB / 0.5746 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.1812, allocations: 85.45 kB / 0.5746 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.1812, allocations: 19.42 kB / 0.5747 GB, free: 9.137 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1812, allocations: 0 / 0.5747 GB, free: 9.137 MB / 446.1 MB Notification: Performance of Templates: time 0.004666/0.1859, allocations: 1.783 MB / 0.5764 GB, free: 7.379 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)