Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007758, allocations: 92.8 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.0009194/0.0009197, allocations: 182.2 kB / 16.92 MB, free: 6.684 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7366/0.7366, allocations: 115.5 MB / 407.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 8 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 77.54 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002718/0.1645, allocations: 2.12 MB / 0.562 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.1669, allocations: 1.548 MB / 0.5636 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.167, allocations: 0 / 0.5636 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.1672, allocations: 23.8 kB / 0.5636 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1676, allocations: 143.5 kB / 0.5637 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1681, allocations: 167.7 kB / 0.5639 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.1684, allocations: 315.1 kB / 0.5642 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.1689, allocations: 249.9 kB / 0.5644 GB, free: 4.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1691, allocations: 71.77 kB / 0.5645 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1693, allocations: 95.59 kB / 0.5646 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1694, allocations: 8 kB / 0.5646 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.1697, allocations: 255.4 kB / 0.5648 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1698, allocations: 55.88 kB / 0.5649 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.1699, allocations: 97.31 kB / 0.565 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.1703, allocations: 307.2 kB / 0.5653 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.1703, allocations: 0 / 0.5653 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1703, allocations: 3.938 kB / 0.5653 GB, free: 3.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1704, allocations: 0 / 0.5653 GB, free: 3.5 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.0006693/0.171, allocations: 443.3 kB / 0.5657 GB, free: 3.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1711, allocations: 12.03 kB / 0.5657 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007844/0.1719, allocations: 88.64 kB / 0.5658 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1721, allocations: 232 kB / 0.566 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1721, allocations: 8.656 kB / 0.566 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.1722, allocations: 12.38 kB / 0.566 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.1727, allocations: 295.6 kB / 0.5663 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1727, allocations: 3.938 kB / 0.5663 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.1727, allocations: 8 kB / 0.5663 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.1728, allocations: 16.22 kB / 0.5663 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.1732, allocations: 220.4 kB / 0.5665 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1751, allocations: 1.607 MB / 0.5681 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.1755, allocations: 315.3 kB / 0.5684 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.1757, allocations: 61.69 kB / 0.5685 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1757, allocations: 0 / 0.5685 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1757, allocations: 46.48 kB / 0.5685 GB, free: 15.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1757, allocations: 4 kB / 0.5685 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005927/0.1763, allocations: 240.8 kB / 0.5688 GB, free: 15.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1764, allocations: 81.11 kB / 0.5688 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1766, allocations: 199.5 kB / 0.569 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1767, allocations: 29.7 kB / 0.569 GB, free: 15.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.1767, allocations: 155.6 kB / 0.5692 GB, free: 15.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1768, allocations: 35.67 kB / 0.5692 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1768, allocations: 29.7 kB / 0.5693 GB, free: 15.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.177, allocations: 322.8 kB / 0.5696 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.1771, allocations: 79.89 kB / 0.5696 GB, free: 14.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1774, allocations: 159 kB / 0.5698 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1777, allocations: 234.9 kB / 0.57 GB, free: 14.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1777, allocations: 4 kB / 0.57 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004969/0.1782, allocations: 278 kB / 0.5703 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.1783, allocations: 179.6 kB / 0.5705 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1783, allocations: 480 / 0.5705 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1784, allocations: 4 kB / 0.5705 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1786, allocations: 55.91 kB / 0.5705 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1786, allocations: 11.88 kB / 0.5705 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.1789, allocations: 27.97 kB / 0.5706 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1789, allocations: 8 kB / 0.5706 GB, free: 13.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.1789, allocations: 4 kB / 0.5706 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003946/0.1793, allocations: 212.7 kB / 0.5708 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1794, allocations: 7.984 kB / 0.5708 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.1794, allocations: 4 kB / 0.5708 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1796, allocations: 48.03 kB / 0.5708 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1796, allocations: 11.94 kB / 0.5708 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1798, allocations: 19.92 kB / 0.5709 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1798, allocations: 16 kB / 0.5709 GB, free: 13.24 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.0001414/0.1799, allocations: 225.1 kB / 0.5711 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.18, allocations: 15.81 kB / 0.5711 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.1803, allocations: 143 kB / 0.5712 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1803, allocations: 0 / 0.5712 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.1803, allocations: 7.938 kB / 0.5712 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1803, allocations: 3.984 kB / 0.5712 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009154/0.1812, allocations: 0.7157 MB / 0.5719 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1812, allocations: 0 / 0.5719 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1814, allocations: 31.91 kB / 0.572 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1814, allocations: 4.344 kB / 0.572 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1814, allocations: 8 kB / 0.572 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1814, allocations: 0 / 0.572 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1814, allocations: 7.938 kB / 0.572 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.1817, allocations: 378.2 kB / 0.5724 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.1818, allocations: 108.9 kB / 0.5725 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1819, allocations: 4 kB / 0.5725 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1821, allocations: 15.98 kB / 0.5725 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.1821, allocations: 15.92 kB / 0.5725 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1821, allocations: 4 kB / 0.5725 GB, free: 11.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.1823, allocations: 160.8 kB / 0.5727 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1823, allocations: 0 / 0.5727 GB, free: 11.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.1829, allocations: 72 kB / 0.5727 GB, free: 11.18 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.0001571/0.183, allocations: 115.1 kB / 0.5728 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1836, allocations: 270.2 kB / 0.5731 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1836, allocations: 8.062 kB / 0.5731 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.1837, allocations: 59.83 kB / 0.5732 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.1842, allocations: 27.98 kB / 0.5732 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.1849, allocations: 0.4957 MB / 0.5737 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1852, allocations: 0.7363 MB / 0.5744 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000247/0.1854, allocations: 85.44 kB / 0.5745 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.1855, allocations: 15.44 kB / 0.5745 GB, free: 9.297 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1855, allocations: 0 / 0.5745 GB, free: 9.297 MB / 446.1 MB Notification: Performance of Templates: time 0.004472/0.19, allocations: 1.789 MB / 0.5762 GB, free: 7.531 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)