Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009937, allocations: 96.81 kB / 15.68 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.000976/0.0009763, allocations: 174.4 kB / 16.56 MB, free: 6.387 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.441/1.441, allocations: 223.2 MB / 240.5 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.6947/0.6947, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 8 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003125/0.1672, allocations: 2.584 MB / 0.5594 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1699, allocations: 1.744 MB / 0.5611 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.1701, allocations: 3.938 kB / 0.5611 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.1702, allocations: 35.77 kB / 0.5611 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.1707, allocations: 127.6 kB / 0.5612 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1713, allocations: 167.5 kB / 0.5614 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1715, allocations: 191.5 kB / 0.5616 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000583/0.1721, allocations: 305.9 kB / 0.5619 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1723, allocations: 99.61 kB / 0.562 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1725, allocations: 103.6 kB / 0.5621 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1725, allocations: 8 kB / 0.5621 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.173, allocations: 251.6 kB / 0.5623 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.1731, allocations: 67.8 kB / 0.5624 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.1731, allocations: 69.58 kB / 0.5624 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.1735, allocations: 347.2 kB / 0.5628 GB, free: 5.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1735, allocations: 0 / 0.5628 GB, free: 5.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1735, allocations: 0 / 0.5628 GB, free: 5.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1735, allocations: 0 / 0.5628 GB, free: 5.496 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007909/0.1743, allocations: 0.5223 MB / 0.5633 GB, free: 4.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1744, allocations: 19.95 kB / 0.5633 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.1752, allocations: 123.6 kB / 0.5634 GB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.1756, allocations: 258.6 kB / 0.5637 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1757, allocations: 12.44 kB / 0.5637 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1757, allocations: 19.98 kB / 0.5637 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.1763, allocations: 352.9 kB / 0.564 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1764, allocations: 0 / 0.564 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.1764, allocations: 19.97 kB / 0.564 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.1765, allocations: 20.42 kB / 0.5641 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.1769, allocations: 293.5 kB / 0.5643 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.1793, allocations: 1.737 MB / 0.566 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.1797, allocations: 322 kB / 0.5663 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.1799, allocations: 85.09 kB / 0.5664 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1799, allocations: 42.55 kB / 0.5665 GB, free: 1.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1799, allocations: 0 / 0.5665 GB, free: 1.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.002451/0.1824, allocations: 0.9795 MB / 0.5674 GB, free: 356 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1825, allocations: 81.3 kB / 0.5675 GB, free: 256 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1827, allocations: 216.4 kB / 0.5677 GB, free: 28 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/0.1827, allocations: 29.7 kB / 0.5677 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1829, allocations: 172.1 kB / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.1829, allocations: 82.78 kB / 0.568 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.183, allocations: 8 kB / 0.568 GB, free: 15.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1831, allocations: 330.8 kB / 0.5683 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1833, allocations: 131.9 kB / 0.5684 GB, free: 15.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.1835, allocations: 201.4 kB / 0.5686 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.1838, allocations: 167.8 kB / 0.5688 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1838, allocations: 0 / 0.5688 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008114/0.1846, allocations: 0.5006 MB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1846, allocations: 4 kB / 0.5693 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1846, allocations: 4 kB / 0.5693 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.1852, allocations: 151.3 kB / 0.5694 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.1854, allocations: 63.98 kB / 0.5695 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.1882, allocations: 3.993 MB / 0.5734 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1884, allocations: 15.98 kB / 0.5734 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.1884, allocations: 19.98 kB / 0.5734 GB, free: 9.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.1886, allocations: 159.7 kB / 0.5736 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.1887, allocations: 23.77 kB / 0.5736 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008178/0.1895, allocations: 477.7 kB / 0.574 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1895, allocations: 4 kB / 0.574 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1895, allocations: 96 / 0.574 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1895, allocations: 3.938 kB / 0.5741 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.191, allocations: 1.017 MB / 0.575 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.191, allocations: 4 kB / 0.5751 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1911, allocations: 27.98 kB / 0.5751 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.1915, allocations: 151.5 kB / 0.5752 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1916, allocations: 4 kB / 0.5752 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.1944, allocations: 3.973 MB / 0.5791 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1944, allocations: 4.281 kB / 0.5791 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.1953, allocations: 0.7307 MB / 0.5798 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1955, allocations: 124.8 kB / 0.5799 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1955, allocations: 11.98 kB / 0.58 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1958, allocations: 23.98 kB / 0.58 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.1958, allocations: 35.89 kB / 0.58 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1958, allocations: 8 kB / 0.58 GB, free: 2.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.196, allocations: 149.5 kB / 0.5802 GB, free: 2.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.196, allocations: 0 / 0.5802 GB, free: 2.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.1966, allocations: 91.98 kB / 0.5802 GB, free: 2.207 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/0.1968, allocations: 139.8 kB / 0.5804 GB, free: 2.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008911/0.1977, allocations: 0.5556 MB / 0.5809 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.1978, allocations: 4.625 kB / 0.5809 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.1982, allocations: 401.2 kB / 0.5813 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1986, allocations: 41.59 kB / 0.5814 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1996, allocations: 0.7285 MB / 0.5821 GB, free: 240 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2863/0.4859, allocations: 0.7788 MB / 0.5828 GB, free: 31.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.4862, allocations: 56.42 kB / 0.5829 GB, free: 31.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.4863, allocations: 22.31 kB / 0.5829 GB, free: 31.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.174e-06/0.4863, allocations: 1.094 kB / 0.5829 GB, free: 31.87 MB / 446.1 MB Notification: Performance of Templates: time 0.01004/0.4964, allocations: 3.86 MB / 0.5867 GB, free: 31.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)