Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, 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.001623/0.001623, allocations: 176.6 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.409/1.409, allocations: 223.3 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6934/0.6934, allocations: 115.5 MB / 407.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 8 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 77.54 MB / 0.5593 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004797/0.1678, allocations: 3.808 MB / 0.563 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.1707, allocations: 1.742 MB / 0.5647 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.171, allocations: 11.94 kB / 0.5648 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1713, allocations: 75.41 kB / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.1719, allocations: 206.9 kB / 0.565 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.1725, allocations: 190.3 kB / 0.5652 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.1733, allocations: 0.6774 MB / 0.5659 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.1738, allocations: 384.9 kB / 0.5662 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.1742, allocations: 203.2 kB / 0.5664 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.1746, allocations: 251 kB / 0.5667 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.1747, allocations: 20 kB / 0.5667 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.175, allocations: 123.8 kB / 0.5668 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1751, allocations: 123.6 kB / 0.5669 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.1752, allocations: 101.5 kB / 0.567 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.1757, allocations: 463 kB / 0.5675 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1757, allocations: 0 / 0.5675 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1757, allocations: 0 / 0.5675 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1757, allocations: 4 kB / 0.5675 GB, free: 0.9844 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001008/0.1767, allocations: 0.6611 MB / 0.5681 GB, free: 284 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1767, allocations: 12.03 kB / 0.5681 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.1777, allocations: 151.3 kB / 0.5683 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1781, allocations: 317.4 kB / 0.5686 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1781, allocations: 21 kB / 0.5686 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.1782, allocations: 40 kB / 0.5686 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.1789, allocations: 0.5275 MB / 0.5691 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1789, allocations: 3.938 kB / 0.5691 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.179, allocations: 16 kB / 0.5692 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.179, allocations: 36.62 kB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.1796, allocations: 386.3 kB / 0.5696 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.182, allocations: 2.411 MB / 0.5719 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.1825, allocations: 262.5 kB / 0.5722 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1826, allocations: 112.8 kB / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1827, allocations: 0 / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1827, allocations: 34.56 kB / 0.5723 GB, free: 11.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.1827, allocations: 0 / 0.5723 GB, free: 11.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001972/0.1847, allocations: 1.134 MB / 0.5734 GB, free: 10.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1847, allocations: 55.41 kB / 0.5735 GB, free: 10.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.185, allocations: 292.5 kB / 0.5738 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1851, allocations: 37.64 kB / 0.5738 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1852, allocations: 235.5 kB / 0.574 GB, free: 9.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.1853, allocations: 82.84 kB / 0.5741 GB, free: 9.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.1853, allocations: 8 kB / 0.5741 GB, free: 9.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1854, allocations: 342.8 kB / 0.5744 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1856, allocations: 104.6 kB / 0.5745 GB, free: 9.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1858, allocations: 180.5 kB / 0.5747 GB, free: 9.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.186, allocations: 134.7 kB / 0.5748 GB, free: 8.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.186, allocations: 0 / 0.5748 GB, free: 8.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007076/0.1867, allocations: 446.9 kB / 0.5753 GB, free: 8.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1867, allocations: 4.344 kB / 0.5753 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1868, allocations: 8 kB / 0.5753 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.1871, allocations: 90.5 kB / 0.5754 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.1874, allocations: 59.91 kB / 0.5754 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.1902, allocations: 4.068 MB / 0.5794 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1904, allocations: 11.98 kB / 0.5794 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1905, allocations: 16 kB / 0.5794 GB, free: 3.785 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.1906, allocations: 181.9 kB / 0.5796 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1907, allocations: 27.72 kB / 0.5796 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.1908, allocations: 42.31 kB / 0.5796 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1908, allocations: 4 kB / 0.5797 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1908, allocations: 0 / 0.5797 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1908, allocations: 0 / 0.5797 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1912, allocations: 405.3 kB / 0.58 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1912, allocations: 0 / 0.58 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1914, allocations: 43.91 kB / 0.5801 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.1917, allocations: 94.53 kB / 0.5802 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1918, allocations: 4 kB / 0.5802 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2645/0.4563, allocations: 4.059 MB / 0.5841 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4563, allocations: 0.5312 kB / 0.5841 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.4572, allocations: 0.5524 MB / 0.5847 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4574, allocations: 126.9 kB / 0.5848 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.4574, allocations: 5.906 kB / 0.5848 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.4576, allocations: 13.8 kB / 0.5848 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.4577, allocations: 18.33 kB / 0.5848 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4577, allocations: 5.062 kB / 0.5848 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.458, allocations: 211.6 kB / 0.585 GB, free: 28.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.458, allocations: 0 / 0.585 GB, free: 28.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.4585, allocations: 97 kB / 0.5851 GB, free: 28.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.4586, allocations: 108.3 kB / 0.5852 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.4594, allocations: 0.6135 MB / 0.5858 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4595, allocations: 0 / 0.5858 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.4599, allocations: 472.1 kB / 0.5863 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.4604, allocations: 72.66 kB / 0.5864 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4615, allocations: 0.8543 MB / 0.5872 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4618, allocations: 0.8322 MB / 0.588 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.4621, allocations: 60.88 kB / 0.5881 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.4622, allocations: 23.59 kB / 0.5881 GB, free: 26.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4622, allocations: 0 / 0.5881 GB, free: 26.25 MB / 446.1 MB Notification: Performance of Templates: time 0.009587/0.4718, allocations: 4.107 MB / 0.5921 GB, free: 26.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)