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.001146/0.001147, allocations: 110 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 62.31 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 76.19 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003448/0.1578, allocations: 2.397 MB / 0.6344 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1602, allocations: 1.578 MB / 0.636 GB, free: 444 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.1603, allocations: 8 kB / 0.636 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.161, allocations: 173.8 kB / 0.6361 GB, free: 264 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.1613, allocations: 151.3 kB / 0.6363 GB, free: 112 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1617, allocations: 183.5 kB / 0.6365 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.162, allocations: 215.3 kB / 0.6367 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.1622, allocations: 129 kB / 0.6368 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1624, allocations: 87.62 kB / 0.6369 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1626, allocations: 111.6 kB / 0.637 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1626, allocations: 12 kB / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.163, allocations: 207.7 kB / 0.6372 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.1631, allocations: 63.81 kB / 0.6372 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.1632, allocations: 87.53 kB / 0.6373 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1635, allocations: 303.1 kB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1636, allocations: 0 / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1636, allocations: 0 / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1636, allocations: 0 / 0.6376 GB, free: 14.74 MB / 494.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.0006778/0.1643, allocations: 483.1 kB / 0.6381 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1643, allocations: 8.031 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007962/0.1651, allocations: 84.64 kB / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1654, allocations: 228 kB / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1654, allocations: 12.66 kB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.1655, allocations: 16.36 kB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.166, allocations: 303.5 kB / 0.6387 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.166, allocations: 0 / 0.6387 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.166, allocations: 7.984 kB / 0.6387 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.1661, allocations: 20.23 kB / 0.6387 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.1665, allocations: 224.4 kB / 0.6389 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1683, allocations: 1.591 MB / 0.6405 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.1687, allocations: 319.3 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.1688, allocations: 65.67 kB / 0.6409 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1688, allocations: 0 / 0.6409 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1688, allocations: 42.69 kB / 0.6409 GB, free: 11.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1688, allocations: 0 / 0.6409 GB, free: 11.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005609/0.1694, allocations: 240.7 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1695, allocations: 81.11 kB / 0.6412 GB, free: 10.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1697, allocations: 211.3 kB / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1697, allocations: 25.7 kB / 0.6414 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.1698, allocations: 163.6 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1699, allocations: 35.66 kB / 0.6416 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.1699, allocations: 57.62 kB / 0.6417 GB, free: 10.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1701, allocations: 322.8 kB / 0.642 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1702, allocations: 72.81 kB / 0.6421 GB, free: 9.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.1704, allocations: 162.6 kB / 0.6422 GB, free: 9.598 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.1708, allocations: 246.9 kB / 0.6424 GB, free: 9.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1708, allocations: 4 kB / 0.6425 GB, free: 9.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004875/0.1713, allocations: 273.4 kB / 0.6427 GB, free: 9.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1713, allocations: 11.94 kB / 0.6427 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1714, allocations: 4 kB / 0.6427 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1714, allocations: 7.938 kB / 0.6427 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.1716, allocations: 51.91 kB / 0.6428 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1717, allocations: 11.92 kB / 0.6428 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.1719, allocations: 19.98 kB / 0.6428 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.172, allocations: 11.94 kB / 0.6428 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002216/0.1722, allocations: 172.6 kB / 0.643 GB, free: 8.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000184/0.1724, allocations: 151.9 kB / 0.6431 GB, free: 8.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000274/0.1727, allocations: 219.8 kB / 0.6433 GB, free: 8.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.1727, allocations: 0 / 0.6433 GB, free: 8.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000454/0.1731, allocations: 261 kB / 0.6436 GB, free: 8.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.1731, allocations: 4 kB / 0.6436 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1732, allocations: 4 kB / 0.6436 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.1732, allocations: 4.406 kB / 0.6436 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1734, allocations: 59.91 kB / 0.6437 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1734, allocations: 7.938 kB / 0.6437 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1736, allocations: 15.98 kB / 0.6437 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1737, allocations: 15.98 kB / 0.6437 GB, free: 7.93 MB / 494.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.0001113/0.1738, allocations: 192.1 kB / 0.6439 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.1738, allocations: 11.81 kB / 0.6439 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.1741, allocations: 147 kB / 0.644 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1741, allocations: 7.938 kB / 0.644 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1741, allocations: 0 / 0.644 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1741, allocations: 3.984 kB / 0.644 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/0.1751, allocations: 0.7196 MB / 0.6447 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1751, allocations: 4 kB / 0.6448 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1752, allocations: 27.91 kB / 0.6448 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1752, allocations: 4 kB / 0.6448 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1752, allocations: 8 kB / 0.6448 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1752, allocations: 4 kB / 0.6448 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1753, allocations: 4.344 kB / 0.6448 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1756, allocations: 374.2 kB / 0.6452 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.1757, allocations: 116.8 kB / 0.6453 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1757, allocations: 8 kB / 0.6453 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1759, allocations: 11.98 kB / 0.6453 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.176, allocations: 23.86 kB / 0.6453 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.176, allocations: 8.047 kB / 0.6453 GB, free: 6.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1762, allocations: 156.8 kB / 0.6455 GB, free: 5.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1762, allocations: 0 / 0.6455 GB, free: 5.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000517/0.1767, allocations: 68 kB / 0.6455 GB, free: 5.887 MB / 494.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.0001308/0.1768, allocations: 115.2 kB / 0.6456 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.1773, allocations: 272.9 kB / 0.6459 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1774, allocations: 0 / 0.6459 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.1775, allocations: 72.39 kB / 0.646 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1779, allocations: 32.14 kB / 0.646 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.1786, allocations: 418.9 kB / 0.6464 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1789, allocations: 0.7324 MB / 0.6471 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.1791, allocations: 77.45 kB / 0.6472 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1792, allocations: 23.44 kB / 0.6472 GB, free: 4.074 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1792, allocations: 0 / 0.6472 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Templates: time 0.004595/0.1838, allocations: 1.907 MB / 0.6491 GB, free: 2.176 MB / 494.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)